GitHub MCP Server
@Joseph19820124
About GitHub MCP Server
A GitHub MCP server demo with create repository functionality
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"joseph-github-mcp-server": {
"command": "python",
"args": [
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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`.
Basic information
More Version Control MCP servers
Atlassian Data Center MCP
b1ffMCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
Bitbucket MCP
MatanYeminiBitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)

Git
modelcontextprotocolModel Context Protocol Servers
Comments