blob: 2d8f6cebde59cef3bcc4665e6ec419f4e5638443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# GitHub Plugin
Official GitHub MCP server for Claude Code.
## What It Does
Create issues, manage pull requests, review code, search repositories, and interact with GitHub's full API directly from Claude Code.
## Setup
1. Create a GitHub Personal Access Token with appropriate scopes
2. Set the environment variable:
```bash
export GITHUB_PERSONAL_ACCESS_TOKEN=your-token-here
```
## Required Environment Variables
- `GITHUB_PERSONAL_ACCESS_TOKEN` - Your GitHub PAT with appropriate scopes
## Alternative: Docker Setup
For local server deployment:
```json
{
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
}
}
}
```
## Learn More
See [GitHub MCP Server](https://github.com/github/github-mcp-server) for detailed documentation.
|