GitHub MCP Server
@Joseph19820124
关于 GitHub MCP Server
A GitHub MCP server demo with create repository functionality
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"joseph-github-mcp-server": {
"command": "python",
"args": [
"main.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is GitHub MCP Server?
The GitHub MCP Server is a Model Context Protocol (MCP) server that provides GitHub repository creation functionality. It allows AI applications and other MCP clients to programmatically create new GitHub repositories with customizable settings using the standard MCP protocol over stdin/stdout.
How to use GitHub MCP Server?
Clone the repository, install Python dependencies via pip install -r requirements.txt, set the GITHUB_TOKEN environment variable with a token that has repo and user scopes, then run python main.py. The server listens for JSON‑RPC 2.0 requests (e.g., tools/call with tool name create_repository) over stdio. Test it by sending echo '{"method": "tools/list", "id": "1"}' | python main.py.
Key features of GitHub MCP Server
- Create a new GitHub repository with a required name
- Set an optional description and privacy setting
- Communicate via MCP protocol over stdin/stdout
- Returns full repository details on success
- Requires Python 3.8 or higher
Use cases of GitHub MCP Server
- Automate repository creation during CI/CD workflows
- Let an AI assistant create a GitHub repo on your behalf
- Integrate repository provisioning into MCP‑capable applications
FAQ from GitHub MCP Server
What GitHub permissions are required?
The personal access token needs repo (for repository access) and user (for user information) scopes.
How do I set the GitHub token?
Set the token as an environment variable: export GITHUB_TOKEN="your_github_personal_access_token".
What Python version is needed?
Python 3.8 or higher is required.
How is the server invoked?
The server runs as a subprocess communicating via JSON‑RPC 2.0 over stdio. MCP clients send tools/list and tools/call requests to discover and use the create_repository tool.
Is the repository private by default?
No, the private parameter defaults to false, making repositories public unless explicitly set to true.
版本控制 分类下的更多 MCP 服务器

Git
modelcontextprotocolModel Context Protocol Servers
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
Git MCP Server
cyanheadsA Git MCP server for AI agents. STDIO & Streamable HTTP.
评论