MCP ServerSTDIOOfficialv2.10.3

git-mcp-server MCP Server

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

io.github.cyanheads/git-mcp-server

Hosted URL

https://github.com/cyanheads/git-mcp-server

Transport

STDIO

Auth

No auth required

What the git-mcp-server MCP server does

How models use it and what it is built for.

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

Connect to git-mcp-server

Hosted endpoint — paste into any MCP client.

https://github.com/cyanheads/git-mcp-server

Environment variables

Configuration this server reads at startup.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • GIT_BASE_DIR

    Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • GIT_BASE_DIR

    Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments.

Resources

Where to find authoritative docs and source for git-mcp-server.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground