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.
@BaoNguyen09
基本信息
Providing tools to AI to explore github codebase like agent
使用下面的配置,将此服务器添加到你的 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"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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.
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.
You need Docker installed and running, and a GitHub Personal Access Token with appropriate permissions for the GitHub APIs the server will use.
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.
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.
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.
It is licensed under the Apache License 2.0.

Model Context Protocol Servers

Model Context Protocol Servers
MCP servers for the Atlassian products (Bitbucket, Confluence, JIRA) of the Data Center version
Production-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
评论