{
  "name": "github-pr-automation",
  "version": "0.5.2",
  "description": "MCP server and CLI for automated GitHub PR management, review resolution, and workflow optimization",
  "type": "module",
  "main": "dist/index.js",
  "bin": {
    "github-pr-automation": "dist/cli.js"
  },
  "scripts": {
    "build": "node scripts/generate-version-info.js && tsc",
    "watch": "tsc --watch",
    "dev": "tsc && node dist/index.js",
    "cli": "tsc && node dist/cli.js",
    "test": "ROLLUP_FORCE_JS=1 vitest run --exclude '**/integration/**'",
    "test:fast": "ROLLUP_FORCE_JS=1 vitest run --testNamePattern=\"\\[fast\\]\"",
    "test:slow": "ROLLUP_FORCE_JS=1 vitest run --testNamePattern=\"\\[slow\\]\"",
    "test:integration": "bash scripts/ensure-token.sh ROLLUP_FORCE_JS=1 vitest run --config vitest.integration.config.ts",
    "test:integration:record": "bash scripts/ensure-token.sh RECORD_INTEGRATION_FIXTURES=true ROLLUP_FORCE_JS=1 vitest run --config vitest.integration.config.ts",
    "test:cli": "bash scripts/ensure-token.sh ROLLUP_FORCE_JS=1 vitest run --config vitest.integration.config.ts tests/integration/cli/",
    "test:e2e": "ROLLUP_FORCE_JS=1 vitest run tests/e2e/",
    "test:e2e:fast": "ROLLUP_FORCE_JS=1 vitest run tests/e2e/ --testNamePattern=\"\\[fast\\]\"",
    "test:e2e:slow": "ROLLUP_FORCE_JS=1 vitest run tests/e2e/ --testNamePattern=\"\\[slow\\]\"",
    "test:watch": "vitest watch",
    "test:coverage": "ROLLUP_FORCE_JS=1 vitest run --coverage",
    "test:coverage:fast": "ROLLUP_FORCE_JS=1 vitest run --coverage --testNamePattern=\"\\[fast\\]\"",
    "install:cli": "node scripts/install-cli.cjs",
    "install:cli:npm-link": "node scripts/install-cli.cjs npm-link",
    "install:cli:local": "node scripts/install-cli.cjs local-bin",
    "install:cli:global": "node scripts/install-cli.cjs global",
    "uninstall:local": "rm -f ~/.local/bin/github-pr-automation",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
    "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
    "quality": "npm run lint && npm run format:check && npm run type-check",
    "type-check": "tsc --noEmit",
    "prepare": "husky",
    "postinstall": "husky install",
    "release": "node scripts/release.js",
    "release:patch": "node scripts/release.js patch",
    "release:minor": "node scripts/release.js minor",
    "release:major": "node scripts/release.js major",
    "release:prerelease": "node scripts/release.js prerelease",
    "prepack": "npm run build",
    "postpack": "echo 'Package ready for distribution'",
    "audit": "npm run audit:ci",
    "audit:fix": "npm audit fix",
    "audit:high": "npm run audit:ci",
    "audit:ci": "audit-ci --config .audit-ci.json",
    "audit:ci:optimized": "audit-ci --config .audit-ci-optimized.json",
    "security": "npm run audit:ci && npm run license-check",
    "security:optimized": "npm run audit:ci:optimized && npm run license-check:optimized",
    "license-check": "npx license-checker --config .license-checker.json",
    "license-check:optimized": "npx license-checker --json --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;GPL-2.0;GPL-3.0;LGPL-2.1;LGPL-3.0;Python-2.0;CC-BY-3.0;CC0-1.0;(MIT AND CC-BY-3.0)\" --excludePrivatePackages --production --development --optional --peer --direct --indirect --depth 0 --noColor --silent"
  },
  "keywords": [
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "github",
    "pull-request",
    "automation",
    "ci",
    "pr-management",
    "code-review",
    "workflow-optimization",
    "claude",
    "ai-tools",
    "github-api",
    "pull-request-automation"
  ],
  "author": "GitHub PR Automation Contributors",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/jmalicki/github-pr-automation-mcp.git"
  },
  "bugs": {
    "url": "https://github.com/jmalicki/github-pr-automation-mcp/issues"
  },
  "homepage": "https://github.com/jmalicki/github-pr-automation-mcp#readme",
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.20.1",
    "@octokit/auth-app": "^8.1.1",
    "@octokit/rest": "^22.0.0",
    "commander": "^14.0.1",
    "zod": "^4.1.12"
  },
  "devDependencies": {
    "@octokit/fixtures": "^23.1.1",
    "@types/node": "^24.9.1",
    "@typescript-eslint/eslint-plugin": "^8.46.2",
    "@typescript-eslint/parser": "^8.46.2",
    "@vitest/coverage-v8": "^4.0.1",
    "audit-ci": "^7.1.0",
    "eslint": "^9.38.0",
    "eslint-plugin-jsdoc": "^61.1.9",
    "husky": "^9.1.7",
    "license-checker": "^25.0.1",
    "prettier": "3.6.2",
    "typescript": "^5.3.3",
    "vitest": "^4.0.1"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "resolutions": {
    "@rollup/rollup-linux-x64-gnu": "rollup",
    "@rollup/rollup-linux-x64-musl": "rollup",
    "@rollup/rollup-linux-arm64-gnu": "rollup",
    "@rollup/rollup-linux-arm64-musl": "rollup",
    "@rollup/rollup-darwin-x64": "rollup",
    "@rollup/rollup-darwin-arm64": "rollup",
    "@rollup/rollup-win32-x64-msvc": "rollup",
    "@rollup/rollup-win32-ia32-msvc": "rollup",
    "@rollup/rollup-android-arm-eabi": "rollup",
    "@rollup/rollup-android-arm64": "rollup",
    "@rollup/rollup-freebsd-arm64": "rollup",
    "@rollup/rollup-freebsd-x64": "rollup",
    "@rollup/rollup-linux-arm-gnueabihf": "rollup",
    "@rollup/rollup-linux-arm-musleabihf": "rollup",
    "@rollup/rollup-linux-loong64-gnu": "rollup",
    "@rollup/rollup-linux-ppc64-gnu": "rollup",
    "@rollup/rollup-linux-riscv64-gnu": "rollup",
    "@rollup/rollup-linux-riscv64-musl": "rollup",
    "@rollup/rollup-linux-s390x-gnu": "rollup",
    "@rollup/rollup-openharmony-arm64": "rollup",
    "@rollup/rollup-win32-arm64-msvc": "rollup",
    "@rollup/rollup-win32-x64-gnu": "rollup"
  },
  "mcp": {
    "version": "2025-10-22",
    "protocol": "stdio",
    "server": "dist/index.js",
    "tools": [
      "get_failing_tests",
      "find_unresolved_comments",
      "manage_stacked_prs",
      "detect_merge_conflicts",
      "check_merge_readiness",
      "get_review_suggestions",
      "rebase_after_squash_merge",
      "resolve_review_thread"
    ],
    "capabilities": {
      "tools": true,
      "resources": false,
      "prompts": false
    }
  }
}
