{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Gentleelephant/project-brain",
  "slug": "io.github.gentleelephant.project-brain",
  "title": "Project Brain",
  "summary": "Read-only source search and retrieval across configured GitHub repositories",
  "version": "2.0.3",
  "serverKey": "project-brain",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.gentleelephant.project-brain",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.gentleelephant.project-brain/install.md",
  "trust": {
    "score": 64,
    "grade": "C",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T08:11:06.768702481Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROJECT_BRAIN_REPO_LIST",
        "-e",
        "PROJECT_BRAIN_STATE_DIR",
        "ghcr.io/gentleelephant/project-brain:v2.0.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add project-brain -e 'PROJECT_BRAIN_REPO_LIST=<PROJECT_BRAIN_REPO_LIST>' -e 'PROJECT_BRAIN_STATE_DIR=<PROJECT_BRAIN_STATE_DIR>' -- docker run -i --rm -e PROJECT_BRAIN_REPO_LIST -e PROJECT_BRAIN_STATE_DIR ghcr.io/gentleelephant/project-brain:v2.0.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"project-brain\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"PROJECT_BRAIN_REPO_LIST\",\n        \"-e\",\n        \"PROJECT_BRAIN_STATE_DIR\",\n        \"ghcr.io/gentleelephant/project-brain:v2.0.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"PROJECT_BRAIN_REPO_LIST\": \"<PROJECT_BRAIN_REPO_LIST>\",\n        \"PROJECT_BRAIN_STATE_DIR\": \"<PROJECT_BRAIN_STATE_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"project-brain\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"PROJECT_BRAIN_REPO_LIST\",\n        \"-e\",\n        \"PROJECT_BRAIN_STATE_DIR\",\n        \"ghcr.io/gentleelephant/project-brain:v2.0.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"PROJECT_BRAIN_REPO_LIST\": \"<PROJECT_BRAIN_REPO_LIST>\",\n        \"PROJECT_BRAIN_STATE_DIR\": \"<PROJECT_BRAIN_STATE_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"PROJECT_BRAIN_REPO_LIST\",\n      \"id\": \"project-brain-repo-list\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"PROJECT_BRAIN_STATE_DIR\",\n      \"id\": \"project-brain-state-dir\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"project-brain\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"PROJECT_BRAIN_REPO_LIST\",\n        \"-e\",\n        \"PROJECT_BRAIN_STATE_DIR\",\n        \"ghcr.io/gentleelephant/project-brain:v2.0.3\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"PROJECT_BRAIN_REPO_LIST\": \"${input:project-brain-repo-list}\",\n        \"PROJECT_BRAIN_STATE_DIR\": \"${input:project-brain-state-dir}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.project-brain]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"PROJECT_BRAIN_REPO_LIST\", \"-e\", \"PROJECT_BRAIN_STATE_DIR\", \"ghcr.io/gentleelephant/project-brain:v2.0.3\"]\nenv = { \"PROJECT_BRAIN_REPO_LIST\" = \"<PROJECT_BRAIN_REPO_LIST>\", \"PROJECT_BRAIN_STATE_DIR\" = \"<PROJECT_BRAIN_STATE_DIR>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "PROJECT_BRAIN_REPO_LIST",
      "required": true,
      "secret": false,
      "description": "Comma-separated owner/repo slugs or a path to a file with one slug per line",
      "help": "Comma-separated owner/repo slugs or a path to a file with one slug per line",
      "placeholder": "<PROJECT_BRAIN_REPO_LIST>"
    },
    {
      "name": "PROJECT_BRAIN_STATE_DIR",
      "required": true,
      "secret": false,
      "description": "Writable directory for repository caches, indexes, and locks",
      "help": "Writable directory for repository caches, indexes, and locks",
      "placeholder": "<PROJECT_BRAIN_STATE_DIR>"
    },
    {
      "name": "PB_GITHUB_TOKEN",
      "required": false,
      "secret": true,
      "description": "Optional GitHub token for private repositories",
      "help": "Optional GitHub token for private repositories",
      "placeholder": "<PB_GITHUB_TOKEN>"
    },
    {
      "name": "PB_FETCH_TTL",
      "required": false,
      "secret": false,
      "description": "Minimum interval between on-demand repository refreshes",
      "help": "Minimum interval between on-demand repository refreshes",
      "placeholder": "<PB_FETCH_TTL>"
    }
  ],
  "expectedTools": [
    "project_code_files",
    "project_code_read",
    "project_code_search",
    "project_repo_list",
    "project_repo_sync",
    "project_symbol_search"
  ],
  "agentSteps": [
    "Ask the user for: PROJECT_BRAIN_REPO_LIST, PROJECT_BRAIN_STATE_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: project_code_files, project_code_read, project_code_search, project_repo_list, project_repo_sync, project_symbol_search.",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T08:11:06.768702481Z"
}
