Skip to content

Fix 790 separate issues from prs #853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,15 +539,15 @@ The following sets of tools are available (all are on by default):
- `repo`: Repository name (string, required)

- **list_issues** - List issues
- `direction`: Sort direction (string, optional)
- `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
- `direction`: Order direction. If provided, the 'orderBy' also needs to be provided. (string, optional)
- `labels`: Filter by labels (string[], optional)
- `orderBy`: Order issues by field. If provided, the 'direction' also needs to be provided. (string, optional)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)
- `since`: Filter by date (ISO 8601 timestamp) (string, optional)
- `sort`: Sort order (string, optional)
- `state`: Filter by state (string, optional)
- `state`: Filter by state, by default both open and closed issues are returned when not provided (string, optional)

- **list_sub_issues** - List sub-issues
- `issue_number`: Issue number (number, required)
Expand Down
Binary file added github-mcp-server
Binary file not shown.
42 changes: 20 additions & 22 deletions pkg/github/__toolsnaps__/list_issues.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
"title": "List issues",
"readOnlyHint": true
},
"description": "List issues in a GitHub repository.",
"description": "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.",
"inputSchema": {
"properties": {
"after": {
"description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.",
"type": "string"
},
"direction": {
"description": "Sort direction",
"description": "Order direction. If provided, the 'orderBy' also needs to be provided.",
"enum": [
"asc",
"desc"
"ASC",
"DESC"
],
"type": "string"
},
Expand All @@ -21,15 +25,19 @@
},
"type": "array"
},
"orderBy": {
"description": "Order issues by field. If provided, the 'direction' also needs to be provided.",
"enum": [
"CREATED_AT",
"UPDATED_AT",
"COMMENTS"
],
"type": "string"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
Expand All @@ -44,21 +52,11 @@
"description": "Filter by date (ISO 8601 timestamp)",
"type": "string"
},
"sort": {
"description": "Sort order",
"enum": [
"created",
"updated",
"comments"
],
"type": "string"
},
"state": {
"description": "Filter by state",
"description": "Filter by state, by default both open and closed issues are returned when not provided",
"enum": [
"open",
"closed",
"all"
"OPEN",
"CLOSED"
],
"type": "string"
}
Expand Down
Loading
Loading