feat: add network mode with combined HTTP and SSE endpoints
- 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>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"gitea": {
|
||||
"gitea-stdio": {
|
||||
"command": "gitea-mcp",
|
||||
"args": {
|
||||
"-t": "stdio",
|
||||
@@ -11,6 +11,12 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user