@kazuph/mcp-github-pera1
Pera1 的 GitHub MCP 服务器
一个模型上下文协议服务器,用于将 GitHub 代码连接到 Claude.ai。该服务器利用 Pera1 服务从 GitHub 存储库中提取代码,并为 Claude 提供更好的上下文。
设置
将以下内容添加到您的 MCP 配置文件( ~/Library/Application Support/Claude/claude_desktop_config.json ):
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@kazuph/mcp-github-pera1"]
}
}
}现在您可以向 Claude 询问有关 GitHub 代码库的问题。
参数
url:GitHub 存储库 URL(必需)dir:按目录路径过滤文件(以逗号分隔)ext:按扩展名过滤文件(以逗号分隔)mode:显示模式(例如,tree仅显示目录结构和自述文件)branch:指定要从中获取的分支file:指定要检索的单个文件
使用示例
您可以向 Claude 询问以下问题:
Tell me about the implementation of GitHub repository https://github.com/username/repository对于特定目录:
Explain the components in https://github.com/username/repository?dir=src/components对于特定文件:
Show me the Button component from https://github.com/username/repository?file=src/components/Button.tsx对于仅包含 README 文件的目录结构:
Show me the structure of https://github.com/username/repository?mode=tree对于特定分支:
Analyze the develop branch of https://github.com/username/repository?branch=develop执照
麻省理工学院
作者
kazuph( https://x.com/kazuph )
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.18MIT
- Alicense-qualityDmaintenanceModel Context Protocol server that enables Claude to retrieve and analyze code from GitHub repositories through the uithub API.921MIT
- Flicense-quality-maintenanceA Model Context Protocol server that provides comprehensive GitHub integration for Claude Desktop, allowing users to manage repositories, issues, and pull requests. It supports file operations, branch management, and repository searches through natural language commands.570
- Flicense-quality-maintenanceAn MCP server that wraps gitingest to enable Claude Code to analyze GitHub repositories, providing access to code structures, statistics, and full content. It facilitates the creation of structured study notes and supports both public and private repositories through the Model Context Protocol.1
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kazuph/mcp-github-pera1'
If you have feedback or need assistance with the MCP directory API, please join our Discord server