mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-01-30 12:32:02 +00:00
creating intital scaffolding for claude code plugins
This commit is contained in:
8
external_plugins/github/.claude-plugin/plugin.json
Normal file
8
external_plugins/github/.claude-plugin/plugin.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
9
external_plugins/github/.mcp.json
Normal file
9
external_plugins/github/.mcp.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"github": {
|
||||
"type": "http",
|
||||
"url": "https://api.githubcopilot.com/mcp/",
|
||||
"headers": {
|
||||
"Authorization": "Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN}"
|
||||
}
|
||||
}
|
||||
}
|
||||
38
external_plugins/github/README.md
Normal file
38
external_plugins/github/README.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user