personal-github-mcp

personal-github-mcp

Provides full read/write access to the GitHub REST API via a single tool using a personal access token.

Category
Visit Server

README

personal-github-mcp

A minimal, personal MCP server that gives Claude (via Claude Code or Claude Desktop) full read/write access to the GitHub REST API, using your own Personal Access Token (PAT) — no third-party app permissions, no 403s from a shared connector's scopes.

It exposes one tool, github_request, that can call any GitHub REST API endpoint with any HTTP method (GET, POST, PATCH, PUT, DELETE). That covers everything: creating issues, commenting, merging PRs, creating/ updating files, branches, releases, labels, workflows — the full API at https://docs.github.com/en/rest.

1. Create a GitHub Personal Access Token

  1. Go to https://github.com/settings/tokens?type=beta (fine-grained token, recommended) or https://github.com/settings/tokens (classic).
  2. Fine-grained token: scope it to your account, pick "Only select repositories" (or all, if you want), and under Repository permissions grant at least:
    • Contents: Read and write
    • Issues: Read and write
    • Pull requests: Read and write
    • Metadata: Read-only (required)
  3. Classic token: just check the repo scope.
  4. Copy the token — you won't see it again.

2. Install dependencies

cd github-mcp-server
npm install

3. Configure your MCP client

Claude Code

Add to your Claude Code MCP config (~/.claude.json or via claude mcp add):

claude mcp add personal-github -- node /absolute/path/to/github-mcp-server/index.js

Then set the token as an environment variable before launching, or add it directly to the config's env block:

{
  "mcpServers": {
    "personal-github": {
      "command": "node",
      "args": ["/absolute/path/to/github-mcp-server/index.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Claude Desktop

Edit your claude_desktop_config.json (Settings → Developer → Edit Config) and add the same mcpServers block as above, then restart Claude Desktop.

4. Use it

Once connected, ask Claude things like:

  • "Create an issue in neural-shubh/dark-fleet-detection titled X with body Y"
  • "List my open pull requests across all repos"
  • "Update the README.md in neural-shubh/mediscan-ai"

Claude will call github_request with the right method/path/body — e.g. POST /repos/neural-shubh/dark-fleet-detection/issues with {"title": "...", "body": "..."}.

Security notes

  • The token lives only in your local MCP config / environment — it's never sent anywhere except api.github.com.
  • Scope the token as narrowly as you're comfortable with (fine-grained, select repos only) since this server will honor whatever the token allows.
  • This server does not implement any allow/deny tool policy of its own — the token's scopes are the only guardrail. If you want to restrict it further (e.g. read-only, or single-repo-only) that's easy to add — just ask.

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

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