Labsco
oghenetejiriorukpegmail logo

GitHub MCP Server

from oghenetejiriorukpegmail

An MCP server for interacting with GitHub, allowing you to manage repositories, issues, and pull requests.

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

GitHub MCP Server

A Model Context Protocol (MCP) server implementation for GitHub integration. This server provides tools for interacting with GitHub's API through the MCP protocol.

Features

  • Create GitHub repositories
  • Push content to repositories
  • Get user information
  • Proper error handling and TypeScript type safety
  • Automatic installation script

Available Tools

get_user

Get GitHub user information.

Copy & paste โ€” that's it
{
  "username": "octocat"
}

create_repo

Create a new GitHub repository.

Copy & paste โ€” that's it
{
  "repo_name": "my-new-repo",
  "description": "A new repository",
  "private": false
}

push_to_repo

Push content to a GitHub repository.

Copy & paste โ€” that's it
{
  "repo_name": "my-repo",
  "file_path": "docs/README.md",
  "content": "# My Project\nThis is a test file.",
  "message": "Add README file"
}

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Make changes to src/index.ts
  4. Build: npm run build
  5. Test your changes

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

MIT