Add explicit JSON tool-call protocol for local providers, improve parsing of JSON-only tool calls, and add heuristic routing to MCP-capable profiles for repo/PR intents. Also document and mount local-cloned MCP servers and expand MCP env var handling. Made-with: Cursor
Local MCP servers
This repo uses a local-clone policy for MCP servers: clone upstream repos into ./mcp-servers/ and run them from disk (instead of fetching from npm/PyPI at runtime).
Gitea MCP
- Upstream:
https://gitea.com/gitea/gitea-mcp.git - Local path:
mcp-servers/gitea-mcp/ - Binary:
mcp-servers/gitea-mcp/gitea-mcp
Build it with:
./scripts/setup-mcp-servers.sh gitea
Then configure nanobot (example):
{
"tools": {
"mcpServers": {
"gitea": {
"command": "./mcp-servers/gitea-mcp/gitea-mcp",
"args": ["-t", "stdio", "--host", "http://10.0.30.169:3000"],
"env": {
"GITEA_ACCESS_TOKEN": "$NANOBOT_GITLE_TOKEN"
}
}
}
}
}