Github MCP Server
@ParasSolanki
关于 Github MCP Server
A model context protocol server for GitHub API
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_personal_github_access_token"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Github MCP Server?
A Model Context Protocol server that provides integration with GitHub through its REST API, allowing LLMs to search and retrieve data from repositories, issues, pull requests, code, users, topics, and labels.
How to use Github MCP Server?
Install by running npx -y github-mcp-server with a GITHUB_PERSONAL_ACCESS_TOKEN environment variable configured in your Claude Desktop settings. Alternatively, clone the repository, install dependencies with pnpm install, and run locally with pnpm dev.
Key features of Github MCP Server
- Search repositories, issues, commits, code, and more
- List and retrieve specific issues and pull requests
- Supports pagination with customizable page and per_page
- Sorting and ordering for many search results
- Filters by assignee, creator, labels, milestone, and more
- Uses GitHub Personal Access Token for authentication
Use cases of Github MCP Server
- Querying a repository for relevant issues or pull requests
- Searching code inside a repository for a specific pattern
- Finding users or topics related to a project
- Retrieving detailed information about a single issue or PR
FAQ from Github MCP Server
What is required to use this server?
A GitHub Personal Access Token must be provided via the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.
Can I search for code within repositories?
Yes, the search_code tool searches code in a repository using a query string.
How do I specify a repository owner?
Use the owner parameter in tools such as list_repositories_issues and get_pull_request.
Is there a limit on the number of results per page?
Yes, the per_page parameter has a maximum value of 100 for all tools.
Does the server support sorting of results?
Yes, many tools accept sort and order parameters to control the order of results.
版本控制 分类下的更多 MCP 服务器
AIO-MCP Server
athapong🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
GitLab MCP Server
yoda-digitalProduction-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
Git MCP Server
cyanheadsA Git MCP server for AI agents. STDIO & Streamable HTTP.
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
评论