MCP server
The Codebahn MCP server lets AI assistants work with your repositories, issues, pull requests, and CI through the Model Context Protocol. Manage code, review diffs, search across repos, and trigger builds, in natural language.
https://codebahn.net/mcpConnect
Section titled “Connect”Add the URL to your MCP client. The first request opens an OAuth flow in your browser. Approve it once and you are set.
Claude Code
Section titled “Claude Code”claude mcp add --transport http codebahn https://codebahn.net/mcpRun /mcp to check status.
codex mcp add codebahn --url https://codebahn.net/mcpVS Code (Copilot)
Section titled “VS Code (Copilot)”Create .vscode/mcp.json in your project root:
{ "servers": { "codebahn": { "type": "http", "url": "https://codebahn.net/mcp" } }}Cursor
Section titled “Cursor”Create .cursor/mcp.json in your project root:
{ "mcpServers": { "codebahn": { "type": "http", "url": "https://codebahn.net/mcp" } }}What you can do
Section titled “What you can do”Once connected, the assistant has full read and write access to everything your account can reach. Ask it things like:
- “List my repositories on Codebahn”
- “Show the open pull requests on acme/backend”
- “What changed in PR #42?”
- “Create an issue titled ‘Fix login redirect’ on acme/frontend”
- “Open a pull request from feat/notifications into main on acme/backend”
- “Review the diff on PR #17 and leave comments”
- “Merge PR #42 with squash”
- “Search for usages of
validateTokenacross all my repos” - “Trigger the CI workflow on main”
- “Show the build logs for the latest failed run”
- “Cancel the in-progress CI run”
- “Create a branch called
feat/notificationsfrom main”
The server exposes 54 tools across code, branches, issues, pull requests (including reviews), search, and CI.
Manage connections
Section titled “Manage connections”Visit Settings > Applications to see authorized OAuth applications and revoke any of them.
Troubleshooting
Section titled “Troubleshooting”| Error | Fix |
|---|---|
| OAuth popup does not appear | Check that your browser allows popups from codebahn.net. |
| HTTP 401 | Token expired or revoked. Remove and re-add the server to trigger a fresh OAuth flow. |
| HTTP 403 | Your account lacks permission for that operation. Check the repository’s team settings. |
Incompatible auth server | Your MCP client does not support OAuth discovery. Update to the latest version. |
| Tool not found | Check the server URL and client config. In Claude Code, /mcp lists connected servers. |

