diff options
Diffstat (limited to 'external_plugins/github')
| -rw-r--r-- | external_plugins/github/.claude-plugin/plugin.json | 8 | ||||
| -rw-r--r-- | external_plugins/github/.mcp.json | 9 | ||||
| -rw-r--r-- | external_plugins/github/README.md | 38 |
3 files changed, 55 insertions, 0 deletions
diff --git a/external_plugins/github/.claude-plugin/plugin.json b/external_plugins/github/.claude-plugin/plugin.json new file mode 100644 index 00000000..8a8ce797 --- /dev/null +++ b/external_plugins/github/.claude-plugin/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "github", + "description": "Official GitHub MCP server for repository management. Create issues, manage pull requests, review code, search repositories, and interact with GitHub's full API directly from Claude Code.", + "version": "1.0.0", + "author": { + "name": "GitHub" + } +} diff --git a/external_plugins/github/.mcp.json b/external_plugins/github/.mcp.json new file mode 100644 index 00000000..46d47325 --- /dev/null +++ b/external_plugins/github/.mcp.json @@ -0,0 +1,9 @@ +{ + "github": { + "type": "http", + "url": "https://api.githubcopilot.com/mcp/", + "headers": { + "Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}" + } + } +} diff --git a/external_plugins/github/README.md b/external_plugins/github/README.md new file mode 100644 index 00000000..2d8f6ceb --- /dev/null +++ b/external_plugins/github/README.md @@ -0,0 +1,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. |
