PluginBench
MCP Server

three.ws Brain MCP Server

io.github.nirholas/brain-mcp

What is the three.ws Brain MCP server?

List LLM providers and run chat completions through the three.ws multi-provider router.

How to install three.ws Brain

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • THREE_WS_BASE

    Base URL of the three.ws API that fronts the LLM router (/api/brain/chat). Override only when self-hosting or targeting a preview deployment.

  • THREE_WS_API_KEY
    secret

    Optional three.ws API key (sk_live_… / sk_test_…) or OAuth access token, sent as a Bearer token. Required only to use paid first-party flagships (Claude, GPT-4o, o3, Qwen Plus, DeepSeek). Free open-weight tiers (GPT-OSS 120B, NVIDIA NIM models) work with no key. Create one at https://three.ws/account.

  • THREE_WS_TIMEOUT_MS

    Per-request timeout in milliseconds. Chat completions stream server-side and are collapsed into a single reply, so this is generous by default to ride out a long flagship answer.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "brain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/brain-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<YOUR_THREE_WS_BASE>",
        "THREE_WS_API_KEY": "<YOUR_THREE_WS_API_KEY>",
        "THREE_WS_TIMEOUT_MS": "<YOUR_THREE_WS_TIMEOUT_MS>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "brain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/brain-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<YOUR_THREE_WS_BASE>",
        "THREE_WS_API_KEY": "<YOUR_THREE_WS_API_KEY>",
        "THREE_WS_TIMEOUT_MS": "<YOUR_THREE_WS_TIMEOUT_MS>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "brain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/brain-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<YOUR_THREE_WS_BASE>",
        "THREE_WS_API_KEY": "<YOUR_THREE_WS_API_KEY>",
        "THREE_WS_TIMEOUT_MS": "<YOUR_THREE_WS_TIMEOUT_MS>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "brain-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/brain-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<YOUR_THREE_WS_BASE>",
        "THREE_WS_API_KEY": "<YOUR_THREE_WS_API_KEY>",
        "THREE_WS_TIMEOUT_MS": "<YOUR_THREE_WS_TIMEOUT_MS>"
      }
    }
  }
}
Claude Code
claude mcp add brain-mcp --env THREE_WS_BASE=<YOUR_THREE_WS_BASE> --env THREE_WS_API_KEY=<YOUR_THREE_WS_API_KEY> --env THREE_WS_TIMEOUT_MS=<YOUR_THREE_WS_TIMEOUT_MS> -- npx -y @three-ws/brain-mcp

Related MCP servers

3D AI Agent Avatar — render any GLB, give it a Solana wallet, a voice, and pump.fun powers.

View repository →

MCP tools from three.ws: free + paid text-to-3D, rigging, agent reputation, market intel.

View repository →

UCAI — The ABI-to-MCP Server Generator. Convert any smart contract ABI into an AI-ready MCP server.

View repository →

Trending agents and coins, the $THREE holder leaderboard, and the site-wide activity ticker.

View repository →

Browse the AgenC on-chain task marketplace, query the agent registry, and link identities.

View repository →

Self-custodial pump.fun sniper: arm strategies, snipe, manage positions. Simulate by default.

View repository →