github-repo-mcp

v0.1.0
io.github.thedhruv-07/github-repo-mcp Checked 1 day ago Published 2 months ago

MCP server for GitHub repo health, commit summaries, issue triage, and RAG Q&A.

Values you need

VariableWhat it is
GITHUB_TOKENoptional secret GitHub personal access token (classic, no scopes needed for public repos). Raises the rate limit from 60/hr to 5000/hr. https://github.com/settings/tokens
VOYAGE_API_KEYrequired secret Voyage AI API key, required for ask_repo's embeddings. Free tier at https://dashboard.voyageai.com/
QDRANT_URLrequired Qdrant Cloud cluster URL, required for ask_repo's vector storage. Free tier at https://cloud.qdrant.io/
QDRANT_API_KEYrequired secret API key for your Qdrant Cloud cluster.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add github-repo-mcp -e 'QDRANT_API_KEY=<QDRANT_API_KEY>' -e 'QDRANT_URL=<QDRANT_URL>' -e 'VOYAGE_API_KEY=<VOYAGE_API_KEY>' -- npx -y @thedhruv07/github-repo-mcp@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "github-repo-mcp": {
      "args": [
        "-y",
        "@thedhruv07/github-repo-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "QDRANT_API_KEY": "<QDRANT_API_KEY>",
        "QDRANT_URL": "<QDRANT_URL>",
        "VOYAGE_API_KEY": "<VOYAGE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "github-repo-mcp": {
      "args": [
        "-y",
        "@thedhruv07/github-repo-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "QDRANT_API_KEY": "<QDRANT_API_KEY>",
        "QDRANT_URL": "<QDRANT_URL>",
        "VOYAGE_API_KEY": "<VOYAGE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "QDRANT_API_KEY",
      "id": "qdrant-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "QDRANT_URL",
      "id": "qdrant-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "VOYAGE_API_KEY",
      "id": "voyage-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "github-repo-mcp": {
      "args": [
        "-y",
        "@thedhruv07/github-repo-mcp@0.1.0"
      ],
      "command": "npx",
      "env": {
        "QDRANT_API_KEY": "${input:qdrant-api-key}",
        "QDRANT_URL": "${input:qdrant-url}",
        "VOYAGE_API_KEY": "${input:voyage-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.github-repo-mcp]
command = "npx"
args = ["-y", "@thedhruv07/github-repo-mcp@0.1.0"]
env = { "QDRANT_API_KEY" = "<QDRANT_API_KEY>", "QDRANT_URL" = "<QDRANT_URL>", "VOYAGE_API_KEY" = "<VOYAGE_API_KEY>" }

For AI agents

  1. Ask the user for: VOYAGE_API_KEY, QDRANT_URL, QDRANT_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: get_repo_health, summarize_recent_commits, find_good_first_issues, ask_repo.
  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