mcp-server
v0.1.0Read-only MCP server for wealthAPI: portfolio, cash-flow, and dividend insights for AI assistants.
Values you need
| Variable | What it is | |
|---|---|---|
BEARER_TOKEN | required secret | Personal wealthAPI API token (wapi_key_…) |
LOG_LEVEL | optional | 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-mcpAdd 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
- Ask the user for: BEARER_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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