An MCP server that allows AI assistants to create and delete GitHub repositories. Requires a GITHUB_TOKEN for authentication.
A Model Context Protocol (MCP) server that allows AI assistants to create and delete GitHub repositories.
pip install -r requirements.txt
Create a .env
file in the same directory as simple_mcp_server.py
:
# .env file
GITHUB_TOKEN=your_actual_github_token_here
⚠️ Important: Never commit your .env
file to Git! It contains sensitive information.
~/Library/Application Support/Claude/config.json
{
"darkMode": "dark",
"scale": 0,
"mcpServers": {
"github-repo-creator": {
"command": "python3",
"args": ["/path/to/your/simple_mcp_server.py"],
"env": {}
}
}
}
Note: No need to set GITHUB_TOKEN
in the config anymore - it's loaded from the .env
file.
Ask Claude:
create_github_repository
Creates a new GitHub repository.
Parameters:
name
(required): Repository nameprivate
(optional): Make it private (default: false)description
(optional): Repository descriptionauto_init
(optional): Initialize with README (default: true)delete_github_repository
Deletes an existing GitHub repository.
Parameters:
name
(required): Repository name to deletesimple_mcp_server.py
- The MCP server implementationrequirements.txt
- Python dependenciesclaude_config_example.json
- Example Claude Desktop configuration.env.example
- Example environment file (copy to .env
and add your token)README.md
- This file.env
file to Git.env
to your .gitignore
fileThe server uses these environment variables:
GITHUB_TOKEN
- Your GitHub personal access token (required).env
fileGITHUB_TOKEN=your_token
is in the .env
file.env
file is in the same directory as simple_mcp_server.py
chmod +x simple_mcp_server.py
Once configured, you can ask Claude:
MIT License - feel free to use and modify! # MCP-Repo-Manager-
Visualize Git history and commit logs with animations, making Git operations intuitive and easy to understand.
Manage GitHub repositories using a personal access token via CLI or environment variables.
A GitLab integration server providing access to GitLab's RESTful API tools, built on the fastmcp framework.
Manage GitHub Projects V2 using the GitHub GraphQL API.
GitHub's official MCP Server
Explore GitHub repositories, including file content, directory structure, and other metadata.
Fetches trending repositories from GitHub and saves them as Markdown files. Supports proxy configuration.
Interact with Radicle (peer-to-peer code collaboration) and GitHub through a unified interface.
Interact with the GitHub API using PyGithub to manage repositories, issues, and pull requests.
Integrate with the GitHub Enterprise API to access repositories, issues, pull requests, and workflows.