Skip to main content
Glama

@kazuph/mcp-github-pera1

by kazuph

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

一个模型上下文协议服务器,用于将 GitHub 代码连接到 Claude.ai。该服务器利用 Pera1 服务从 GitHub 存储库中提取代码,并为 Claude 提供更好的上下文。

  1. 设置
    1. 参数
      1. 使用示例
        1. 执照
          1. 作者

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.
              Last updated -
              3
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.
              Last updated -
              9
              TypeScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.
              Last updated -
              1
              JavaScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
              Last updated -
              129
              Python

            View all related MCP servers

            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