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.jsonConfiguration 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
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.jsonEnvironment Variables
GITHUB_TOKENReplace your_github_personal_access_token with your actual github token
Endpoints
GET
/repos/{owner}/{repo}Get a repository
GET
/repos/{owner}/{repo}/issuesList repository issues
GET
/repos/{owner}/{repo}/pullsList pull requests
GET
/repos/{owner}/{repo}/contents/{path}Get repository content