Github Second Brain MCP Server

Providing tools to AI to explore github codebase like agent

Remote serverstreamable-httpGo

What is the Github Second Brain MCP Server?

Providing tools to AI to explore github codebase like agent

What you get

A set of tools that let AI explore github repos on-demand so it can better assist you.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_tree_directory
get_repo_contents
get_issue_context
get_code_diff

How to install the Github Second Brain MCP Server

{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Github Second Brain to Solution.”
  • “Use Github Second Brain to get tree directory.”
  • “Use Github Second Brain to get repo contents.”

Frequently asked questions

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