Interact with the GitHub API to create and manage repositories, including setting descriptions, topics, and website URLs.
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.
npm install
npm run build
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"
}
}
}
}
Create or update GitHub repositories using natural language commands.
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]
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:
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:
To modify or extend the server:
src/index.ts
npm run build
MIT
An MCP server for interacting with the AtomGit API for version control and code hosting.
GitHub's official MCP Server
Transforms any GitHub project into a documentation hub, enabling AI tools to access up-to-date documentation and code.
Manage GitHub Projects V2 using the GitHub GraphQL API.
Interact with GitHub repositories, issues, pull requests, and more. Requires a GitHub personal access token.
Explore GitHub repositories, including file content, directory structure, and other metadata.
Manage GitLab projects, repositories, issues, files, and milestones using the GitLab API.
Generates Pull Request messages based on Git commits and changes.
Integrates with the GitLab REST API to manage repositories, issues, and merge requests.
An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.