# Optionality > An AI-judged options trading practice drill. The Firm deals a scenario, the trainee writes a free-text trade pitch, and an AI judge scores it across six dimensions, parses the trade legs, and shows how well the pitch separated signal from noise. Optionality is a single-page web app backed by an MCP (Model Context Protocol) server. Humans use the web UI; AI agents can call the same MCP tools directly. This is a training simulator — nothing here is investment advice and no real orders are placed. ## Connecting an agent The web app is one client of an MCP server, and an agent can call the same tools directly. - MCP endpoint (streamable HTTP, no account, no API key): https://optionality-mcp.fastmcp.app/mcp - Claude.ai or Claude Desktop: Customize → Connectors → Add custom connector → paste the endpoint; leave the OAuth fields blank - Claude Code: `claude mcp add --transport http optionality https://optionality-mcp.fastmcp.app/mcp` - Cursor (`.cursor/mcp.json`): `{"mcpServers": {"optionality": {"url": "https://optionality-mcp.fastmcp.app/mcp"}}}` - VS Code (`.vscode/mcp.json`): `{"servers": {"optionality": {"type": "http", "url": "https://optionality-mcp.fastmcp.app/mcp"}}}` - MCP Registry: `io.github.lonniev/optionality-mcp` First connection: 1. Ask the person for their Nostr npub (npub1…). Never ask for an nsec. 2. `optionality_request_npub_proof(patron_npub=…)` sends them a Nostr direct message. They reply from their Nostr client; then call `optionality_receive_npub_proof(patron_npub=…, nonce=…)` once with the nonce the request returned. Your connection then holds the npub: pass only `npub` on every paid call. 3. `optionality_check_balance`. If it is empty, `optionality_purchase_credits` returns a Lightning invoice for the person to pay, and `optionality_check_payment` confirms it. `optionality_service_status` and the `optionality_oracle_*` tools need no proof. `optionality_check_price` previews a fare. The server's own MCP `instructions` repeat these steps. ## What is on this site - **The Pit** — deal a scenario. Three historicity modes (historical, fiction, live — live grounds the scenario in today's market via web search) crossed with four difficulty personas (apprentice, journeyman, adept, sovereign). Optional sector hint and max-loss budget. - **Pitch editor** — write a free-text trade proposal against the dealt scenario. A Socratic clue desk answers questions without spoiling. - **Assessment** — the judge evaluates structure, strikes & tenor, risk/reward, macro context, and tail awareness; parses the pitch into structured legs; and emits a Facts Ledger. Every scenario embeds red herrings — facts that are true but immaterial; citing them as trade drivers costs points, dismissing them earns points. - **Journal** — every play persists; any evaluated entry can be replayed as a mulligan. - **Leaderboard** — global peer rankings by weighted average, best score, streak, and plays. - **Profile & Usage** — display name, avatar, Nostr relays, peer DMs, and a transparency view of Claude API token spend per model. ## Tools - The slow LLM tools (`optionality_deal_scenario`, `optionality_ask_tip`, `optionality_judge_trade`) return a claim check rather than the end item; redeem it with the free companion tools (`optionality_fetch_scenario`, `optionality_fetch_tip`, `optionality_fetch_judgement`), polling until `status` is `done`. - Reads like `optionality_get_leaderboard`, `optionality_list_journal`, and `optionality_get_shared_entries` are inexpensive or free. ## Payments and identity - Identity is a Nostr keypair (npub). There is no account, no email, no subscription and no KYC. - A connection proves its npub with a Nostr DM challenge, or by signing each request with the npub's key (NIP-98). - Tool calls debit a balance of sats, pre-funded with a Bitcoin Lightning invoice. - Each operator sets its own per-tool prices. Monetization is the Tollbooth DPYC™ protocol: https://tollbooth-dpyc.com ## License, patent, and trademarks - Source is open under the Apache License 2.0. The services built on it are private commerce: each operator sets its own tolls. - Patent Pending — US Provisional Application 64/045,999 (Tollbooth DPYC Economic Architecture). - DPYC™, Tollbooth DPYC™ and Don't Pester Your Customer™ are trademarks of Lonnie VanZandt. ## Links - Web app: https://optionality.tollbooth-dpyc.com - MCP endpoint: https://optionality-mcp.fastmcp.app/mcp - Source: https://github.com/lonniev/optionality-mcp - Every service on the network: https://mcps.tollbooth-dpyc.com - Tollbooth DPYC™ (monetization SDK and network): https://tollbooth-dpyc.com - DPYC community and patent filings: https://github.com/lonniev/dpyc-community - DPYC Oracle (free community concierge): https://dpyc-oracle.fastmcp.app/mcp