MCP.so
ログイン

Github Second Brain MCP Server

@BaoNguyen09

基本情報

カテゴリ

バージョン管理

ライセンス

Apache-2.0

トランスポート

stdio

作者

BaoNguyen09

Github Second Brain MCP Server について

Providing tools to AI to explore github codebase like agent

Github Second Brain MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "github-second-brain": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/baonguyen09/github-second-brain:latest"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_PERSONAL_GITHUB_ACCESS_TOKEN"
      }
    }
  }
}

Github Second Brain MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Github Second Brain?

Github Second Brain is a self-hosted MCP (Model Context Protocol) server that gives AI assistants a set of tools to explore and understand GitHub repositories on demand. It connects an AI client to GitHub repos so the AI can fetch issues, file content, directory trees, and code diffs, enabling more accurate, grounded responses without hallucinations. It is open-source, free, and does not collect personal data or store queries.

How to use Github Second Brain?

Install by running a Docker container with a GitHub Personal Access Token. Configure the server in Claude Desktop or Cursor by adding a JSON entry to the MCP configuration, specifying the Docker command and token. Once running, prompt your AI assistant with code or documentation questions; the AI uses the server’s tools (with your approval) to retrieve repository data.

Key features of Github Second Brain

  • Grants AI access to latest documentation on any GitHub project
  • Eliminates hallucinations by providing accurate repository context
  • Completely open, free, and self-hosted for privacy
  • Extracts and analyzes data from GitHub repositories
  • Provides tools like tree directory, file contents, issue context, and code diff

Use cases of Github Second Brain

  • Understanding the structure of a large open-source repository
  • Getting precise answers about a project’s features, functions, or concepts
  • Reviewing the context around a GitHub issue or pull request
  • Examining code differences between branches, tags, or commits

よくある質問

1

What are the prerequisites to run Github Second Brain?

You need Docker installed and running, and a GitHub Personal Access Token with appropriate permissions for the GitHub APIs the server will use.

2

How does Github Second Brain work?

Your AI assistant connects to a local MCP server built from a Docker image. When you ask a repo-related question, the AI sends requests to use the server’s tools, which execute API calls and return relevant data, allowing the AI to generate a grounded response.

3

What tools does Github Second Brain provide?

It provides `get_tree_directory` (full tree directory), `get_repo_contents` (file/folder content), `get_issue_context` (issue details and comments), and `get_code_diff` (diff for pull requests, branches, tags, commits). The `get_processed_repo` tool is deprecated.

4

Is Github Second Brain free and private?

Yes. It is open-source, completely free to use, and self-hosted. It does not collect personal information or store queries, so all data stays on your machine.

5

What license does Github Second Brain use?

It is licensed under the Apache License 2.0.

コメント

「バージョン管理」の他のコンテンツ