schemaVersion: "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"
startCommand:
  type: stdio
  command: python3
  args:
    - "server.py"
    - "--stdio"
  configSchema:
    type: object
    properties:
      allowExec:
        type: boolean
        title: "Allow Local Execution"
        description: "Set true to execute local CLI commands instead of dry-run plans."
        default: false
  env:
    MCP_ALLOW_EXEC: "${config.allowExec}"
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"
