37 lines
1013 B
JSON
37 lines
1013 B
JSON
{
|
|
"tree": [
|
|
{
|
|
"path": "/repo",
|
|
"type": "node",
|
|
"summary": "Repository operations",
|
|
"children": [
|
|
{
|
|
"path": "/repo/read",
|
|
"type": "node",
|
|
"summary": "Read repository data",
|
|
"source": {
|
|
"backend": "stdio",
|
|
"command": "/opt/gitea-mcp/gitea-mcp --host ${GITEA_URL} --token ${GITEA_TOKEN}",
|
|
"tool_filter": ["get_*", "list_*", "search_*", "!delete_*", "!create_*"],
|
|
"path_aliases": {
|
|
"get_file_contents": "get_file"
|
|
},
|
|
"tool_overrides": {
|
|
"get_file_contents": {
|
|
"summary": "Read one file from a repository",
|
|
"max_output_chars": 12000,
|
|
"example_args": {
|
|
"owner": "myorg",
|
|
"repo": "demo-repo",
|
|
"ref": "main",
|
|
"filePath": "README.md"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|