Files
github--github-mcp-server/pkg/github/__toolsnaps__/list_projects.snap
JoannaaKL 23630b3744 Add ListProjects tool (#1113)
* Bump go-viper/mapstructure

* Update github.com/go-viper/mapstructure/v2 version in licenses

* Add tool to list projects

* Fix ordering
2025-09-22 16:48:51 +02:00

45 lines
1.2 KiB
Plaintext

{
"annotations": {
"title": "List projects",
"readOnlyHint": true
},
"description": "List Projects for a user or organization",
"inputSchema": {
"properties": {
"after": {
"description": "Cursor for items after (forward pagination)",
"type": "string"
},
"before": {
"description": "Cursor for items before (backwards pagination)",
"type": "string"
},
"owner": {
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == organization it is the name of the organization. The name is not case sensitive.",
"type": "string"
},
"owner_type": {
"description": "Owner type",
"enum": [
"user",
"organization"
],
"type": "string"
},
"per_page": {
"description": "Number of results per page (max 100, default: 30)",
"type": "number"
},
"query": {
"description": "Filter projects by a search query (matches title and description)",
"type": "string"
}
},
"required": [
"owner_type",
"owner"
],
"type": "object"
},
"name": "list_projects"
}