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.
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-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_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.
{
"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>"
}
}
}
}{
"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>"
}
}
}
}{
"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>"
}
}
}
}{
"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 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-mcpRelated 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 →