{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.cyanheads/git-mcp-server","description":"Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and worktrees in local repos.","repository":{"url":"https://github.com/cyanheads/git-mcp-server","source":"github"},"version":"3.0.0","packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@cyanheads/git-mcp-server","version":"3.0.0","runtimeHint":"npx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Sets the minimum log level for output (e.g., 'debug', 'info', 'warning').","format":"string","default":"info","name":"MCP_LOG_LEVEL"},{"description":"Restrict all git operations and paths to this directory tree (absolute, or relative to launch directory).","format":"string","name":"GIT_BASE_DIR"},{"description":"Commit and tag signing policy: unset uses git config; 'true' signs with unsigned fallback; 'false' disables signing.","format":"string","name":"GIT_SIGN_COMMITS"},{"description":"Override git author name (aliases: GIT_USERNAME, GIT_USER). Falls back to git config.","format":"string","name":"GIT_AUTHOR_NAME"},{"description":"Override git author email (aliases: GIT_EMAIL, GIT_USER_EMAIL). Falls back to git config.","format":"string","name":"GIT_AUTHOR_EMAIL"},{"description":"Override git committer name (falls back to GIT_USERNAME/GIT_USER, then git config).","format":"string","name":"GIT_COMMITTER_NAME"},{"description":"Override git committer email (falls back to GIT_EMAIL/GIT_USER_EMAIL, then git config).","format":"string","name":"GIT_COMMITTER_EMAIL"},{"description":"Path to a custom markdown file returned by git_wrapup_instructions (unreadable file fails startup).","format":"string","name":"GIT_WRAPUP_INSTRUCTIONS_PATH"},{"description":"Timeout per git command invocation in milliseconds (minimum 1000).","format":"string","default":"60000","name":"GIT_MAX_COMMAND_TIMEOUT_MS"},{"description":"Maximum captured stdout buffer per git command in megabytes (1–256).","format":"string","default":"10","name":"GIT_MAX_BUFFER_SIZE_MB"},{"description":"When 'true', expose only the 9 read-only tools and disable all write tools and the git_wrapup prompt.","format":"string","default":"false","name":"GIT_READ_ONLY"},{"description":"Comma-separated branch glob patterns requiring confirmation for force-push or remote branch delete.","format":"string","default":"main,master,production,prod,develop,dev","name":"GIT_PROTECTED_BRANCHES"},{"description":"Opt-in, default 'false'. When 'true', confirm git_clean (preview: false), force-push or delete on a protected branch, and force-push with tags via interactive MCP elicitation instead of confirmed: true.","format":"string","default":"false","name":"GIT_ELICIT_CONFIRMATION"}]},{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@cyanheads/git-mcp-server","version":"3.0.0","runtimeHint":"npx","transport":{"type":"streamable-http","url":"http://localhost:3010/mcp"},"environmentVariables":[{"description":"Selects the HTTP transport.","format":"string","value":"http","name":"MCP_TRANSPORT_TYPE"},{"description":"The hostname for the HTTP server.","format":"string","default":"127.0.0.1","name":"MCP_HTTP_HOST"},{"description":"The port to run the HTTP server on.","format":"string","default":"3010","name":"MCP_HTTP_PORT"},{"description":"The endpoint path for the MCP server.","format":"string","default":"/mcp","name":"MCP_HTTP_ENDPOINT_PATH"},{"description":"Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).","format":"string","name":"MCP_PUBLIC_URL"},{"description":"Authentication mode to use: 'none', 'jwt', or 'oauth'.","format":"string","default":"none","name":"MCP_AUTH_MODE"},{"description":"Sets the minimum log level for output (e.g., 'debug', 'info', 'warning').","format":"string","default":"info","name":"MCP_LOG_LEVEL"},{"description":"Restrict all git operations and paths to this directory tree (absolute, or relative to launch directory).","format":"string","name":"GIT_BASE_DIR"},{"description":"Commit and tag signing policy: unset uses git config; 'true' signs with unsigned fallback; 'false' disables signing.","format":"string","name":"GIT_SIGN_COMMITS"},{"description":"Override git author name (aliases: GIT_USERNAME, GIT_USER). Falls back to git config.","format":"string","name":"GIT_AUTHOR_NAME"},{"description":"Override git author email (aliases: GIT_EMAIL, GIT_USER_EMAIL). Falls back to git config.","format":"string","name":"GIT_AUTHOR_EMAIL"},{"description":"Override git committer name (falls back to GIT_USERNAME/GIT_USER, then git config).","format":"string","name":"GIT_COMMITTER_NAME"},{"description":"Override git committer email (falls back to GIT_EMAIL/GIT_USER_EMAIL, then git config).","format":"string","name":"GIT_COMMITTER_EMAIL"},{"description":"Path to a custom markdown file returned by git_wrapup_instructions (unreadable file fails startup).","format":"string","name":"GIT_WRAPUP_INSTRUCTIONS_PATH"},{"description":"Timeout per git command invocation in milliseconds (minimum 1000).","format":"string","default":"60000","name":"GIT_MAX_COMMAND_TIMEOUT_MS"},{"description":"Maximum captured stdout buffer per git command in megabytes (1–256).","format":"string","default":"10","name":"GIT_MAX_BUFFER_SIZE_MB"},{"description":"When 'true', expose only the 9 read-only tools and disable all write tools and the git_wrapup prompt.","format":"string","default":"false","name":"GIT_READ_ONLY"},{"description":"Comma-separated branch glob patterns requiring confirmation for force-push or remote branch delete.","format":"string","default":"main,master,production,prod,develop,dev","name":"GIT_PROTECTED_BRANCHES"},{"description":"Opt-in, default 'false'. When 'true', confirm git_clean (preview: false), force-push or delete on a protected branch, and force-push with tags via interactive MCP elicitation instead of confirmed: true.","format":"string","default":"false","name":"GIT_ELICIT_CONFIRMATION"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-12-06T09:15:58.715049Z","publishedAt":"2026-12-06T09:15:58.715049Z","updatedAt":"2026-12-06T09:15:58.715049Z","isLatest":true}}}
