Skip to main content
Glama

Git MCP Server

server.json3.45 kB
{ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json", "name": "io.github.cyanheads/git-mcp-server", "description": "Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.", "repository": { "url": "https://github.com/cyanheads/git-mcp-server", "source": "github" }, "version": "2.5.3", "packages": [ { "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "identifier": "@cyanheads/git-mcp-server", "version": "2.5.3", "runtimeHint": "bun", "packageArguments": [ { "type": "positional", "value": "run" }, { "type": "positional", "value": "start:stdio" } ], "environmentVariables": [ { "name": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "format": "string", "isRequired": false, "default": "info" }, { "name": "GIT_BASE_DIR", "description": "Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments.", "format": "string", "isRequired": false } ], "transport": { "type": "stdio" } }, { "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "identifier": "@cyanheads/git-mcp-server", "version": "2.5.3", "runtimeHint": "bun", "packageArguments": [ { "type": "positional", "value": "run" }, { "type": "positional", "value": "start:http" } ], "environmentVariables": [ { "name": "MCP_HTTP_HOST", "description": "The hostname for the HTTP server.", "format": "string", "isRequired": false, "default": "127.0.0.1" }, { "name": "MCP_HTTP_PORT", "description": "The port to run the HTTP server on.", "format": "string", "isRequired": false, "default": "3015" }, { "name": "MCP_HTTP_ENDPOINT_PATH", "description": "The endpoint path for the MCP server.", "format": "string", "isRequired": false, "default": "/mcp" }, { "name": "MCP_AUTH_MODE", "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.", "format": "string", "isRequired": false, "default": "none" }, { "name": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "format": "string", "isRequired": false, "default": "info" }, { "name": "GIT_BASE_DIR", "description": "Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments.", "format": "string", "isRequired": false } ], "transport": { "type": "streamable-http", "url": "http://localhost:3015/mcp" } } ], "mcpName": "io.github.cyanheads/git-mcp-server" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/git-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server