codegraph-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codegraph-mcpadd repository octocat/Hello-World"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CodeGraph MCP
A small Streamable HTTP MCP server that manages shallow Git clones and analyzes them with CodeGraph.
The server exposes repository management and analysis tools at /mcp:
repo_addrepo_listrepo_updaterepo_deletecodegraph_statuscodegraph_explore
Quick start
The published image is available for Linux ARM64 and AMD64:
docker compose up -dThe MCP endpoint is http://127.0.0.1:8080/mcp.
Repositories are stored in the named Docker volume codegraph-repos.
Git uses HTTPS shallow clones with depth 1. Set HTTPS_PROXY when GitHub access requires a proxy:
HTTPS_PROXY=http://host.docker.internal:7890 docker compose up -dRelated MCP server: forgejo-mcp
Build on Apple Silicon
Docker Desktop or OrbStack on a Darwin ARM64 host can build the Linux ARM64 image locally:
make image
make upTo rebuild everything:
make image-forceThe build downloads and verifies the matching CodeGraph Linux bundle, builds the MCP server with Bun, and creates a shell-free Distroless image.
Configuration
Variable | Default | Description |
|
| Container image |
|
| Repository root inside the container |
| empty | HTTPS proxy for Git |
|
| HTTP port inside the container |
Repository IDs use the owner/name format, for example octocat/Hello-World.
repo_update returns updated: true when the remote commit changes and includes an English message describing the update or skipped synchronization.
This server cannot be deployed
Maintenance
Related MCP Connectors
Repository knowledge graph MCP server for codebase understanding and debugging.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for siGit (sigit.si): browse repos, search code, manage PRs/issues, web search.
Related MCP Servers
- FlicenseAqualityDmaintenanceMCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.63-
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing your repositories on Forgejo/Gitea server.67Mozilla Public 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for indexing and searching Git repositories with AI. Enables tools like listing repos, semantic search, file globbing, and regex grep.5 npm17MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for interacting with Git repositories, enabling AI assistants to manage repositories, branches, commits, and files through a standardized interface.2,852 npm1Apache 2.0