MCP.so
登录

MCP Private GitHub Search

@Hint-Services

基本信息

分类

搜索

许可证

MIT license

传输方式

stdio

作者

Hint-Services

关于 MCP Private GitHub Search

MCP Server to search individual private Github Repositories

#mcp-private-github-search#github#search-tool

MCP Private GitHub Search 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-private-github-search": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@Hint-Services/mcp-private-github-search",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Private GitHub Search 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Private GitHub Search?

MCP Private GitHub Search is a Model Context Protocol (MCP) server that provides search and file retrieval tools for private GitHub repositories. It integrates with GitHub's API, automatically handling rate limiting, type safety, input validation, and error handling, making it suitable for developers and AI hosts that need to query private repositories.

How to use MCP Private GitHub Search?

Install via Smithery or pnpm add mcp-private-github-search, then configure your MCP client with GITHUB_TOKEN, GITHUB_OWNER, and GITHUB_REPO environment variables. The server exposes three tools: searchFiles, searchIssues, and getFileContents, which can be invoked by MCP clients (e.g., Claude, Cursor, Windsurf, Cline).

Key features of MCP Private GitHub Search

  • Search private GitHub repositories for files and issues.
  • Get the contents of a specific file in a repository.
  • Type-safe implementation written in TypeScript.
  • Robust input validation using Zod schemas.
  • Graceful error handling with informative messages.

Use cases of MCP Private GitHub Search

  • Searching private codebases for specific file names or patterns.
  • Looking up issues in a private repository by criteria.
  • Retrieving file contents for analysis or review by an AI assistant.

常见问题

1

What does MCP Private GitHub Search do?

It acts as a bridge between AI hosts (like Claude or Cursor) and private GitHub repositories, allowing AI tools to search for files and issues, and retrieve file contents using GitHub’s API.

2

What dependencies or runtime are required?

You need Node.js and a valid GitHub token with access to the target private repository. The server runs as a command-line tool via `npx` or can be installed as a npm package.

3

How do I authenticate with GitHub?

Provide your GitHub personal access token via the `GITHUB_TOKEN` environment variable. The token must have permission to read the specified repository.

4

Which transports and protocols are used?

The server communicates using JSON-RPC 2.0 over stdio, conforming to the Model Context Protocol standard.

5

Are there any known limits or rate handling?

GitHub API rate limiting is handled automatically; the server integrates rate-limit awareness and reports informative errors when limits are reached.

评论

搜索 分类下的更多 MCP 服务器