mcp-paradigm
v0.1.4MCP server for the Paradigm trading platform (DRFQv2 + FSPD)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
paradigm_drfqv2_mmp DRFQv2 MMP
DRFQv2 Market Maker Protection — read status or reset the flag. ``reset`` is destructive (re-arms the desk). Only call after the trigger has been investigated.
| Parameter | Type | Description |
|---|---|---|
action | string | 'status' to read current state; 'reset' to re-arm the desk. |
paradigm_drfqv2_orders DRFQv2 Orders
List the desk's DRFQv2 orders, or fetch one by id.
| Parameter | Type | Description |
|---|---|---|
base_currency | Base currency filter. | |
currency | Quote currency filter. | |
cursor | Pagination cursor. | |
order_id | If set, fetches the single order; otherwise list with filters. | |
page_size | Page size. | |
rfq_id | Filter by RFQ id. | |
state | Filter by state. | |
venue | Filter by venue. |
paradigm_drfqv2_post_order DRFQv2 Post / Update Order
Post a new order, or amend an existing one if ``order_id`` is set. Async-first: the response state is always ``PENDING`` with zeroed fill quantities. Poll via ``paradigm_drfqv2_orders(order_id=...)`` or subscribe to the ``order`` channel for terminal state. Destructive — puts money on the wire.
| Parameter | Type | Description |
|---|---|---|
quantity * | string | Order quantity (decimal string). |
rfq_id * | string | The RFQ to quote/cross. |
side * | string | BUY or SELL. |
account_name | Account name (omit for desk default). | |
label | Caller idempotency label. | |
legs | Per-leg prices for multi-leg structures. | |
order_id | If set, amends an existing order (PUT) instead of posting new (POST). | |
price | Order price (decimal). Required for LIMIT. | |
time_in_force | string | Maker quoting = GOOD_TILL_CANCELED; taker crossing = FILL_OR_KILL. |
type | string | LIMIT or HIDDEN. |
paradigm_drfqv2_cancel DRFQv2 Cancel
Cancel a DRFQv2 RFQ, a single order, or a batch by filter. For a global kill switch across all products, use ``paradigm_kill_switch`` instead.
| Parameter | Type | Description |
|---|---|---|
target * | string | 'rfq' cancels an RFQ; 'order' cancels by order_id; 'orders' batch-cancels by filter. |
base_currency | Batch filter: base currency. | |
currency | Batch filter: currency. | |
order_id | Order id (for 'order'). | |
rfq_id | RFQ id (for 'rfq' / 'orders'). | |
state | Batch filter: state. | |
venue | Batch filter: venue. |
paradigm_drfqv2_price_legs DRFQv2 Price Legs
Given strategy bid/ask, return per-leg prices.
| Parameter | Type | Description |
|---|---|---|
legs * | array | Strategy legs. |
accept_estimated_prices | Accept estimated prices. | |
algorithm_version | Algorithm version. | |
ask_price | Strategy-level ask. | |
bid_price | Strategy-level bid. |
paradigm_drfqv2_instruments DRFQv2 Instruments
List or fetch a single DRFQv2 instrument (including expired).
| Parameter | Type | Description |
|---|---|---|
base_currency | Filter by base currency. | |
cursor | Pagination cursor. | |
include_greeks | Include greeks payload. | |
instrument_id | If set, fetches a single instrument by id. | |
kind | FUTURE or OPTION. | |
margin_kind | INVERSE or LINEAR. | |
page_size | Page size. | |
state | ACTIVE or EXPIRED. | |
venue | Filter by venue. | |
venue_instrument_name | Venue-native instrument name(s). |
paradigm_drfqv2_counterparties DRFQv2 Counterparties
List counterparty desks the firm can RFQ. Each desk exposes ``desk_name``, ``firm_name``, ``groups``, and ``venues`` — the settlement venues that desk can trade. Use the ``venues`` field (or the ``venue`` filter) to resolve which LPs can quote a given venue before calling ``paradigm_drfqv2_create_rfq``; a desk that doesn't list a venue can't be quoted there. Without ``venue`` this returns one page (honouring ``cursor`` / ``page_size``). With ``venue`` set it pages through every desk and returns the full filtered set as ``{"results": [...], "count": N, "venue": ..., "scanned": M}`` — so "…
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
page_size | Page size. | |
venue | Filter to desks that support this settlement venue (e.g. 'PRDX', 'DBT'). When set, every page is scanned and only matching desks are returned, so the result is the complete set of LPs reachable for th… |
paradigm_drfqv2_rfqs DRFQv2 RFQs
List DRFQv2 RFQs visible to the desk. For a single RFQ with its BBO and order book, use ``paradigm_drfqv2_rfq_snapshot`` instead.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
page_size | Page size. | |
product_codes | Product code filter. | |
role | MAKER or TAKER perspective. | |
state | Filter by RFQ state. | |
strategies | Strategy code filter. | |
venue | Filter by venue. |
paradigm_drfqv2_create_rfq DRFQv2 Create RFQ
Create a new DRFQv2 RFQ. Broadcast semantics: when ``counterparties`` is empty (the default), the RFQ fans out to **all makers eligible for ``venue``** — this is the normal "ask the whole street" path. Pass an explicit list of desk names (from ``paradigm_drfqv2_counterparties``) only to target a subset; desks that don't support ``venue`` can't be quoted and are skipped by the platform. Places a request-for-quote on the wire — gate behind explicit user confirmation.
| Parameter | Type | Description |
|---|---|---|
legs * | array | Strategy legs. |
quantity * | string | RFQ quantity (decimal string). |
venue * | string | Settlement venue. |
account_name | Account to bill (omit for desk default). | |
counterparties | array | Desk names to RFQ (from paradigm_drfqv2_counterparties). Leave empty (the default) to broadcast to every maker eligible for the chosen venue — the platform fans the RFQ out to all venue-eligible cou… |
is_taker_anonymous | boolean | Hide the taker desk name from counterparties. |
label | Caller idempotency label, echoed in response. | |
state | string | OPEN sends now; DRAFT stages without notifying counterparties. |
paradigm_subscribe Subscribe (WebSocket)
Open a DRFQv2 WebSocket subscription and return its ``subscription_id``. The server holds one shared WebSocket connection and keeps the events buffered; pass the returned ``subscription_id`` to ``paradigm_poll`` to drain them and to ``paradigm_unsubscribe`` to close. Polling starts from the moment of subscription — events that arrived earlier are not replayed.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Stream to open. One of: rfq, order, bbo, trade, trade_confirmation, mmp. |
cancel_on_disconnect | boolean | Connection-level Paradigm setting. If true, the platform cancels the desk's live orders when this socket drops. Only applies on the subscribe that first opens the connection; leave false for read-only… |
paradigm_poll Poll Subscription (WebSocket)
Drain buffered events for a subscription. Returns ``{events, cursor, channel, connected}``. Each event carries a monotonic ``seq``, the ``channel``, ``received_at``, and the ``data`` payload. Pass the returned ``cursor`` back as ``since`` (or just call again — the cursor advances automatically) to get only new events. Events age out of the buffer after the configured TTL, so poll often enough to keep up.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Id returned by paradigm_subscribe. |
limit | Max events to return this poll. | |
since | Return only events with seq greater than this cursor. Omit to continue from the last poll's cursor. |
paradigm_unsubscribe Unsubscribe (WebSocket)
Close a DRFQv2 WebSocket subscription. When the last subscription closes, the shared WebSocket connection is torn down.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Id returned by paradigm_subscribe. |
paradigm_drfqv2_trades DRFQv2 Trades
List trades for the desk, fetch one, or read the public tape.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
mode | string | 'desk' = your trades; 'tape' = public anonymized tape. |
page_size | Page size. | |
product_codes | Product code filter. | |
state | State filter. | |
strategies | Strategy code (tape mode). | |
trade_id | If set, fetches one trade. | |
venue | Venue filter. |
paradigm_echo Echo
Round-trip a payload through Paradigm's echo endpoint. The first call you should make after wiring up the server: a 200 response confirms your access key, signing key, and base URL are all correct. GET form has no body; POST echoes back the payload.
| Parameter | Type | Description |
|---|---|---|
payload | Optional JSON object to round-trip. None ⇒ GET /echo. |
paradigm_identity_credentials Identity Credentials
Active venue API credentials registered for the trading desk.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
page_size | Page size. | |
venue | Filter by venue. |
paradigm_positions Positions
Desk positions across venues. Returns the server-side cached snapshot. If you need fresh data, call ``paradigm_positions_refresh`` first and poll this tool — the refresh is async on the server side, so a single GET right after a refresh trigger may still return stale data.
| Parameter | Type | Description |
|---|---|---|
account_name | Filter by API account. | |
product_code | Filter by product code. | |
venue | Filter by venue. |
paradigm_positions_refresh Positions Refresh
Trigger an async refresh of the desk's positions cache. Fire-and-forget — the server processes the refresh in the background (HTTP 202) and you must poll ``paradigm_positions`` to read the updated snapshot.
paradigm_leaderboard Leaderboard
Cross-firm leaderboard for trade volume or liquidity quality.
| Parameter | Type | Description |
|---|---|---|
metric * | string | trade_volume | liquidity_fills | liquidity_responses. |
currencies | Comma-separated currencies. | |
end | End time (unix ms). | |
instrument_kinds | Comma-separated instrument kinds. | |
protocols | Comma-separated protocols (D1, OB, RFQ). | |
start | Start time (unix ms). | |
strategies | Comma-separated strategy codes. | |
venues | Comma-separated venues. |
paradigm_leaderboard_preferences Leaderboard Anonymity
Set the firm's leaderboard anonymity preference.
| Parameter | Type | Description |
|---|---|---|
disabled_leaderboard_anonymity * | boolean | True to show firm name on leaderboards; False for anonymous. |
paradigm_fspd_mmp FSPD MMP
FSPD MMP status, or reset to re-arm the desk.
| Parameter | Type | Description |
|---|---|---|
action | string | 'status' to read; 'reset' to re-arm the desk. |
paradigm_fspd_orderbook FSPD Orderbook
Orderbook for an FSPD strategy — full asks/bids depth by default, BBO summary if ``summary=True``.
| Parameter | Type | Description |
|---|---|---|
strategy_id * | string | FSPD strategy id. |
summary | boolean | True returns BBO summary only; false (default) returns full depth. |
paradigm_fspd_orders FSPD Orders
List FSPD orders for the desk, or fetch one by id.
| Parameter | Type | Description |
|---|---|---|
from_order_id | Cursor. | |
kind | ANY or FUTURE. | |
order_id | If set, fetches a single order. | |
settlement_currency | Settlement currency. | |
state | Order state. | |
strategy_id | Filter by strategy. | |
type | LIMIT or MARKET. | |
venue | Venue filter. |
paradigm_fspd_post_order FSPD Post / Replace Order
Post a new FSPD order, or replace one if ``order_id`` is set. Destructive — puts money on the wire.
| Parameter | Type | Description |
|---|---|---|
amount_decimal * | string | Order size (decimal) in clearing currency. |
side * | string | BUY or SELL. |
strategy_id * | string | FSPD strategy to trade. |
account_name | Venue account name. | |
label | Caller label. | |
order_id | If set, replaces the existing order (POST /replace) instead of new. | |
post_only | Post-only flag. | |
price | Limit price (decimal). | |
time_in_force | string | GTC or IOC. |
type | string | LIMIT or MARKET. |
paradigm_fspd_cancel FSPD Cancel
Cancel a single FSPD order, or all orders for the desk (optionally by label).
| Parameter | Type | Description |
|---|---|---|
label | Cancel only orders with this label. | |
order_id | If set, cancels a single order; otherwise cancels all (with optional label). |
paradigm_fspd_instruments FSPD Instruments
List FSPD instruments tradable on the desk.
| Parameter | Type | Description |
|---|---|---|
clearing_currency | Clearing currency. | |
kind | ANY, FUTURE, SPOT. | |
margin_type | INVERSE/LINEAR. | |
name | Paradigm instrument name. | |
settlement_currency | Settlement currency. | |
state | State filter. | |
venue | Clearing venue. | |
venue_instrument_name | Venue-native instrument name. |
paradigm_fspd_strategies FSPD Strategies
List FSPD strategies, or fetch a single one with its legs.
| Parameter | Type | Description |
|---|---|---|
base_currency | Base currency. | |
clearing_currency | Clearing currency. | |
id | Strategy id filter (server-side). | |
kind | ANY/FUTURE/SPOT_FUTURE. | |
margin_type | INVERSE/LINEAR. | |
settlement_currency | Settlement currency. | |
state | State filter. | |
strategy_id | If set, fetches a single strategy by id. | |
venue | Clearing venue. |
paradigm_fspd_venues FSPD Venues
Status of all FSPD venues, or one venue if ``venue`` is set.
| Parameter | Type | Description |
|---|---|---|
venue | If set, fetches a single venue's status. |
paradigm_fspd_system FSPD System Status
FSPD operational state + server time in one call.
paradigm_fspd_trades FSPD Trades
List FSPD trades for the desk, or fetch one by id.
| Parameter | Type | Description |
|---|---|---|
from_trade_id | Cursor. | |
inverse_margined | Inverse-margined. | |
kind | Instrument kind. | |
order_id | Order filter. | |
role | maker or taker. | |
settlement_currency | Settlement currency. | |
state | Trade state. | |
strategy_id | Strategy filter. | |
trade_id | If set, fetches one trade. | |
venue | Venue filter. |
paradigm_obv1_obs OBv1 Order Book Markets
List active OBv1 markets. For a single OB with BBO + quotes book, use ``paradigm_obv1_market_snapshot``.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
page_size | Page size. | |
product_codes | Product codes (comma). | |
rfq_id | Filter by OB id. | |
strategies | Strategy codes (comma). |
paradigm_obv1_create_ob OBv1 Create Market
Open a new OBv1 order book market for the strategy. Public, multi-counterparty.
| Parameter | Type | Description |
|---|---|---|
legs * | array | Strategy legs. |
venue * | string | Settlement venue. |
paradigm_obv1_mmp OBv1 MMP
OBv1 MMP status, or reset to re-arm the desk.
| Parameter | Type | Description |
|---|---|---|
action | string | 'status' to read; 'reset' to re-arm the desk. |
paradigm_obv1_orders OBv1 Fill Orders
List OBv1 fill orders, or fetch one by id.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
order_id | If set, fetches one order. | |
page_size | Page size. |
paradigm_obv1_price_legs OBv1 Price Legs
Given strategy bid/ask, return per-leg prices.
| Parameter | Type | Description |
|---|---|---|
legs * | array | Strategy legs. |
venue * | string | Pricing venue. |
accept_estimated_prices | Allow estimated prices. | |
algorithm_version | Pricing algorithm version. | |
ask_price | Strategy ask (decimal). | |
bid_price | Strategy bid (decimal). |
paradigm_obv1_quotes OBv1 Quotes
List the desk's OBv1 quotes, or fetch one by id.
| Parameter | Type | Description |
|---|---|---|
currency | Currency filter. | |
cursor | Pagination cursor. | |
page_size | Page size. | |
quote_id | If set, fetches a single quote. | |
rfq_id | Filter by OB id. | |
side | Buy or Sell. | |
status | OPEN or CLOSED. |
paradigm_obv1_post_quote OBv1 Post / Update Quote
Post a maker quote on an OBv1 market, or replace one if ``quote_id`` is set. Destructive — adds liquidity that may be hit immediately unless ``post_only`` is set.
| Parameter | Type | Description |
|---|---|---|
account * | string | Account name (required). |
legs * | array | Per-leg prices. |
ob_id * | string | OB id to quote on. |
quantity * | string | Quote quantity. |
side * | string | BUY or SELL. |
client_order_id | Caller idempotency id. | |
ioc | IOC flag. | |
post_only | Post-only flag. | |
quote_id | If set, replaces an existing quote (PUT) instead of posting new. |
paradigm_obv1_cancel OBv1 Cancel Quotes
Cancel a single OBv1 quote, or batch by filter (returns action_id).
| Parameter | Type | Description |
|---|---|---|
currency | Batch: currency filter. | |
price | Batch: cancel near this price. | |
quote_id | If set, cancels a single quote; otherwise batch-cancels by filter. | |
rfq_id | Batch: limit to one OB. | |
side | Batch: side filter. |
paradigm_obv1_instruments OBv1 Instruments
List OBv1 instruments, or fetch one by ``(venue, instrument_name)``. Pass both ``venue`` and ``instrument_name`` to fetch a single instrument by venue-native name. Either one alone is fine as a list filter — ``venue`` filters by clearing venue, ``instrument_name`` is forwarded as the ``name`` filter on the list endpoint.
| Parameter | Type | Description |
|---|---|---|
asset | BCH, BTC, or ETH. | |
cursor | Pagination cursor. | |
instrument_name | If set with `venue`, fetches the single instrument by venue-native name. | |
kind | FUTURE or OPTION. | |
name | Venue-native names filter. | |
page_size | Page size. | |
venue | If set with `instrument_name`, fetches one. |
paradigm_obv1_trades OBv1 Trades
OBv1 trades — single, desk-only blotter, all visible, or public tape.
| Parameter | Type | Description |
|---|---|---|
cursor | Pagination cursor. | |
hide_public | Hide non-participant. | |
mode | string | 'trades' = all visible; 'blotter' = desk's trades; 'tape' = public anonymized. |
page_size | Page size. | |
product_codes | Product code filter. | |
status | Trade status. | |
strategies | Strategy codes (comma). | |
trade_id | If set, fetches one trade. |
paradigm_desk_overview Desk Overview
One-shot snapshot of desk health across all active Paradigm products. Combines: positions, identity credentials, MMP status (DRFQv2, OBv1, FSPD), and per-product platform / system state. Use this as the first call to answer "what state is my desk in?" before drilling into specific products.
paradigm_kill_switch Kill Switch (Cancel All)
Cancel everything live across the desk in a single call. DESTRUCTIVE. Use as a kill switch when something's gone wrong or end-of-day shutdown. By default cancels DRFQv2 orders, OBv1 quotes, and FSPD orders. Disable any product with ``<product>=False``. RFQs/OBs you created stay open — only your active orders and quotes are pulled.
| Parameter | Type | Description |
|---|---|---|
drfqv2 | boolean | Cancel all DRFQv2 orders. |
fspd | boolean | Cancel all FSPD orders. |
obv1 | boolean | Cancel all OBv1 quotes. |
paradigm_drfqv2_rfq_snapshot DRFQv2 RFQ Snapshot
Full state of a DRFQv2 RFQ in one call: RFQ + BBO + order book.
| Parameter | Type | Description |
|---|---|---|
rfq_id * | string | Paradigm DRFQv2 RFQ id. |
paradigm_obv1_market_snapshot OBv1 Market Snapshot
Full state of an OBv1 order book market: market + BBO + quotes book.
| Parameter | Type | Description |
|---|---|---|
ob_id * | string | OBv1 market id. |