github-mcp
A Model Context Protocol server that enables Claude to directly interact with GitHub, including repos, files, branches, issues, pull requests, Actions, and code search using a personal access token.
README
github-mcp
A Model Context Protocol (MCP) server that gives Claude direct access to GitHub: repos, files, branches, issues, pull requests, GitHub Actions, and code search, authenticated with a personal access token.
Why this exists
Claude Code has its own GitHub integration built in. Claude chat (the desktop app, claude.ai) doesn't ship with a first party GitHub connector. This server fills that gap for anyone who wants Claude to read and write to their repos outside of Claude Code.
What it can do
- List, search, and get details on repos
- Read and write files, list directories
- Branches: list, create, delete
- Issues: list, get, create, update, comment
- Pull requests: list, get, create, merge
- GitHub Actions: list workflows, list runs, trigger a run
- Search code and issues/PRs across your repositories
- List commits
- Create new repos
- Get info on the authenticated user
Setup
-
Clone this repo and install dependencies:
git clone https://github.com/JessicaTemplet/github-mcp.git cd github-mcp npm install npm run build -
Create a GitHub personal access token at Settings -> Developer settings -> Personal access tokens. Give it the scopes you actually need (
repofor private repo access,workflowif you want it triggering Actions). -
Add it to your Claude Desktop config. Don't create a
claude_desktop_config.jsonyourself somewhere and expect Claude Desktop to find it, that file has to be the one the app actually reads, and creating a separate one won't work. Instead, open Claude Desktop, go to Settings -> Developer -> Edit Config, and that opens the real config file for you to edit:{ "mcpServers": { "github": { "command": "node", "args": ["/absolute/path/to/github-mcp/dist/index.js"], "env": { "GITHUB_TOKEN": "your-token-here" } } } } -
Restart Claude Desktop.
Notes
- The token is read from an environment variable at runtime and is never
written to disk by this server. Don't commit a token or a
.envfile to this repo. - Built against the official
@modelcontextprotocol/sdkand@octokit/rest.
License
MIT, see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.