three.ws Portfolio MCP Server
by nirholasio.github.nirholas/portfolio-mcpv0.1.2
An agent's trading state — portfolio value, PnL, live balances, trade feed, and signed transfers.
context tax
pending
security
100/100
cold start
pending
freshness
Active25d ago
Our reading of three.ws Portfolio, from the data
three.ws Portfolio is a finance & fintech MCP server from nirholas, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 25 days ago (2026-10-17). For comparison, 63% of finance & fintech servers are active or maintained.
With 241 GitHub stars it ranks #59 of 2,965 finance & fintech servers we index.
It runs locally on your machine over stdio and needs 2 secrets (THREE_WS_SESSION, SOLANA_SECRET_KEY); use a scoped, least-privilege key.
Install three.ws Portfolio MCP server
Install in Claude Code
claude mcp add portfolio-nirholas -e THREE_WS_SESSION='<three-ws-session>' -e SOLANA_SECRET_KEY='<solana-secret-key>' -- npx -y @three-ws/portfolio-mcpInstall in Cursor
{
"mcpServers": {
"portfolio-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/portfolio-mcp"
],
"env": {
"THREE_WS_SESSION": "<three-ws-session>",
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"portfolio-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/portfolio-mcp"
],
"env": {
"THREE_WS_SESSION": "<three-ws-session>",
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"portfolio-nirholas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/portfolio-mcp"
],
"env": {
"THREE_WS_SESSION": "<three-ws-session>",
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"portfolio-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/portfolio-mcp"
],
"env": {
"THREE_WS_SESSION": "<three-ws-session>",
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @three-ws/portfolio-mcp --env SOLANA_SECRET_KEY
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| THREE_WS_BASE | — | — | Base URL of the three.ws API that serves the portfolio + trades endpoints. Override only when self-hosting or targeting a preview deployment. |
| THREE_WS_TIMEOUT_MS | — | — | Per-request timeout in milliseconds for the live three.ws API reads. |
| THREE_WS_SESSION | — | yes | 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. |
| SOLANA_RPC_URL | — | — | 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. |
| SOLANA_SECRET_KEY | yes | yes | 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. |
| MAX_SOL_PER_TX | — | — | 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. |
| RECIPIENT_ALLOWLIST | — | — | Optional comma-separated base58 pubkeys. When set, send_transfer refuses any recipient not in the list. |
| REQUIRE_CONFIRM | — | — | When on (default), send_transfer refuses until re-issued with confirm:true. Set 0/false to disable the gate. |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 25d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-17 · 25d ago · GitHub
Latest release
2026-10-11 · 31d ago · GitHub · forge-v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-10 · 31d ago · official registry · v0.1.2
How it compares in Finance & Fintech
Against the most-starred finance & fintech servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| three.ws Portfolio (this) | 241 | — | not measured | Active | local |
| CCXT | 44,454 | 32 | 9,090 | Active | local |
| Finance Toolkit | 5,439 | — | not measured | Active | local + hosted |
| Financial Datasets | 2,308 | — | not measured | Abandoned | — |
| Agent Toolkit | 1,960 | — | not measured | Active | hosted |
| Stripe | 1,960 | — | not measured | Active | local |
FAQ
›How do I install the three.ws Portfolio MCP server in Claude Code?
Run: claude mcp add portfolio-nirholas -e THREE_WS_SESSION='<three-ws-session>' -e SOLANA_SECRET_KEY='<solana-secret-key>' -- npx -y @three-ws/portfolio-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does three.ws Portfolio require an API key?
Yes. It expects SOLANA_SECRET_KEY, THREE_WS_SESSION, of which 2 are secrets.
›Can I use three.ws Portfolio as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is three.ws Portfolio in the official MCP registry?
Yes, as io.github.nirholas/portfolio-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-10-10
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to three.ws Portfolio
Other finance & fintech MCP servers.