AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

three.ws Portfolio

Community

MCP server by nirholas · updated · ★ 241

Score 82

An agent's trading state — portfolio value, PnL, live balances, trade feed, and signed transfers. three.ws Portfolio is a community project by nirholas, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 3 days ago

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 241 stars, original repository

Security

Runs a script automatically when the package is installed

What you need

SettingNeededWhat it is
SOLANA_SECRET_KEYEnvironment variable, secretRequiredBase58-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.
THREE_WS_BASEEnvironment variableOptionalBase URL of the three.ws API that serves the portfolio + trades endpoints. Override only when self-hosting or targeting a preview deployment. Default: https://three.ws
THREE_WS_TIMEOUT_MSEnvironment variableOptionalPer-request timeout in milliseconds for the live three.ws API reads. Default: 20000
THREE_WS_SESSIONEnvironment variable, secretOptionalYour 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 ow
SOLANA_RPC_URLEnvironment variableOptionalSolana 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. Default: https://api.mainnet-beta.solana.com
MAX_SOL_PER_TXEnvironment variableOptionalPer-transaction spend cap in SOL for native SOL transfers via send_transfer. Bounds the blast radius of a leaked key or an injected argument. Default: 0.5
RECIPIENT_ALLOWLISTEnvironment variableOptionalOptional comma-separated base58 pubkeys. When set, send_transfer refuses any recipient not in the list.
REQUIRE_CONFIRMEnvironment variableOptionalWhen on (default), send_transfer refuses until re-issued with confirm:true. Set 0/false to disable the gate. Default: true

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install three.ws Portfolio

Built from the published package, never by AI
claude mcp add three-ws-portfolio -e SOLANA_SECRET_KEY=YOUR_SOLANA_SECRET_KEY -- npx -y @three-ws/portfolio-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install three.ws Portfolio in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the three-ws-portfolio block.

Weekly newsletter

Like three.ws Portfolio? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to three.ws Portfolio

All alternatives →

three.ws Portfolio: common questions

How do I install three.ws Portfolio?

In Claude Code run claude mcp add three-ws-portfolio -e SOLANA_SECRET_KEY=YOUR_SOLANA_SECRET_KEY -- npx -y @three-ws/portfolio-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is three.ws Portfolio the official server?

three.ws Portfolio is a community project by nirholas, not verified by a company domain.

Is three.ws Portfolio free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is three.ws Portfolio safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to three.ws Portfolio?

Similar MCP servers: mcp, CCXT, Finance Toolkit, Yahoo Finance2.

Does three.ws Portfolio work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.