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

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.

Try git-mcp-server with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground