UNPKG

@cyanheads/git-mcp-server

Version:

A secure and scalable Git MCP server enabling AI agents to perform comprehensive Git version control operations via STDIO and Streamable HTTP.

173 lines (172 loc) 5.1 kB
{ "name": "@cyanheads/git-mcp-server", "version": "2.15.1", "mcpName": "io.github.cyanheads/git-mcp-server", "description": "A secure and scalable Git MCP server enabling AI agents to perform comprehensive Git version control operations via STDIO and Streamable HTTP.", "main": "dist/index.js", "files": [ "dist" ], "bin": { "git-mcp-server": "dist/index.js" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./*": "./dist/*" }, "types": "dist/index.d.ts", "type": "module", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/cyanheads/git-mcp-server.git" }, "bugs": { "url": "https://github.com/cyanheads/git-mcp-server/issues" }, "homepage": "https://github.com/cyanheads/git-mcp-server#readme", "scripts": { "build": "bun build ./src/index.ts --outdir ./dist --target node --external pino --external pino-pretty", "build:worker": "bun build ./src/worker.ts --outdir ./dist --target bun --no-external", "deploy:dev": "MCP_TRANSPORT_TYPE=http bunx wrangler dev", "deploy:prod": "MCP_TRANSPORT_TYPE=http bunx wrangler deploy", "start": "bun ./dist/index.js", "start:stdio": "MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js", "start:http": "MCP_TRANSPORT_TYPE=http bun ./dist/index.js", "dev": "bun --watch src/index.ts", "dev:stdio": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=stdio bun --watch src/index.ts", "dev:http": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=http bun --watch src/index.ts", "devdocs": "bun run scripts/devdocs.ts", "devcheck": "bun run scripts/devcheck.ts", "rebuild": "bun run scripts/clean.ts && bun run build", "docs:generate": "bunx typedoc", "depcheck": "bunx depcheck", "lint": "bunx eslint .", "lint:fix": "bunx eslint . --fix", "typecheck": "bunx tsc --noEmit", "tree": "bun run scripts/tree.ts", "fetch-spec": "bun run scripts/fetch-openapi-spec.ts", "format": "bunx prettier --write \"**/*.{ts,js,json,md,html,css}\"", "prepare": "bunx husky", "inspector": "bunx mcp-inspector --config mcp.json --server git-mcp-server", "test": "bun test", "test:coverage": "bun test --coverage", "audit": "bun audit", "audit:fix": "bun audit --fix", "publish-mcp": "bun scripts/validate-mcp-publish-schema.ts" }, "devDependencies": { "@cloudflare/workers-types": "^4.20260506.1", "@eslint/js": "^10.0.1", "@hono/mcp": "^0.2.5", "@hono/node-server": "^2.0.1", "@modelcontextprotocol/sdk": "^1.29.0", "@opentelemetry/api": "^1.9.1", "@opentelemetry/auto-instrumentations-node": "^0.75.0", "@opentelemetry/exporter-metrics-otlp-http": "^0.217.0", "@opentelemetry/exporter-trace-otlp-http": "^0.217.0", "@opentelemetry/instrumentation-pino": "^0.63.0", "@opentelemetry/resources": "^2.7.1", "@opentelemetry/sdk-metrics": "^2.7.1", "@opentelemetry/sdk-node": "^0.217.0", "@opentelemetry/sdk-trace-node": "^2.7.1", "@opentelemetry/semantic-conventions": "^1.40.0", "@supabase/supabase-js": "^2.105.3", "@types/bun": "^1.3.13", "@types/cross-spawn": "^6.0.6", "@types/node": "^25.6.0", "@types/validator": "^13.15.10", "@vitest/coverage-v8": "^4.1.5", "bun-types": "^1.3.13", "depcheck": "^1.4.7", "dotenv": "^17.4.2", "eslint": "^10.3.0", "execa": "^9.6.1", "globals": "^17.6.0", "hono": "^4.12.18", "husky": "^9.1.7", "ignore": "^7.0.5", "jose": "^6.2.3", "msw": "^2.14.3", "prettier": "^3.8.3", "reflect-metadata": "^0.2.2", "repomix": "^1.14.0", "tslib": "^2.8.1", "tsyringe": "^4.10.0", "typedoc": "^0.28.19", "typescript": "^6.0.3", "typescript-eslint": "^8.59.2", "validator": "^13.15.35", "vite": "^8.0.10", "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.1.5", "zod": "~4.3.6" }, "keywords": [ "ai-agent", "ai-integration", "automation", "branch", "cherry-pick", "clone", "commit", "devops", "diff", "fetch", "git", "git-tools", "llm", "llm-tools", "log", "mcp", "mcp-server", "merge", "model-context-protocol", "pull", "push", "rebase", "remote", "reset", "stash", "status", "tag", "typescript", "version-control", "worktree" ], "author": "cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/git-mcp-server#readme)", "license": "Apache-2.0", "funding": [ { "type": "github", "url": "https://github.com/sponsors/cyanheads" }, { "type": "buy_me_a_coffee", "url": "https://www.buymeacoffee.com/cyanheads" } ], "dependencies": { "cross-spawn": "^7.0.6", "pino": "^10.3.1", "pino-pretty": "^13.1.3" }, "packageManager": "bun@1.2.21", "engines": { "bun": ">=1.2.0", "node": ">=20.0.0" }, "depcheck": { "ignores": [ "bun", "repomix", "git-mcp-server" ] }, "publishConfig": { "access": "public" } }