GitHub Issue MCP

v1.1.2
io.github.sarim-aliii/github-issue-mcp Checked 2 days ago Published 3 months ago

AI-powered MCP server for generating GitHub issues and detecting semantic duplicates.

Values you need

VariableWhat it is
GITHUB_TOKENrequired secret GitHub personal access token used to access the configured repository.
GITHUB_OWNERrequired GitHub repository owner or organization.
GITHUB_REPOrequired GitHub repository name.
GEMINI_API_KEYrequired secret Google Gemini API key used for AI-powered issue generation and semantic duplicate analysis.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add github-issue-mcp -e 'GEMINI_API_KEY=<GEMINI_API_KEY>' -e 'GITHUB_OWNER=<GITHUB_OWNER>' -e 'GITHUB_REPO=<GITHUB_REPO>' -e 'GITHUB_TOKEN=<GITHUB_TOKEN>' -- npx -y github-issue-mcp@1.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "github-issue-mcp": {
      "args": [
        "-y",
        "github-issue-mcp@1.1.2"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GITHUB_OWNER": "<GITHUB_OWNER>",
        "GITHUB_REPO": "<GITHUB_REPO>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "github-issue-mcp": {
      "args": [
        "-y",
        "github-issue-mcp@1.1.2"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GITHUB_OWNER": "<GITHUB_OWNER>",
        "GITHUB_REPO": "<GITHUB_REPO>",
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GEMINI_API_KEY",
      "id": "gemini-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GITHUB_OWNER",
      "id": "github-owner",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GITHUB_REPO",
      "id": "github-repo",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GITHUB_TOKEN",
      "id": "github-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "github-issue-mcp": {
      "args": [
        "-y",
        "github-issue-mcp@1.1.2"
      ],
      "command": "npx",
      "env": {
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GITHUB_OWNER": "${input:github-owner}",
        "GITHUB_REPO": "${input:github-repo}",
        "GITHUB_TOKEN": "${input:github-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.github-issue-mcp]
command = "npx"
args = ["-y", "github-issue-mcp@1.1.2"]
env = { "GEMINI_API_KEY" = "<GEMINI_API_KEY>", "GITHUB_OWNER" = "<GITHUB_OWNER>", "GITHUB_REPO" = "<GITHUB_REPO>", "GITHUB_TOKEN" = "<GITHUB_TOKEN>" }

For AI agents

  1. Ask the user for: GITHUB_TOKEN, GITHUB_OWNER, GITHUB_REPO, GEMINI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: generate_issue, create_github_issue, list_github_issues, list_github_labels, check_duplicate_issue.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json