# 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: ```bash ./scripts/setup-mcp-servers.sh gitea ``` Then configure nanobot (example): ```jsonc { "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" } } } } } ```