{
  "$schema": "https://glama.ai/mcp/schemas/server.json",
  "schema_version": "1.0.0",
  "name": "gh-mcp",
  "displayName": "cli/cli MCP Server",
  "description": "GitHub official command-line tool for pull requests, issues, runs, and releases.",
  "homepage": "https://github.com/cli/cli",
  "repository": "https://github.com/cli/cli",
  "license": "MIT",
  "transport": [
    "stdio",
    "streamable-http"
  ],
  "runtime": "python3-stdlib",
  "dependencies": 0,
  "startCommand": {
    "command": "python3",
    "args": [
      "server.py",
      "--stdio"
    ]
  },
  "environmentVariables": [
    {
      "name": "MCP_ALLOW_EXEC",
      "required": false,
      "secret": false,
      "default": "0",
      "description": "Set to 1 to run local CLI commands directly instead of dry-run planning."
    }
  ],
  "tools": [
    {
      "name": "repo_overview",
      "description": "Return architecture, install commands, and tool catalog for cli/cli."
    },
    {
      "name": "cli_pr_list",
      "description": "List open pull requests with review status and CI checks"
    },
    {
      "name": "cli_issue_list",
      "description": "List repository issues filtered by label, assignee, or state"
    },
    {
      "name": "cli_run_view",
      "description": "Inspect GitHub Actions workflow run status and failing steps"
    },
    {
      "name": "cli_api",
      "description": "Execute authenticated GitHub REST or GraphQL requests"
    }
  ]
}
