Skip to content
Zed

three.ws Portfolio for Zed

io.github.nirholas/portfolio-mcp

An agent's trading state — portfolio value, PnL, live balances, trade feed, and signed transfers.

client:Zed transport:stdio runtime:npm

Install three.ws Portfolio in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "portfolio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/portfolio-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<THREE_WS_BASE>",
        "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
        "THREE_WS_SESSION": "<THREE_WS_SESSION>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>",
        "MAX_SOL_PER_TX": "<MAX_SOL_PER_TX>",
        "RECIPIENT_ALLOWLIST": "<RECIPIENT_ALLOWLIST>",
        "REQUIRE_CONFIRM": "<REQUIRE_CONFIRM>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

three.ws Portfolio in other clients