GitHub MCP Server
@peterparker57
关于 GitHub MCP Server
GitHub MCP server with enhanced file management capabilities
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is GitHub MCP Server?
A Model Context Protocol (MCP) server that provides GitHub integration through a set of tools for repository management, file operations, and commit handling. It enables developers and AI assistants to interact with GitHub repositories programmatically.
How to use GitHub MCP Server?
Install the package via npm, then add the server to your MCP settings file with the required environment variables (GITHUB_TOKEN_<N>, GITHUB_OWNER_<N>, and optionally DEFAULT_OWNER). Once configured, tools such as create_repository, push_file, pull_file, and create_commit are available for use through an MCP client.
Key features of GitHub MCP Server
- Account management (list and select multiple GitHub accounts)
- Repository creation, cloning, and renaming
- File push, pull, and bidirectional directory sync
- Commit creation and listing with filters
- Repository comparison and diffing
- Supports multiple GitHub accounts via numbered environment variables
Use cases of GitHub MCP Server
- Automate repository creation and renaming in CI/CD pipelines
- Push local files to a GitHub repository with a commit message
- Pull files from a repository for local development or analysis
- Sync entire directories between a local folder and a remote repository
- List and filter commits for auditing or release tracking
FAQ from GitHub MCP Server
What are the runtime dependencies?
The server requires Node.js and npm for installation and execution.
How do I authenticate with GitHub?
Set the GITHUB_TOKEN_<N> and GITHUB_OWNER_<N> environment variables, where <N> is a number starting from 1. Use a GitHub personal access token and the corresponding username.
Can I use multiple GitHub accounts?
Yes. Configure multiple accounts by incrementing the number in the environment variable names (e.g., GITHUB_TOKEN_1, GITHUB_TOKEN_2). Use list_accounts and select_account to switch between them.
What is the DEFAULT_OWNER environment variable for?
It sets the default GitHub account (owner) to use when a tool call does not specify an owner explicitly.
版本控制 分类下的更多 MCP 服务器
Bitbucket Server MCP
garc33GitHub MCP Server Extension for Zed
LoamStudiosA GitHub MCP Server extension for Zed

GitLab
modelcontextprotocolModel Context Protocol Servers
AIO-MCP Server
athapong🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
评论