codegraph-mcp
This MCP server enables managing Git repositories via shallow clones and analyzing them with CodeGraph. It provides tools for adding, listing, updating, deleting repositories, and exploring codegraph status and exploration.
README
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 -d
The 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 -d
Build on Apple Silicon
Docker Desktop or OrbStack on a Darwin ARM64 host can build the Linux ARM64 image locally:
make image
make up
To rebuild everything:
make image-force
The 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 |
|---|---|---|
CODEGRAPH_MCP_IMAGE |
ghcr.io/weaming/codegraph-mcp:latest |
Container image |
CODEGRAPH_REPO_ROOT |
/repos |
Repository root inside the container |
HTTPS_PROXY |
empty | HTTPS proxy for Git |
PORT |
8080 |
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.