# Codebahn

> Codebahn is an MCP server for developer tools. Hosted MCP server with 103 tools for Codebahn repos, issues, pull requests and CI. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, CLI, Web
- **Repository:** https://github.com/codebahn/codebahn-cli
- **MCP Registry name:** io.github.codebahn/codebahn
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-16

## About

Codebahn is a Git and CI platform that presents itself as a private GitHub alternative: a Swedish company on EU-only infrastructure, built on Forgejo, which says it stores and serves code without scanning it or training on it. Its hosted MCP endpoint lets coding agents work with repositories, issues, pull requests and CI runs.

The README says a shared tools package is the single source for both the command-line client and the MCP endpoint, giving 103 tools with one set of types. Sign-in is OAuth, discovered through a well-known protected-resource document, so you add the URL and approve in your browser. Setup lines are given for Claude Code, Codex, VS Code and Cursor.

The companion CLI is a single MIT-licensed Go binary with groups for repos, issues, pull requests, CI, releases, webhooks, branch protection and search. Its releases are signed with GPG and hosted on the vendor's own EU storage rather than GitHub.

## Features

- **103 shared tools:** Uses one tool set for both the CLI and the MCP endpoint.
- **Pull request review:** Lists commits, diffs and reviews and merges with a chosen style.
- **CI control:** Dispatches workflows, lists runs and reads logs.
- **OAuth sign-in:** Approves access in the browser with no key to paste.
- **Signed releases:** Verifies SHA256 checksums and a GPG signature on updates.
- **EU hosting:** Runs on EU-only infrastructure per the vendor.

## Good for

- Review a pull request commit by commit
- Dispatch a CI workflow and read its logs
- Open an issue from an agent session
- Search code across repositories
- Merge a pull request with squash

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http codebahn https://codebahn.net/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://codebahn.net/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "codebahn": {
      "url": "https://codebahn.net/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "codebahn": {
      "serverUrl": "https://codebahn.net/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://codebahn.net/mcp
```

Enter a Name (for example "Codebahn"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### How do I connect it?

Add https://codebahn.net/mcp to your MCP client and approve the OAuth prompt in your browser.

### Is the CLI open source?

Yes, under the MIT licence.

### Where is it hosted?

The README says on EU-only infrastructure, with every sub-processor EU-incorporated.

### What is it built on?

Forgejo, according to the README.

### How do I add Codebahn to Claude Code?

Run this command in your terminal: claude mcp add --transport http codebahn https://codebahn.net/mcp

### What are the best alternatives to Codebahn?

The closest alternatives to Codebahn are Git MCP Server, Git MCP, cubic, codai and EmpireGit.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Git MCP Server](https://ai-powered.com/mcp/git-mcp-server): Git MCP Server is an open-source MCP server for developer tools.
- [Git MCP](https://ai-powered.com/mcp/git-mcp): Git MCP is an open-source MCP server for developer tools.
- [cubic](https://ai-powered.com/mcp/cubic): cubic is an MCP server for developer tools.
- [codai](https://ai-powered.com/mcp/codai): codai is an MCP server for ai models and llm tooling.
- [EmpireGit](https://ai-powered.com/mcp/empiregit): EmpireGit is a freemium MCP server for developer tools.
- [GitHub CI/CD MCP Server](https://ai-powered.com/mcp/github-ci-cd-mcp-server): GitHub CI/CD MCP Server is an open-source MCP server for developer tools.
- [Git Diff Mcp](https://ai-powered.com/mcp/git-diff-mcp): Git Diff Mcp is a freemium MCP server for developer tools.
- [Bitbucket MCP](https://ai-powered.com/mcp/bitbucket-mcp-4): Bitbucket MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/codebahn
