Git MCP Server

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

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 235 · #15 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

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 - 124 actively maintained, 1,730 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. mcp-ts-core Agent-native TypeScript framework for building MCP servers with declarative definitions. ★ 148
  2. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 668
  3. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 137
  4. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 90
  5. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 148
  6. openalex-mcp-server Access the OpenAlex academic research catalog - 270M+ publications. ★ 12

05 · Facts

category
other - ranked #15 of 848 actively-maintained other servers as of 2026-08-25.
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-08-25, 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

More MCP servers to compare · Gutenberg MCP Server · Hn MCP Server · Internet Archive MCP Server · Libofcongress MCP Server · Ntfy MCP Server

More TypeScript MCP servers · Ts Core · see all