- Add new 'network' transport mode that serves both HTTP and SSE endpoints simultaneously - HTTP endpoint available on specified port (/mcp) - SSE endpoint available on port+1 (/sse) - Maintain backward compatibility with stdio, http, sse modes - Update documentation and examples for new network mode - Default to network mode for improved user experience 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
497 B
JSON
22 lines
497 B
JSON
{
|
|
"mcpServers": {
|
|
"gitea-stdio": {
|
|
"command": "gitea-mcp",
|
|
"args": {
|
|
"-t": "stdio",
|
|
"--host": "https://gitea.com",
|
|
"--token": "<your personal access token>"
|
|
},
|
|
"env": {
|
|
"GITEA_HOST": "https://gitea.com",
|
|
"GITEA_ACCESS_TOKEN": "<your personal access token>"
|
|
}
|
|
},
|
|
"gitea-network-http": {
|
|
"url": "http://localhost:8080/mcp"
|
|
},
|
|
"gitea-network-sse": {
|
|
"url": "http://localhost:8081/sse"
|
|
}
|
|
}
|
|
} |