About Github Mcp
A GitHub MCP server written in Go for AI assistants to manage repositories and GitHub Actions workflows. Its tools cover repository details, creation, deletion, visibility changes, and workflow operations.
Key features
- 01List and inspect repositories
- 02Create and delete repositories
- 03Change repository visibility
- 04Trigger Actions workflows
- 05View recent workflow runs
Use cases
- 01Review repositories in an account
- 02Create a private repository
- 03Change a repository's public or private status
- 04Trigger CI and inspect its runs
MCP support
The MCP server exposes GitHub repository and Actions workflow operations as tools for AI assistants. A GitHub Personal Access Token must be configured.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEgithub-mcp
A GitHub MCP (Model Context Protocol) server written in Go that lets AI assistants like Claude interact with your GitHub account.
Tools
| Tool | Description |
|---|---|
gitgub_list_repos | List all repositories for the authenticated user |
github_create_repo | Create a new repository |
github_delete_repo | Permanently delete a repository |
github_update_visibility | Change a repository between public and private |
github_trigger_workflow | Trigger a GitHub Actions workflow |
github_list_workflow_runs | List recent workflow runs for a repository |
github_get_repo | Get detailed info about a specific repository |
Prerequisites
- Go 1.25+
- A GitHub Personal Access Token with the following scopes:
repodelete_repoworkflow
Create one at: https://github.com/settings/tokens
Install
go install github.com/Stevke7/github-mcp@latest
This will install the binary to your $GOPATH/bin directory.
Build from source
git clone https://github.com/Stevke7/github-mcp.git
cd github-mcp
go build -o github-mcp
Configuration
Set your GitHub token as an environment variable:
export GITHUB_TOKEN=your_token_here
Usage with Claude Code
Add the server to your Claude Code MCP configuration (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"github-mcp": {
"command": "/path/to/github-mcp",
"env": {
"GITHUB_TOKEN": "your_token_here"
}
}
}
}
Then restart Claude Code. You can now ask Claude to manage your GitHub repositories directly.
Example Prompts
- "List all my repositories"
- "Create a new private repo called my-project"
- "Change my-repo to private"
- "Trigger the CI workflow on the main branch of my-repo"
- "Show me the last 5 workflow runs for my-repo"
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.