Skip to content
MCP-Bridge
Developer Tools

GitHub API MCP Config

Access GitHub repositories, issues, pull requests, and more. Integrate GitHub workflows directly into your AI agent.

Config URL

Use this URL in any MCP-compatible client to fetch the config automatically.

https://mcp-bridge.pages.dev/config/github.json

Configuration JSON

Use curl https://mcp-bridge.pages.dev/config/github.json to fetch programmatically.

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y","@modelcontextprotocol/server-github"],
      "env": {
      "GITHUB_TOKEN": "your_github_personal_access_token"
}
    }
  }
}

How to Use

Claude Desktop

Paste the config JSON into your claude_desktop_config.json.

Full instructions →

Cursor

Go to Cursor Settings → MCP Servers → Add with the JSON above.

CLI / curl

Fetch the config programmatically:

curl https://mcp-bridge.pages.dev/config/github.json

Environment Variables

GITHUB_TOKEN

Replace your_github_personal_access_token with your actual github token

Endpoints

GET/repos/{owner}/{repo}

Get a repository

GET/repos/{owner}/{repo}/issues

List repository issues

GET/repos/{owner}/{repo}/pulls

List pull requests

GET/repos/{owner}/{repo}/contents/{path}

Get repository content