three.ws Brain for VS Code
io.github.nirholas/brain-mcp
List LLM providers and run chat completions through the three.ws multi-provider router.
client:VS Code
transport:stdio
runtime:npm
Install three.ws Brain in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "three-ws-base",
"description": "THREE_WS_BASE",
"password": true
},
{
"type": "promptString",
"id": "three-ws-api-key",
"description": "THREE_WS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "three-ws-timeout-ms",
"description": "THREE_WS_TIMEOUT_MS",
"password": true
}
],
"servers": {
"brain-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_BASE": "${input:three-ws-base}",
"THREE_WS_API_KEY": "${input:three-ws-api-key}",
"THREE_WS_TIMEOUT_MS": "${input:three-ws-timeout-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs