MCP.so
登录
G

Github Mcp

@Stevke7

关于 Github Mcp

暂无概览

基本信息

分类

版本控制

传输方式

stdio

发布者

Stevke7

提交者

Ljubisa Stevanovic

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "github-mcp": {
      "command": "/path/to/github-mcp",
      "env": {
        "GITHUB_TOKEN": "your_token_here"
      }
    }
  }
}

工具

7

List all repositories for the authenticated user

Create a new repository

Permanently delete a repository

Change a repository between public and private

Trigger a GitHub Actions workflow

List recent workflow runs for a repository

Get detailed info about a specific repository

概览

What is Github Mcp?

Github Mcp is a Go-based MCP server that lets AI assistants like Claude interact with a user’s GitHub account, enabling repository and workflow management through natural language.

How to use Github Mcp?

Install with go install github.com/Stevke7/github-mcp@latest (requires Go 1.25+). Set the GITHUB_TOKEN environment variable with a personal access token. Then add the server to Claude Code’s MCP configuration (~/.claude/claude_desktop_config.json) and restart the assistant.

Key features of Github Mcp

  • List repositories for the authenticated user
  • Create and delete repositories
  • Change repository visibility (public/private)
  • Trigger GitHub Actions workflows
  • List recent workflow runs for a repository
  • Get detailed information about a specific repository

Use cases of Github Mcp

  • Manage GitHub repositories entirely through chat commands
  • Automate workflow triggering without visiting the GitHub UI
  • Quickly switch repository visibility settings
  • Monitor recent workflow runs from an AI assistant
  • Retrieve repository details on demand

FAQ from Github Mcp

What prerequisites are needed to run Github Mcp?

Go 1.25+ and a GitHub personal access token with repo, delete_repo, and workflow scopes.

How do I set up Github Mcp with Claude Code?

Install the binary, export GITHUB_TOKEN, and add the server to ~/.claude/claude_desktop_config.json with the command path and token environment variable.

What can I ask Claude to do with Github Mcp?

Examples include “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”, and “Show me the last 5 workflow runs for my-repo”.

评论

版本控制 分类下的更多 MCP 服务器