Thanks to visit codestin.com
Credit goes to github.com

Skip to content

haba-create/github_mcp

Repository files navigation

GitHub MCP Server

A Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.

Features

  • Create and list GitHub issues
  • Create pull requests
  • Search and browse repositories
  • Get repository information
  • List user repositories
  • Secure authentication via GitHub Personal Access Token

Quick Start

Using Docker

# Build the image
docker build -t github-mcp-server:latest .

# Run the server
docker run -i --rm \
  -e GITHUB_PERSONAL_ACCESS_TOKEN=<your-github-pat> \
  github-mcp-server:latest

Using Node.js

# Install dependencies
npm install

# Build the project
npm run build

# Run the server
GITHUB_PERSONAL_ACCESS_TOKEN=<your-github-pat> npm start

Configuration

See CLAUDE.md for detailed instructions on configuring this server with Claude Desktop.

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

Available Tools

  • create_issue - Create a new GitHub issue
  • list_issues - List issues in a repository
  • create_pull_request - Create a new pull request
  • get_repository - Get repository information
  • list_repositories - List user repositories
  • search_repositories - Search GitHub repositories

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published