Skip to main content
Glama

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_add

  • repo_list

  • repo_update

  • repo_delete

  • codegraph_status

  • codegraph_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

Related 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 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.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    MCP 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.
    6
    3
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that provides tools for interacting with Git repositories, enabling AI assistants to manage repositories, branches, commits, and files through a standardized interface.
    5,017
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/weaming/codegraph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server