Home / Market / three.ws Portfolio

three.ws Portfolio

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

mcp★ 28956 dlnpmMIT configuration; upstream Apache-2.0Install in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-portfolio-mcp": { "command": "npx", "args": [ "-y", "--package", "@three-ws/portfolio-mcp@0.1.2", "portfolio-mcp" ], "env": { "THREE_WS_BASE": "${ENV_THREE_WS_BASE}", "THREE_WS_TIMEOUT_MS": "${ENV_THREE_WS_TIMEOUT_MS}", "THREE_WS_SESSION": "${ENV_THREE_WS_SESSION}", "SOLANA_RPC_URL": "${ENV_SOLANA_RPC_URL}", "SOLANA_SECRET_KEY": "${ENV_SOLANA_SECRET_KEY}", "MAX_SOL_PER_TX": "${ENV_MAX_SOL_PER_TX}", "RECIPIENT_ALLOWLIST": "${ENV_RECIPIENT_ALLOWLIST}", "REQUIRE_CONFIRM": "${ENV_REQUIRE_CONFIRM}" } } }, "setup": { "fields": [ { "id": "ENV_THREE_WS_BASE", "label": "THREE_WS_BASE", "description": "Base URL of the three.ws API that serves the portfolio + trades endpoints. Override only when self-hosting or targeting a preview deployment.", "required": false, "secret": false, "default": "https://three.ws" }, { "id": "ENV_THREE_WS_TIMEOUT_MS", "label": "THREE_WS_TIMEOUT_MS", "description": "Per-request timeout in milliseconds for the live three.ws API reads.", "required": false, "secret": false, "default": "20000" }, { "id": "ENV_THREE_WS_SESSION", "label": "THREE_WS_SESSION", "description": "Your three.ws session token (the value of the __Host-sid cookie from a signed-in browser). Required for the account-scoped reads — get_portfolio_summary, get_portfolio_history, get_portfolio_asset — which return data for the agents YOU own. The public trade feed and on-chain balance reads do not need it. Treat like a password.", "required": false, "secret": true, "default": "" }, { "id": "ENV_SOLANA_RPC_URL", "label": "SOLANA_RPC_URL", "description": "Solana mainnet RPC endpoint used by get_wallet_balances and send_transfer. Defaults to https://api.mainnet-beta.solana.com — bring your own (Helius / Quicknode / Triton) for production traffic.", "required": false, "secret": false, "default": "https://api.mainnet-beta.solana.com" }, { "id": "ENV_SOLANA_SECRET_KEY", "label": "SOLANA_SECRET_KEY", "description": "Base58-encoded Solana secret key for the wallet that send_transfer signs from. REQUIRED for send_transfer (the only write tool); a per-call secret arg overrides it. Not needed for any read tool. Treat like cash.", "required": true, "secret": true, "default": "" }, { "id": "ENV_MAX_SOL_PER_TX", "label": "MAX_SOL_PER_TX", "description": "Per-transaction spend cap in SOL for native SOL transfers via send_transfer. Bounds the blast radius of a leaked key or an injected argument.", "required": false, "secret": false, "default": "0.5" }, { "id": "ENV_RECIPIENT_ALLOWLIST", "label": "RECIPIENT_ALLOWLIST", "description": "Optional comma-separated base58 pubkeys. When set, send_transfer refuses any recipient not in the list.", "required": false, "secret": false, "default": "" }, { "id": "ENV_REQUIRE_CONFIRM", "label": "REQUIRE_CONFIRM", "description": "When on (default), send_transfer refuses until re-issued with confirm:true. Set 0/false to disable the gate.", "required": false, "secret": false, "default": "true" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.nirholas/portfolio-mcp", "registryVersion": "0.1.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2Fportfolio-mcp/versions/0.1.2", "repository": "nirholas/three.ws", "sourceCommit": "7d9dd459db561b6ad025c8e233591c97ff92ab4c", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "@three-ws/portfolio-mcp", "version": "0.1.2", "integrity": "sha512-nIO2VyV2ldsBcD+1elvFZbPEo2TfxyHKkQHNGSfnUuCc30Mz6bP/tACJpcJF1dtp4MUMjMMcZCs2D18qc7ousw==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T00:57:40.396Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }