GitHub MCP Server
Provides tools for executing git commands including cloning repositories, checking status, committing changes, and pushing to remote repositories.
Enables interaction with GitHub's API to list repositories, get repository information, and create new repositories, with support for both public and private repos via personal access tokens.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
๐ GitHub MCP Server for Claude Desktop
Supercharge your Claude Desktop with seamless GitHub integration!
This MCP server connects Claude Desktop directly to your GitHub repos and git commands, letting you interact with your code and repositories through natural conversation.
โจ Features
๐
git-clone- Clone any repository with a simple request๐
git-status- Check what's happening in your git repos๐
github-list-repos- Browse your GitHub repositories๐
github-repo-info- Get detailed information about any repository๐
git-commit- Commit changes to your repositories๐
git-push- Push your commits to GitHub๐
github-create-repo- Create new GitHub repositories
๐ Quick Start
Clone this repo:
git clone https://github.com/shibdad/github-mcp-server.git cd github-mcp-serverInstall dependencies:
npm installMake it executable:
chmod +x start.sh index.jsAdd your GitHub token (for private repos and API access):
echo "your-github-token" > .github_tokenHook it up to Claude Desktop:
Edit Claude's config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add this to your config:
{ "mcpServers": { "github": { "command": "/bin/sh", "args": ["-c", "/path/to/github-mcp-server/start.sh"] } } }Restart Claude and you're good to go!
๐ฌ Try These Prompts
Once connected, ask Claude things like:
"Clone the tensorflow/models repository to my downloads folder"
"What's the git status of my project directory?"
"Show me a list of my GitHub repositories"
"Get details about the microsoft/vscode repository"
"Commit my changes with the message 'Update documentation'"
"Push my commits to GitHub"
"Create a new repository called 'my-awesome-project'"
๐ง Requirements
Node.js 16+
Git command-line tools
Claude Desktop
GitHub Personal Access Token (for API access)
๐ GitHub Token Options
Need to access private repos? Add your token any of these ways:
Create a
.github_tokenfile in the project folderSet the
GITHUB_TOKENenvironment variableAdd it directly in Claude's config:
{ "mcpServers": { "github": { "command": "/bin/sh", "args": ["-c", "/path/to/github-mcp-server/start.sh"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }
๐โโ๏ธ Contributing
Found a bug? Want to add a feature? PRs welcome!
๐ License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Access the GitHub API, enabling file operations, repository management, search functionality, andโฆ
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyโฆ