Custom MCP server to list GitHub pull requests from Cursor.
Respond to prompts like "list all PRs" by exposing an MCP tool that queries the GitHub API.
Phase 2 complete (ping). Phase 3–4 added (github_status, list_pull_requests).
Default target repo: manishpant/sample-tool-creation-github-pr
- Copy
.env.exampleto.envand setGITHUB_TOKEN. - Optionally override
GITHUB_OWNER/GITHUB_REPOin.envor~/.cursor/mcp.json. - Reload MCP in Cursor.
| Tool | Description |
|---|---|
ping |
Health check → pong |
github_status |
Verify GitHub token |
list_pull_requests |
List PRs (defaults to configured repo) |