← Back to Plugins
MCP Server MCP

io.github.yBookoff/thebrain

github By github 👁 2 views ▲ 0 votes

MCP server for TheBrain 15: search by meaning, graph traversal and batch writes over the local API

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "thebrain-mcp-server",
      "version": "0.1.2",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Local API key from TheBrain: Settings > User > Local API Key",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "THEBRAIN_API_KEY"
        },
        {
          "description": "Address of the local API. Default http://localhost:8001",
          "format": "string",
          "name": "THEBRAIN_BASE_URL"
        },
        {
          "description": "Where semantic indexes are stored. Default ~/.thebrain-mcp",
          "format": "string",
          "name": "THEBRAIN_DATA_DIR"
        },
        {
          "description": "Set to 1 to allow deleting thoughts. Deletion still requires human confirmation. Default 0",
          "format": "string",
          "name": "THEBRAIN_ALLOW_DESTRUCTIVE"
        },
        {
          "description": "Embedding model for semantic search. Default Xenova/multilingual-e5-small",
          "format": "string",
          "name": "THEBRAIN_EMBEDDING_MODEL"
        },
        {
          "description": "Weight precision: fp32, fp16, q8 or q4. Default q8",
          "format": "string",
          "name": "THEBRAIN_EMBEDDING_DTYPE"
        },
        {
          "description": "API request timeout in milliseconds. Default 30000",
          "format": "string",
          "name": "THEBRAIN_TIMEOUT_MS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...