Serveur MCP Codebahn
Commit 5 nov. 2026Connects AI coding agents to your private repositories, issues, pull requests, and CI workflows.
Aussi connu sous codebahn/codebahn-cli, codebahn-cli
- Étoiles
- 0
- Outils
- —
- Téléchargements, 30 jours
- —
- Dernière version
- 0.4.3
- Dernier commit
- 5 nov. 2026
- Licence
- MIT
Qu'est-ce que Codebahn MCP ?
Codebahn est un serveur MCP. Connects AI coding agents to your private repositories, issues, pull requests, and CI workflows.
Résumé généré à partir du README du projet
À propos du MCP server Codebahn
Codebahn provides a hosted MCP server that connects AI coding agents to private repositories, issues, pull requests, and CI workflows. It is designed for developers and teams who require a private Git alternative with EU-only infrastructure. The server operates via an HTTP transport, allowing integration with clients like Claude Code, Codex, Cursor, and VS Code through specific configuration files or command-line additions.
Users authenticate using OAuth through a browser-based prompt during the initial setup. Once connected, the server provides access to over 100 tools that manage various development tasks. These include repository operations like reading files and diffs, issue management through comments and labels, pull request workflows including merging and reviews, and CI capabilities such as dispatching workflows or reading logs. The system is built on Forgejo and ensures that code is stored and served without being scanned or used for training.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer Codebahn MCP
Formats vérifiés le 10 nov. 2026Ajouter à CursorAjouter à GooseInstaller Codebahn MCP dans Claude Code
$ claude mcp add --transport http codebahn-cli https://codebahn.net/mcpInstaller Codebahn MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"codebahn-cli": {
"url": "https://codebahn.net/mcp"
}
}
}Installer Codebahn MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"codebahn-cli": {
"type": "http",
"url": "https://codebahn.net/mcp"
}
}
}Installer Codebahn MCP dans VS Code CLI
$ code --add-mcp '{"name":"codebahn-cli","type":"http","url":"https://codebahn.net/mcp"}'Installer Codebahn MCP dans Codex
$ codex mcp add codebahn-cli --url https://codebahn.net/mcpInstaller Codebahn MCP dans Codex config.toml
~/.codex/config.toml
[mcp_servers.codebahn-cli] url = "https://codebahn.net/mcp"
Installer Codebahn MCP dans Gemini CLI
$ gemini mcp add -s user --transport http codebahn-cli https://codebahn.net/mcpInstaller Codebahn MCP dans Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"codebahn-cli": {
"url": "https://codebahn.net/mcp",
"type": "http"
}
}
}Vérifications automatisées
Exécuté le 15 nov. 2026Rapport complet →Pas encore vérifié. Un serveur nécessite un score de 80, aucune faille sérieuse et suffisamment de données pour que nous puissions effectuer les vérifications. Fonctionnement des vérifications · Ce qu'il faut corriger pour gagner des points
- Dépôt source lié et accessiblecodebahn/codebahn-cli is public and reachablegithub.com/codebahn/codebahn-cli ↗Réussi
- Le nom du package correspond au dépôt sourceNon vérifié
- Provenance du build (attestation Sigstore)Non vérifié
- Licence open source (OSI)MITspdx.org/licenses/MIT.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-11-14github.com/codebahn/codebahn-cli ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNon vérifié
- Aucun avis critique dans le package ou ses dépendancesNon vérifié
- Aucune instruction cachée destinée au modèle0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNon vérifié
- Le point de terminaison distant répond à la poignée de main MCPHTTPS endpoint answered 401 (sign-in required)Réussi
README
Voir sur GitHubCodebahn CLI
Codebahn is the private GitHub alternative: fast Git and CI for developers and teams. Your code is stored and served. Not scanned, not trained on, not tracked. Swedish company, EU-only infrastructure, every sub-processor EU-incorporated. Built on Forgejo, easy to leave.
Command-line interface for Codebahn.
codebahn auth login
codebahn pr list
codebahn issue create --title "ship it"
codebahn ci dispatch --workflow ci.yml
One binary. OAuth login. No config files.
Install
Linux and macOS
curl -fsSL https://releases.codebahn.net/cli/install.sh | sh
This detects your platform, downloads the latest binary, verifies its
SHA256 checksum, and installs to ~/.local/bin. Override the location
with INSTALL_DIR:
curl -fsSL https://releases.codebahn.net/cli/install.sh | INSTALL_DIR=/usr/local/bin sh
Windows
irm https://releases.codebahn.net/cli/install.ps1 | iex
This downloads the latest binary, verifies its SHA256 checksum and GPG
signature (if gpg is installed), installs to
%LOCALAPPDATA%\Programs\codebahn, and adds it to your PATH.
Override the install location with $env:INSTALL_DIR. Restart your
terminal after install.
From source
Install from source (note: source builds skip auto-update):
go install github.com/codebahn/codebahn-cli/cmd/codebahn@latest
Updates
The CLI checks for new versions once every 24 hours and prints a notice when one is available. To update in place:
codebahn update
This downloads the new binary from releases.codebahn.net, verifies its
GPG signature and SHA256 checksum, and replaces itself. No external tools
required.
To check without installing: codebahn update --check.
To silence the periodic check: set CODEBAHN_NO_UPDATE_CHECK=1 or add
"check_updates": false to the config file (~/.config/codebahn/config.json,
or %APPDATA%\codebahn\config.json on Windows).
Authentication
Log in through the browser. Tokens are saved to
~/.config/codebahn/config.json (%APPDATA%\codebahn\config.json on
Windows).
codebahn auth login
codebahn auth status
For CI, set CODEBAHN_TOKEN instead.
Commands
| Group | What |
|---|---|
repo |
Create, list, read files, branches, commits, diffs, compare refs |
issue |
Create, list, comment, labels, milestones |
pr |
Create, list, merge, diff, commits, reviews |
ci |
Dispatch workflows, list runs, read logs, secrets/variables |
release |
Releases, attachments, tags |
webhook |
Manage webhooks |
protection |
Manage branch protections |
search |
Code, repos, issues |
When you run inside a Git repo, --owner and --repo are detected from the remote.
codebahn pr merge --index 42 --style squash
codebahn repo cat --ref main --filePath README.md
codebahn ci logs --run_id 7
Review a pull request commit by commit:
codebahn pr commits --index 42
codebahn repo show --sha 1a2b3c4 --file_path internal/foo.go
codebahn repo compare --base main --head feat/foo
codebahn repo log --path internal/foo.go --limit 10
Every subcommand accepts --help.
MCP and AI agents
Codebahn has a built-in, hosted MCP server that connects AI coding agents to your repos, issues, pull requests, and CI:
https://codebahn.net/mcp
The tools/ package in this repo is the shared source of truth for both this CLI and the MCP endpoint. 103 tools, one set of types, zero drift.
The server authenticates over OAuth, discovered via /.well-known/oauth-protected-resource. Add the URL to your MCP client and approve the OAuth prompt in your browser on first use.
Claude Code
claude mcp add --transport http codebahn https://codebahn.net/mcp
Codex
codex mcp add codebahn --url https://codebahn.net/mcp
VS Code (Copilot)
Create .vscode/mcp.json in your project root:
{
"servers": {
"codebahn": {
"type": "http",
"url": "https://codebahn.net/mcp"
}
}
}
Cursor
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"codebahn": {
"type": "http",
"url": "https://codebahn.net/mcp"
}
}
}
Full docs: codebahn.net/docs/mcp/.
Release infrastructure
Codebahn is an EU-hosted Git platform. We apply that principle to our own tooling: the CLI's release artifacts are hosted on our own EU infrastructure, not on GitHub or any third-party CDN.
How releases work:
- Source code lives here on GitHub (public, for discoverability).
- When we tag a release, GitHub Actions cross-compiles binaries for Linux and macOS (amd64 and arm64).
- The workflow uploads the binaries, a SHA256 checksums file, and a
detached GPG signature to Scaleway Object Storage in
fr-par(Paris, France), served atreleases.codebahn.net. codebahn updatefetches fromreleases.codebahn.net. It never contacts GitHub.
Release artifacts are hosted on our own EU infrastructure so the CLI's update check stays within the EU. Source code is on GitHub because it's the standard home for open-source projects. GitHub Actions compiles the public source; no customer data is involved in the build.
Verifying releases
Every release includes a checksums.txt file signed with our GPG
release key. The CLI verifies both the signature and the checksum
automatically during codebahn update.
To verify manually:
# Import the public key
curl -sS https://codebahn.net/release-signing-key.asc | gpg --import
# Download and verify
curl -O https://releases.codebahn.net/cli/v0.1.0/checksums.txt
curl -O https://releases.codebahn.net/cli/v0.1.0/checksums.txt.asc
gpg --verify checksums.txt.asc checksums.txt
# Check the binary
sha256sum -c checksums.txt --ignore-missing
The public key is also embedded in the CLI binary itself, so
codebahn update does not need to fetch it separately.
Cutting a release
Tag and push:
git tag v0.1.0
git push origin v0.1.0
The GitHub Actions workflow runs tests, builds with
GoReleaser (parallel cross-compilation, GPG
signing), and uploads everything to releases.codebahn.net. The
latest.json manifest is updated so existing installs pick up the new
version within 24 hours.
For a local release (bypassing CI): ./scripts/release.sh v0.1.0.
Requires goreleaser, gpg (with the release key), and aws CLI
configured for Scaleway.
Contributing
See CONTRIBUTING.md.
License
Questions sur Codebahn MCP
Comment ajouter Codebahn MCP à Claude Code ?
Exécutez claude mcp add --transport http codebahn-cli https://codebahn.net/mcp dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter Codebahn MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
How does the Codebahn MCP server authenticate?
The server uses OAuth for authentication, which can be discovered via the /.well-known/oauth-protected-resource endpoint.
Is my code scanned or used for training?
No, Codebahn is a private alternative where your code is stored and served without being scanned, trained on, or tracked.