Git MCP Server

@cyanheads/git-mcp-server A Git MCP server for AI agents. STDIO & Streamable HTTP.

People who work with git, enterprise ready and cyanheads and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 240 · #22 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Git MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, LOGS_DIR, GIT_USERNAME, GIT_EMAIL, GIT_SIGN_COMMITS before connecting. GIT_BASE_DIR is optional or environment-specific per the README.

Claude Code

claude mcp add cyanheads-git-mcp-server -- npx -y @cyanheads/git-mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-git-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license Apache-2.0 - declared in the repository

npm package @cyanheads/git-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Git MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 1 documented tool, including git_changelog_analyze.

The 1 tools it gives your agent

Extracted from the project's README - what git-mcp-server lets an agent do.

git_changelog_analyze
- Gather git context and instructions for LLM-driven changelog analysis

04 · Who maintains Git MCP Server

git-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 119 actively maintained, 1,816 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 681
  2. mcp-ts-core Agent-native TypeScript framework for MCP servers. ★ 151
  3. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 148
  4. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 94
  5. ntfy-mcp-server Send, manage, and replay ntfy push notifications via MCP. ★ 22
  6. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 151

05 · Facts

category
other - ranked #22 of 945 actively-maintained other servers as of 2026-09-18.
registry
io.github.cyanheads/git-mcp-server (active, first published 2025-09-15 · 42 versions)
packages
npm:@cyanheads/git-mcp-server · npm:@cyanheads/git-mcp-server

06 · Git MCP Server FAQ

What is Git MCP Server?

@cyanheads/git-mcp-server A Git MCP server for AI agents. STDIO & Streamable HTTP.

Is Git MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-24. We re-verify nightly.

How do I install Git MCP Server?

Run `npx -y @cyanheads/git-mcp-server`. The README documents 7 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, GIT_BASE_DIR…) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, LOGS_DIR, GIT_USERNAME, GIT_EMAIL, GIT_SIGN_COMMITS before connecting. GIT_BASE_DIR is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Git MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Git MCP Server