Skip to main content
Glama
rajeevpvt304-ops

GitHub Tools MCP Server

GitHub Tools MCP Server

A real Model Context Protocol server exposing read-only tools against the GitHub REST API — installable into Claude Desktop or Claude Code in under a minute — plus a separate web demo exercising the same tool logic through an ordinary chat UI.

Live demo: https://mcp-demo-phi.vercel.app/demo

Status: what this is and isn't

Working and deployed. All 5 tools verified against real GitHub data, 42 automated checks across 3 test suites, and the full app confirmed live on the real production URL. See DESIGN_LOG.md for the running, honest account of every decision and bug along the way.

The web demo is NOT an MCP transport. It's plain FastAPI calling the same tools.py functions directly as Python, not speaking the MCP protocol. Genuinely useful distinction to be precise about — see DESIGN_LOG.md section 3 for why a real remote MCP transport isn't attempted here.

Related MCP server: GitHub MCP Connector

Architecture

                    ┌─────────────────────┐
                    │      tools.py        │  <- 5 pure functions, no
                    │  (GitHub REST calls   │     MCP-specific code
                    │   via github_client)   │
                    └──────────┬───────────┘
                               │
              ┌────────────────┴────────────────┐
              │                                  │
    ┌─────────▼─────────┐            ┌───────────▼──────────┐
    │     server.py       │            │     api/index.py       │
    │  MCPServer, stdio    │            │  FastAPI, POST /chat    │
    │  transport            │            │  real Claude tool-      │
    │  -> Claude Desktop/    │            │  calling loop over       │
    │     Claude Code        │            │  the same tools           │
    └─────────────────────┘            └────────────────────────┘
     THE MCP SERVER                      A PLAIN HTTP DEMO OF
     (the real deliverable)              THE SAME TOOL LOGIC

Setup

cp .env.example .env   # GITHUB_TOKEN (both halves), ANTHROPIC_API_KEY (web demo only)
pip install -r requirements.txt

Run the MCP server locally

python3 server.py

Add to Claude Desktop: edit %APPDATA%\Claude\claude_desktop_config.json (Windows) / ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), merging in the contents of claude_desktop_config.example.json (fill in your real GITHUB_TOKEN and the absolute path to server.py), then restart Claude Desktop. Add to Claude Code: claude mcp add or edit your project's .mcp.json the same way.

Manual interactive dev workflow: the SDK ships an inspector for poking at the server by hand without a full client — npx @modelcontextprotocol/inspector python3 server.py.

Run the web demo locally

export $(cat .env | xargs)
uvicorn api.index:app --reload --port 8020

Design log

Every non-obvious decision, plus the SDK API surface verified against the actually-installed package rather than assumed from possibly-stale docs, is in DESIGN_LOG.md.

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Connects Claude Desktop to GitHub repositories, enabling users to perform git operations and GitHub API interactions through natural conversation.
    452
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to query GitHub repositories in plain English, fetching recent activity, release notes, issue triage, and health summaries via the GitHub API.

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rajeevpvt304-ops/github-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server