212LensPortfolio workspace

Settings

API credentials and app configuration

Security Notice

Your API credentials are stored locally in your browser (obfuscated, not encrypted). Requests are proxied by this app, but the browser must still send the credentials to that proxy. They are never included in AI connector snapshots. Only use this app on a trusted device and deployment.

Trading 212 API Credentials

Generate your API Key and Secret from the Trading 212 app: Settings → API → Generate API Key. Save both values immediately — they are shown once only.

Account Settings

Display currency is determined automatically by your T212 account currency.

Appearance

System follows your OS dark/light preference automatically.

Auto-Refresh

Enable auto-refresh

Minimum 5 minutes to avoid T212 rate limits

AI Portfolio Connector

Sync a read-only portfolio snapshot for ChatGPT, Claude, Grok and other MCP clients. Trading 212 credentials are never included.

Remote MCP URL

/mcp

Generate a token with npm run connector:token, then configure the same value as MCP_API_TOKEN on the server.

Setup guide

Connector is not configured

Backup & Restore

Export or import your settings. Credentials are always excluded from exports.

212Lens · Next.js 15 + Recharts + Zustand

T212 Public API v0 · FX via Frankfurter (ECB) · Benchmarks via Yahoo Finance