GitHub GraphQL MCP Server
@QuentinCody
关于 GitHub GraphQL MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"github-graphql-mcp-server": {
"command": "python3",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is GitHub GraphQL MCP Server?
A Model Context Protocol (MCP) server that provides access to GitHub's GraphQL API. It exposes a single tool for executing arbitrary GraphQL queries and mutations against GitHub's API. It is designed for developers who want to integrate GitHub data into MCP‑compatible applications such as Claude for Desktop.
How to use GitHub GraphQL MCP Server?
Install Python 3.10+, clone the repository, set up a virtual environment, install dependencies with pip install -r requirements.txt, and run the server with GITHUB_TOKEN=your_token python github_graphql_mcp_server.py. For use with Claude for Desktop, add a configuration entry with absolute paths to the Python executable and the server script, plus the GITHUB_TOKEN environment variable.
Key features of GitHub GraphQL MCP Server
- Execute any GraphQL query against GitHub’s API
- Support for variables in GraphQL operations
- Comprehensive error handling and reporting
- Detailed documentation with example queries
- Authenticated access via a GitHub Personal Access Token
Use cases of GitHub GraphQL MCP Server
- Retrieve repository details (name, description, star count, owner)
- Search for repositories by language, stars, or other criteria
- Get user information and their top starred repositories
- Execute custom GraphQL mutations against GitHub
FAQ from GitHub GraphQL MCP Server
What are the prerequisites for running the server?
Python 3.10 or higher and a GitHub Personal Access Token (PAT) are required.
How do I install and run the server?
Clone the repository, create a virtual environment, install dependencies with pip install -r requirements.txt, set the GITHUB_TOKEN environment variable, and run python github_graphql_mcp_server.py.
How do I configure the server with Claude for Desktop?
Add a JSON entry to your Claude Desktop configuration that specifies the full path to the virtual environment’s Python interpreter, the full path to the server script, and the GITHUB_TOKEN environment variable.
What are the GitHub API rate limits?
Authenticated requests are limited to 5,000 per hour; unauthenticated requests to 60 per hour.
What common errors might I encounter?
Errors include spawn python ENOENT (use full path to Python), ModuleNotFoundError (activate venv and install dependencies), and Error: GitHub token not found (set the GITHUB_TOKEN environment variable).
版本控制 分类下的更多 MCP 服务器
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.
MCP Git Ingest
adhikaspA Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
Linear MCP Server
clinea private MCP server for accessing Linear
Test
skillsCreate a site or blog from your GitHub repositories with GitHub Pages.
评论