HTTP transport mode returns "Invalid session ID" for all MCP requests #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When using HTTP transport mode (-t http), all MCP tool calls return "Invalid session ID" instead of executing operations. This affects both individual HTTP mode and the HTTP endpoint in network mode.
Environment
Steps to Reproduce
gitea-mcp -t http --host https://gitea.ext.ben.io --token <token> --port 8080curl -X POST http://localhost:8080/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"list_my_repos","arguments":{"page":1,"pageSize":2}},"id":1}'Expected vs Actual
Working Comparison
Same request works perfectly in stdio mode returning full JSON with repository data.
Technical Details
Impact
Investigation Areas
Priority
Medium - HTTP functionality broken but stdio/SSE workarounds available