summaryrefslogtreecommitdiff
path: root/servers/gitlab_glab/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'servers/gitlab_glab/README.md')
-rw-r--r--servers/gitlab_glab/README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/servers/gitlab_glab/README.md b/servers/gitlab_glab/README.md
index 55ac6bb..50926fb 100644
--- a/servers/gitlab_glab/README.md
+++ b/servers/gitlab_glab/README.md
@@ -78,6 +78,47 @@ The function returns a list of matching projects, each containing the following
- `web_url`: The project web URL
- `description`: The project description
+### search_issues
+
+Search for GitLab issues with various filters.
+
+```python
+result = use_mcp_tool(
+ server_name="gitlab_glab",
+ tool_name="search_issues",
+ arguments={
+ "working_directory": "/path/to/current/directory",
+ # Optional filters
+ "author": "username", # Filter by author
+ "assignee": "username", # Filter by assignee
+ "closed": True, # Get only closed issues
+ "confidential": True, # Filter by confidential issues
+ "group": "group-name", # Select a group or subgroup
+ "issue_type": "issue", # Filter by type: issue, incident, test_case
+ "iteration": 123, # Filter by iteration ID
+ "label": ["bug", "critical"], # Filter by labels
+ "milestone": "v1.0", # Filter by milestone
+ "not_assignee": "username", # Filter by not being assigned to
+ "not_author": "username", # Filter by not being authored by
+ "not_label": ["wontfix"], # Filter by lack of labels
+ "page": 1, # Page number (default: 1)
+ "per_page": 30, # Items per page (default: 30)
+ "project": "group/project" # Project path with namespace
+ }
+)
+```
+
+The function returns a dictionary containing:
+- `issues`: A list of issues, each with:
+ - `id`: The issue ID
+ - `iid`: The internal issue ID
+ - `title`: The issue title
+ - `web_url`: The issue URL
+ - `state`: The issue state (opened/closed)
+ - `created_at`: Creation timestamp
+ - `updated_at`: Last update timestamp
+- `error`: Error message if the operation failed
+
### create_issue
Creates a new GitLab issue and returns its URL.