three.ws Brain

io.github.nirholas/brain-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "brain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/brain-mcp@0.1.4"
      ],
      "env": {
        "THREE_WS_BASE": "https://three.ws",
        "THREE_WS_API_KEY": "<your THREE_WS_API_KEY>",
        "THREE_WS_TIMEOUT_MS": "120000"
      }
    }
  }
}
Environment variables
  • THREE_WS_BASEBase 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_KEYsecretOptional 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-5, o3, Grok, Qwen Plus, DeepSeek). Free open-weight tiers (GPT-OSS 120B, NVIDIA NIM models) work with no key. Create one at https://three.ws/dashboard/developers.
  • THREE_WS_TIMEOUT_MSPer-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.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.4
Registry
active
Published
10/10/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that three.ws Brain is listed here — it’s also the link we check for a free listing.

three.ws Brain — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-nirholas-brain-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="three.ws Brain — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![three.ws Brain — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-nirholas-brain-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.