MCP.so
登录

GitHub MCP Server

@oghenetejiriorukpegmail

关于 GitHub MCP Server

A Model Context Protocol (MCP) server implementation for GitHub integration

基本信息

分类

版本控制

运行时

node

传输方式

stdio

发布者

oghenetejiriorukpegmail

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GitHub MCP Server?

A Model Context Protocol (MCP) server implementation that provides tools for interacting with the GitHub API. It enables developers to perform GitHub operations—such as creating repositories, pushing content, and retrieving user information—directly through MCP-compatible clients.

How to use GitHub MCP Server?

Install the server using the provided Windows PowerShell script or manually by cloning the repository, installing dependencies (npm install), and building the TypeScript code (npm run build). Then add the server configuration to your MCP settings file (cline_mcp_settings.json), setting the GITHUB_TOKEN environment variable with a personal access token. Once configured, MCP clients can invoke the available tools.

Key features of GitHub MCP Server

  • Create new GitHub repositories
  • Push file content to repositories
  • Get GitHub user information
  • Proper error handling with TypeScript type safety
  • Automatic Windows installation script

Use cases of GitHub MCP Server

  • Automate repository creation from an AI assistant or script
  • Push documentation updates or new files to existing repos
  • Quickly look up user profiles programmatically
  • Integrate GitHub operations into MCP-based workflows

FAQ from GitHub MCP Server

What are the prerequisites for running GitHub MCP Server?

Node.js v18 or higher, npm v8 or higher, and a GitHub Personal Access Token with the repo scope. On Windows, PowerShell is required for the automatic installation script.

How do I install GitHub MCP Server?

You can run .\install.ps1 in a PowerShell terminal, which handles directory creation, dependency installation, and configuration. Alternatively, manually clone the repo into %APPDATA%\Roo-Code\MCP\github-mcp, run npm install and npm run build, then edit the MCP settings file.

How do I configure authentication?

Add the server entry to your MCP settings file and include an env object with "GITHUB_TOKEN": "your-github-token-here". The token must have the repo scope.

What tools does GitHub MCP Server provide?

Three tools: get_user (get user info by username), create_repo (create a new repository with name, description, and privacy flag), and push_to_repo (push content to a specified file path in a repository with a commit message).

评论

版本控制 分类下的更多 MCP 服务器