github-mcp

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.

Category
Visit Server

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

  1. Clone this repo and install dependencies:

    git clone https://github.com/JessicaTemplet/github-mcp.git
    cd github-mcp
    npm install
    npm run build
    
  2. Create a GitHub personal access token at Settings -> Developer settings -> Personal access tokens. Give it the scopes you actually need (repo for private repo access, workflow if you want it triggering Actions).

  3. Add it to your Claude Desktop config. Don't create a claude_desktop_config.json yourself 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"
          }
        }
      }
    }
    
  4. 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 .env file to this repo.
  • Built against the official @modelcontextprotocol/sdk and @octokit/rest.

License

MIT, see LICENSE.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured