Skip to content

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/mcp

Add the URL to your MCP client. The first request opens an OAuth flow in your browser. Approve it once and you are set.

Terminal window
claude mcp add --transport http codebahn https://codebahn.net/mcp

Run /mcp to check status.

Terminal window
codex mcp add codebahn --url https://codebahn.net/mcp

Create .vscode/mcp.json in your project root:

{
"servers": {
"codebahn": {
"type": "http",
"url": "https://codebahn.net/mcp"
}
}
}

Create .cursor/mcp.json in your project root:

{
"mcpServers": {
"codebahn": {
"type": "http",
"url": "https://codebahn.net/mcp"
}
}
}

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 validateToken across 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/notifications from main”

The server exposes 54 tools across code, branches, issues, pull requests (including reviews), search, and CI.

Visit Settings > Applications to see authorized OAuth applications and revoke any of them.

ErrorFix
OAuth popup does not appearCheck that your browser allows popups from codebahn.net.
HTTP 401Token expired or revoked. Remove and re-add the server to trigger a fresh OAuth flow.
HTTP 403Your account lacks permission for that operation. Check the repository’s team settings.
Incompatible auth serverYour MCP client does not support OAuth discovery. Update to the latest version.
Tool not foundCheck the server URL and client config. In Claude Code, /mcp lists connected servers.