GitHub MCP Server

GitHub MCP Server

A Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.

PoliTwit1984

Version Control
Developer Tools
Visit Server

Tools

create_repo

Create or update GitHub repositories using natural language commands

README

GitHub MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with GitHub's API. Currently supports creating repositories with descriptions, topics, and website URLs.

Features

  • Create GitHub repositories with auto-generated names from descriptions
  • Add topics/tags to repositories
  • Set repository homepages
  • Auto-initialize repositories with README files

Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the server:
npm run build

Configuration

The server requires a GitHub personal access token with repository creation permissions. Add the following to your MCP settings file:

{
  "mcpServers": {
    "github": {
      "command": "node",
      "args": ["path/to/github-server/build/index.js"],
      "env": {
        "GITHUB_TOKEN": "your-github-token"
      }
    }
  }
}

Available Tools

create_repo

Create or update GitHub repositories using natural language commands.

Command Format

The tool accepts natural language commands for different operations:

Creating repositories:

Create a repository for [description] with tags [tag1 tag2 tag3] website [url]

or

Make a new repository called [description] tagged with [tag1, tag2, tag3]

Updating repository description:

Update [owner/repo] description to [new description]

or

Change [repo-name] description as [new description]

Updating repository tags:

Update [owner/repo] tags to [tag1 tag2 tag3]

or

Set [repo-name] topics as [tag1, tag2, tag3]

Updating repository website:

Update [owner/repo] website to [url]

or

Set [repo-name] homepage as [url]

Example Usage

Creating a new repository:

const result = await use_mcp_tool({
  server_name: "github",
  tool_name: "create_repo",
  arguments: {
    command: "Create a repository for my machine learning image classifier with tags python tensorflow computer-vision website https://example.com/docs"
  }
});

This will:

  1. Create a repository named "my-machine-learning-image-classifier"
  2. Set the description as "my machine learning image classifier"
  3. Add "python", "tensorflow", and "computer-vision" as repository topics
  4. Set the website to "https://example.com/docs"
  5. Initialize with a README file

Updating repository description:

const result = await use_mcp_tool({
  server_name: "github",
  tool_name: "create_repo",
  arguments: {
    command: "Update username/existing-repo description to Updated ML project for image classification"
  }
});

Updating repository tags:

const result = await use_mcp_tool({
  server_name: "github",
  tool_name: "create_repo",
  arguments: {
    command: "Update username/existing-repo tags to machine-learning python updated"
  }
});

Updating repository website:

const result = await use_mcp_tool({
  server_name: "github",
  tool_name: "create_repo",
  arguments: {
    command: "Update username/existing-repo website to https://example.com/new-docs"
  }
});

The tool understands various natural language patterns and keywords:

  • Create/make/new for creating repositories
  • Update/change/set/modify for updating repositories
  • "description to/as" for updating descriptions
  • "tags/topics to/as" for updating tags
  • "website/homepage/url to/as" for updating websites

Development

To modify or extend the server:

  1. Make changes to src/index.ts
  2. Rebuild the server:
npm run build

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Gitingest-MCP

Gitingest-MCP

An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc

Featured
Local
Python
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript