Back to Browse

Git MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: 3 highly-trusted packages.

5 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

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

Environment variable: MCP_LOG_LEVEL

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

Environment variable: GIT_BASE_DIR

The hostname for the HTTP server.Optional

Environment variable: MCP_HTTP_HOST

The port to run the HTTP server on.Optional

Environment variable: MCP_HTTP_PORT

The endpoint path for the MCP server.Optional

Environment variable: MCP_HTTP_ENDPOINT_PATH

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

Environment variable: MCP_AUTH_MODE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-cyanheads-git-mcp-server": {
      "env": {
        "GIT_BASE_DIR": "your-git-base-dir-here",
        "MCP_AUTH_MODE": "your-mcp-auth-mode-here",
        "MCP_HTTP_HOST": "your-mcp-http-host-here",
        "MCP_HTTP_PORT": "your-mcp-http-port-here",
        "MCP_LOG_LEVEL": "your-mcp-log-level-here",
        "MCP_HTTP_ENDPOINT_PATH": "your-mcp-http-endpoint-path-here"
      },
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!