Skip to main content
Glama

Git MCP Server

smithery.yaml1.06 kB
startCommand: type: stdio configSchema: type: object properties: MCP_TRANSPORT_TYPE: type: string enum: ['stdio', 'http'] default: 'stdio' description: "MCP communication transport ('stdio' or 'http')." MCP_HTTP_PORT: type: integer default: 3015 description: "HTTP server port (if MCP_TRANSPORT_TYPE is 'http')." MCP_LOG_LEVEL: type: string default: 'info' description: 'Minimum logging level.' GIT_BASE_DIR: type: string description: 'Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments.' commandFunction: | (config) => ({ "command": "bunx", "args": ["@cyanheads/git-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": config.MCP_TRANSPORT_TYPE, "MCP_HTTP_PORT": config.MCP_HTTP_PORT, "MCP_LOG_LEVEL": config.MCP_LOG_LEVEL, "GIT_BASE_DIR": config.GIT_BASE_DIR } })

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