Skip to main content
Glama

Git MCP Server

# Example Environment Variables for git-mcp-server # Copy this file to .env and modify the values as needed. # --- MCP Server Configuration --- # Transport mechanism: 'stdio' (default) or 'http' # MCP_TRANSPORT_TYPE=stdio # --- HTTP Transport Settings (only used if MCP_TRANSPORT_TYPE=http) --- # Port for the HTTP server # MCP_HTTP_PORT=3000 # Host address for the HTTP server to bind to # MCP_HTTP_HOST=127.0.0.1 # Comma-separated list of allowed origins for CORS (e.g., http://localhost:8080,https://my-app.com) # MCP_ALLOWED_ORIGINS= # --- Git Configuration --- # Set to "true" to enable signing attempts for commits made by the git_commit tool. # Requires server-side Git/key setup (GPG or SSH). See README for details. # GIT_SIGN_COMMITS=false # --- Security Configuration --- # Secret key for signing/verifying authentication tokens (required if auth is enabled in the future). # MCP_AUTH_SECRET_KEY= # --- Logging Configuration --- # Logging level: 'debug', 'info', 'notice', 'warning', 'error', 'crit', 'alert', 'emerg' # MCP_LOG_LEVEL=info

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