mcp-server

v0.1.0
eu.wealthapi/mcp-server Checked 2 hours ago Published 4 months ago

Read-only MCP server for wealthAPI: portfolio, cash-flow, and dividend insights for AI assistants.

Values you need

VariableWhat it is
BEARER_TOKENrequired secret Personal wealthAPI API token (wapi_key_…)
LOG_LEVELoptional Logging verbosity (debug, info, warn, error) Default: info

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -e 'BEARER_TOKEN=<BEARER_TOKEN>' -- npx -y --package=@wealth_api/mcp-server@0.1.0 wealthapi-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@wealth_api/mcp-server@0.1.0",
        "wealthapi-mcp"
      ],
      "command": "npx",
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@wealth_api/mcp-server@0.1.0",
        "wealthapi-mcp"
      ],
      "command": "npx",
      "env": {
        "BEARER_TOKEN": "<BEARER_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BEARER_TOKEN",
      "id": "bearer-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@wealth_api/mcp-server@0.1.0",
        "wealthapi-mcp"
      ],
      "command": "npx",
      "env": {
        "BEARER_TOKEN": "${input:bearer-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@wealth_api/mcp-server@0.1.0", "wealthapi-mcp"]
env = { "BEARER_TOKEN" = "<BEARER_TOKEN>" }

For AI agents

  1. Ask the user for: BEARER_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_accounts, get_account_balances, get_portfolio_valuation, get_portfolio_allocation, get_cash_flow_summary, get_savings_rate, detect_recurring_transactions, get_dividend_history, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json