{
  "slug": "io-github-nirholas-portfolio-mcp",
  "name": "io.github.nirholas/portfolio-mcp",
  "title": "three.ws Portfolio",
  "description": "An agent's trading state — portfolio value, PnL, live balances, trade feed, and signed transfers.",
  "version": "0.1.2",
  "publishedAt": "2026-10-10T20:46:36.138375Z",
  "updatedAt": "2026-10-10T20:46:36.138375Z",
  "repoUrl": "https://github.com/nirholas/three.ws",
  "websiteUrl": "https://three.ws",
  "namespace": {
    "type": "github",
    "owner": "nirholas"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@three-ws/portfolio-mcp",
      "version": "0.1.2",
      "transport": "stdio",
      "runtimeHint": "npx"
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "THREE_WS_BASE",
      "isSecret": false,
      "isRequired": false,
      "description": "Base URL of the three.ws API that serves the portfolio + trades endpoints. Override only when self-hosting or targeting a preview deployment."
    },
    {
      "name": "THREE_WS_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Per-request timeout in milliseconds for the live three.ws API reads."
    },
    {
      "name": "THREE_WS_SESSION",
      "isSecret": true,
      "isRequired": false,
      "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."
    },
    {
      "name": "SOLANA_RPC_URL",
      "isSecret": false,
      "isRequired": false,
      "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."
    },
    {
      "name": "SOLANA_SECRET_KEY",
      "isSecret": true,
      "isRequired": true,
      "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."
    },
    {
      "name": "MAX_SOL_PER_TX",
      "isSecret": false,
      "isRequired": false,
      "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."
    },
    {
      "name": "RECIPIENT_ALLOWLIST",
      "isSecret": false,
      "isRequired": false,
      "description": "Optional comma-separated base58 pubkeys. When set, send_transfer refuses any recipient not in the list."
    },
    {
      "name": "REQUIRE_CONFIRM",
      "isSecret": false,
      "isRequired": false,
      "description": "When on (default), send_transfer refuses until re-issued with confirm:true. Set 0/false to disable the gate."
    }
  ],
  "category": "finance",
  "subcategory": "markets",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/nirholas/three.ws"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for 2 secrets: THREE_WS_SESSION, SOLANA_SECRET_KEY"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account nirholas"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "@three-ws/portfolio-mcp@0.1.2 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 14 files in @three-ws/portfolio-mcp@0.1.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 14 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"portfolio-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@three-ws/portfolio-mcp@0.1.2\"\n      ],\n      \"env\": {\n        \"SOLANA_SECRET_KEY\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 256,
  "archived": false,
  "pushedAt": "2026-10-28T21:55:53Z",
  "health": {
    "score": 76,
    "parts": {
      "popularity": 0.4587220927215393,
      "activity": 1,
      "issues": 0.8181818181818182,
      "security": 1
    },
    "fail": 0,
    "warn": 0,
    "raw": {
      "stars": 262,
      "forks": 69,
      "downloads": 75,
      "hn": {
        "n": 0,
        "pts": 0,
        "t": []
      },
      "issuesOpen": 6,
      "issuesClosed": 27,
      "prsMerged": 233,
      "commits90": 7107,
      "release": "2026-10-11T01:09:28Z",
      "pushed": "2026-10-28T21:55:53Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:35:52.424Z"
  },
  "icon": "/icons/s/io-github-nirholas-portfolio-mcp.svg"
}
