Labsco
amanueltefera843110 logo

GitHub Repository Manager

from amanueltefera843110

An MCP server that allows AI assistants to create and delete GitHub repositories. Requires a GITHUB_TOKEN for authentication.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

GitHub Repository Manager MCP Server

A Model Context Protocol (MCP) server that allows AI assistants to create and delete GitHub repositories.

Features

  • โœ… Create GitHub repositories with customizable settings
  • โœ… Delete GitHub repositories (permanent deletion)
  • โœ… MCP protocol compliant - works with Claude Desktop and other MCP clients
  • โœ… Simple setup - just configure and restart your AI assistant
  • โœ… Secure - uses environment variables for sensitive data

Available Tools

create_github_repository

Creates a new GitHub repository.

Parameters:

  • name (required): Repository name
  • private (optional): Make it private (default: false)
  • description (optional): Repository description
  • auto_init (optional): Initialize with README (default: true)

delete_github_repository

Deletes an existing GitHub repository.

Parameters:

  • name (required): Repository name to delete

Files

  • simple_mcp_server.py - The MCP server implementation
  • requirements.txt - Python dependencies
  • claude_config_example.json - Example Claude Desktop configuration
  • .env.example - Example environment file (copy to .env and add your token)
  • README.md - This file

Security Notes

  • โš ๏ธ Never commit your .env file to Git
  • โš ๏ธ Never commit your real GitHub token to Git
  • โš ๏ธ Repository deletion is permanent
  • โœ… Use environment variables for sensitive data
  • โœ… Regularly rotate your tokens
  • โœ… Add .env to your .gitignore file

Environment Variables

The server uses these environment variables:

  • GITHUB_TOKEN - Your GitHub personal access token (required)

License

MIT License - feel free to use and modify! # MCP-Repo-Manager-