optionality-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@optionality-mcpDeal me an options scenario"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
optionality-mcp
MCP server and React drill UI for an AI-judged options trading practice game. Built on FastMCP.
Optionality is an instance of a Tollbooth-DPYC™ service: engagement is monetized with convenient Don't Pester Your Customer™ (DPYC™) Bitcoin commerce. Patrons pre-fund a balance over Lightning and play without per-request payment ceremonies. All prices are dynamic and set by the operator — the Welcome page shows live quotes. Patrons can also enter Tollbooth-DPYC coupons to take advantage of discounts when they are offered.
How a Round Works
The Dealer deals. A dealer LLM composes a complete options scenario: ticker, spot, IV regime and skew, macro backdrop, catalyst, key levels, and constraints — optionally including a max-loss budget the structure must fit.
You pitch. Free text, the way you'd pitch a senior PM. Multi-leg structures, single legs, or a deliberate stand-aside — declining to trade is a legitimate, gradeable answer.
The Judge grades. A judge LLM parses your pitch into structured legs, scores it across six dimensions, and proposes an alternative structure you can overlay on the risk chart.
Six judging dimensions: Strategy Selection, Strikes & Tenor, Risk/Reward, Macro Integration, Tail Risk, and Communication — each 0–20, rolled into a 0–100 score with letter grades A+ through F.
Related MCP server: Crypto Options Desk MCP
Core Pedagogy — Red Herrings
Each scenario embeds 1–2 facts that are factually TRUE but immaterial, woven inline into the narrative and never flagged. Citing them as trade drivers penalizes the trainee; recognizing them as noise and setting them aside earns points. The drill is signal-from-noise on a tape where everything you read is true.
A Facts Ledger accompanies every evaluation: which scenario facts you integrated, which you missed, which red herrings you caught, and which you followed.
Scenario Modes & Difficulty
Three historicity modes:
Historical Fiction — real, identifiable market moments (SVB week, the gilt crisis), grounded in the actual macro and IV regime of the day
Fiction — invented regimes: counterfactual shocks, de-peg cascades, gamma squeezes
Live Events — web-search-grounded scenarios anchored to this week's actual tape, with cited sources
Four difficulty personas: Apprentice, Journeyman, Adept, Sovereign. Leaderboard points are difficulty-weighted, so rankings can't be padded on easy mode. A Mulligan mode replays an already-judged scenario fresh.
Options Math — One Source of Truth
The server builds the full option chain from the dealer's scaffold — three expirations, a strike ladder around spot, a three-anchor IV smile honoring put-bid skew — and prices it with Black–Scholes. The same math runs client-side, so the trainee, the charts, and the judge all see identical numbers.
Option chain modal in broker convention: calls left, strikes and smile center, puts right; tap a mid to buy or sell; running net-premium readout
Risk profile chart with expiration P/L, breakeven markers, and a DTE slider that replays theta bleed across the holding period
Judge-alternative overlay to compare your payoff curve against the structure the judge would have run
Socratic Clue Desk
Mid-scenario, ask anything. Educational questions get direct, formula-backed answers; tactical questions get redirected to the dimension worth more thought — the responsibility stays with the trainee. The desk never reveals the scenario's hidden facts or red herrings. Clues carry a scoring penalty.
Journal, Leaderboard & Peer Learning
Journal — every round persisted: open drafts, submitted pitches, full evaluations with leg tables and charts
Leaderboard — six sort orders (weighted average, weighted best, raw average, raw best, streak, played), filterable by mode and difficulty
Streaks — consecutive scores of 70+, current and all-time
Shared entries — opt in to share an evaluated round so others can study the pitch, the grade, and the ledger
Profile — display name, avatar, bio
Usage — transparency tab showing per-model token consumption, per-tool spend, and the patron's account statement
Repo Layout
optionality-mcp/
├── server.py # FastMCP SSE server (Python) → Horizon
├── tools/ # dealer, judge, journal, leaderboard, profile, options chain
├── prompts.py # dealer / judge / clue-desk personas
└── frontend/ # React 18 + Vite + TS UI → Cloudflare PagesHeavy LLM tools (deal, judge, clue desk) use a claim-check async pattern: the call returns a claim immediately and the client polls a free fetch tool, so slow generations survive client timeouts.
DPYC Ecosystem
optionality-mcp is one Operator in the DPYC federation — independent MCP servers that share a Nostr identity model, Bitcoin Lightning payments, and the tollbooth-dpyc SDK. Peer repos:
Repo | Role |
Python SDK — vault, auth, pricing, Lightning, Nostr identity | |
Governance registry: membership, advisories, threat model | |
Community concierge (free onboarding + member lookup) | |
Certification backbone (Schnorr-signed certificates) | |
Sample Operator (canonical template) | |
iOS pricing-model editor / operator console | |
Monetized graph answers: named Cypher templates over Neo4j/AuraDB | |
Charles Schwab brokerage data | |
TheBrain personal knowledge graph | |
X/Twitter posting | |
Tax classification + Cloudflare Pages UI | |
Options analytics (brokerage-data Operator) | |
OAuth2 callback handler (advocate service) | |
URL shortener utility |
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect your AI to a funded trading account. Read & trade a simulated funded challenge.
Options analytics for AI assistants: chains, IV rank, VRP, Greeks, GEX, expected moves, screeners.
Anti-firehose options-flow data for AI agents: curated daily pool, features, realized outcomes.
Pay-per-call trading intelligence for AI agents: live market regime, trading signals, composite conv
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with tools for paper trading stocks, options, ETFs, and bonds, including advanced options strategies and risk analysis, using real market data without financial risk.13Apache 2.0
- AlicenseBqualityCmaintenanceAn MCP server that gives an LLM agent a typed, audited tool surface over quant crypto-options desk analytics: gamma exposure, vanna, skew, vol surface, options flow, technicals, portfolio greeks, scenario analysis, and live positions.221MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for spread-only options execution on Base L2, enabling AI agents to trade options via a defined tool loop.1MIT
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to live options market data with 70+ tools for exposure analytics, volatility, strategy signals, and historical backtesting.1MIT