Strata MCP
This server provides capability-gated access to Strata and Sonar financial features, acting as a thin adapter over the Stratabook SDK. Available tools and actions include:
Capabilities:
strata_capabilitieslists Strata features currently available to MCP clients.Markets:
strata_marketslists Strata markets and Sonar quote availability (optionally including paused markets).Quotes:
strata_quoterequests a short-lived Sonar quote for a given market, returning expected/minimum output, fees, price impact, and expiry. It takes market label, side (buy/sell), input amount in atoms, and optional slippage BPS (default 0).Action graph & agent harness:
strata_action_graphexposes the live executable topology; the compact Strata Agent Harness is available as a resource or in initialization, withstrata_startprompt.Trade execution (when
trade.prepare/trade.submitenabled):strata_execution_challenge,strata_execution_prepare,strata_execution_submit.Order management (when
orders.prepare/orders.submitenabled):strata_order_challenge,strata_order_prepare,strata_order_submit,strata_order_status.Readiness:
GET /healthvalidates the live capability catalog.
Safety: never handles private keys or wallet secrets; amounts are base-10 atom strings; zero slippage by default; all calls recheck live policy.
Provides live market data and decision-ready quotes from Sonar, Strata's unified liquidity and matching system, enabling agents to discover markets and request quotes with price impact, fees, and minimum output.
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., "@Strata MCP get a quote for selling 10 SOL on SOL/USDC"
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.
Strata MCP
Give any MCP-compatible agent direct access to Strata markets and Sonar. It works across Claude Desktop, Cursor, Windsurf, Codex and any standards-based MCP host.
Read-only access works immediately. No wallet, API key, session key, environment variable or settings screen is required to explore markets, books, prices, candles, trades, quotes and public maker data.
How you connect | Best for | What stays private |
Hosted: | Instant reads, Sonar quotes and externally signed prepare/submit flows | The shared server never receives a session secret |
Local: | Reads now; optional one-call trading after | The session secret remains in a mode-0600 file on the user's machine |
Intent, Strand and Current controls are live. A connected local MCP can execute session-backed trades, orders, TWAPs and Intent updates in one call. The hosted shared MCP exposes Intent prepare/submit instead because it deliberately never stores a user's session secret. Current tracks Strata's live mark automatically.
Tool availability follows Strata's live safety policy. If an operation is paused, its tool disappears immediately; everyday reads and quotes require no activation.
The default tool mode is deliberately compact. Agents call the requested tool
directly instead of burning discovery calls before a quote. Use
--mode advanced (or STRATA_MCP_MODE=advanced) only when an integration
needs the explicit challenge / prepare / submit protocol tools.
For the leanest and safest surface, select one domain profile at connection
time. A profile is a hard boundary: unrelated tools are absent from discovery
and cannot be called. Local clients use --profile points (or
STRATA_MCP_PROFILE=points); hosted clients use
https://api.stratabook.app/mcp?profile=points. Interface mode is independent,
so --mode advanced --profile limit_orders locally, or hosted
?mode=advanced&profile=limit_orders, exposes the complete limit-order protocol
without TWAP, maker, Points, or owner-admin tools. Omitting both preserves the
compact compatible surface.
Start locally
Read-only use needs no wallet, key, autonomy setting, or environment variable:
npx -y @stratabook/mcpTrading setup is optional. When needed, the local MCP generates its own key, opens the owner-wallet page, and saves the secret in a mode-0600 local file. The browser and Strata receive only the public key:
npx -y @stratabook/mcp connectThis opens the client-neutral Strata limit picker, registers the locally generated key with one wallet signature, saves the credential privately, and returns to the live Control Center. Run the same command again to replace the old key atomically; the old key is revoked in the same signed transaction.
There is no secret to paste into chat, no environment-variable screen, and no client config to edit after the read-only server is installed. A running MCP process detects the new, replaced, or removed local credential automatically; no client restart is required for credential changes. A package-version upgrade still requires the MCP host to launch the new process. Revoke the exact session and delete its local credential with:
npx -y @stratabook/mcp disconnectGeneric configuration for Claude Desktop, Cursor, Windsurf, and other JSON-config MCP clients:
{
"mcpServers": {
"strata": {
"command": "npx",
"args": ["-y", "@stratabook/mcp"]
}
}
}Codex happens to support a one-line client-specific installer:
codex mcp add strata -- npx -y @stratabook/mcpCheck the whole read-only connection without placing a trade:
npx -y @stratabook/mcp doctorThe private credential defaults to ~/.config/strata/mcp.json on macOS/Linux
and %APPDATA%\Strata\mcp.json on Windows. Override it with
STRATA_MCP_CREDENTIALS_FILE when a managed secret volume is required.
The compact default exposes the tools ordinary users need:
strata_markets,strata_marks,strata_book,strata_candles,strata_tradesstrata_quote— accepts0.1 SOL,20 USDC, or$20; token atoms remain optionalstrata_portfolioandstrata_market_making_statusstrata_trade— returns a live quote when trading is not connected, with one setup link; follows the user's session limits when connectedstrata_order_execute— understands instructions such as “sell 10% of available SOL at 3% above mark”; resolves exact atoms and tick rounding, submits through a warm order channel, and maintains fail-closed dead-man protectionstrata_market_making_prepareandstrata_market_making_submit_and_waitstrata_autonomy— reports the user's limits plus MCP version/mode, loaded and on-chain session consistency, execution readiness, expiry, and clock skew
Advanced mode additionally exposes the complete protocol surface, including:
strata_capabilitiesstrata_action_graphstrata_platform_graphstrata_statusstrata_candlesstrata_marksstrata_twapsstrata_twap_challengestrata_twap_cancelstrata_twap_preparestrata_twap_submitstrata_portfoliostrata_portfolio_historystrata_market_making_statusstrata_market_making_reputationstrata_market_making_prepare— start or stop a Strand/Current from a market label, decimal base size, spread, and duration; no arrays or atom conversionstrata_market_making_submit_and_wait— submit the externally signed preparation idempotently and wait for matching chain-derived statestrata_market_making_strand_prepare,strata_market_making_strand_submitstrata_market_making_current_prepare,strata_market_making_current_submitstrata_market_making_intent_prepare,strata_market_making_intent_submit— control an existing curated IntentBook seat with a Vault session; Strata pays the feestrata_vault_statusstrata_vault_setup,strata_vault_deposit,strata_vault_withdraw,strata_vault_delegate,strata_vault_policy,strata_vault_pause— prepare owner actions with Strata as sponsored fee payerstrata_vault_submit— submit the owner-signed preparation; Strata pays and broadcastsstrata_vault_submission— durable outcome of a submissionstrata_points— complete fleet-wide Points program in one read; included in default simple modestrata_rewardsstrata_referralsstrata_referral_link— prepare externally signable consent or submit the signed linkstrata_referral_claim— prepare externally signable consent or submit the signed claimstrata_bugsstrata_bug_submit— prepare externally signable bytes or submit the signed reportstrata_marketsstrata_quoteandstrata_exact_output_quote— live market quotes (spend X / receive at least Y)strata_swap_quote— live catalog-asset swap quotesstrata_execution_challengestrata_execution_preparestrata_execution_submitstrata_execution_status— recover a durable immediate-execution receiptstrata_order_challenge, whenorders.prepareis enabled for MCPstrata_order_prepare, whenorders.prepareis enabled for MCPstrata_order_submit, whenorders.submitis enabled for MCPstrata_order_status, whenorders.submitis enabled for MCP
Every initialization response carries the compact Strata Agent Harness. It
instructs an agent to call normal read tools directly. The
server publishes a lean strata://agent-router/v1 tree plus one
strata://agent-branch/{leaf}/v1 resource per isolated context. The
strata_start prompt accepts an optional branch and includes only that branch;
without one it includes only the root router. The complete audit surface remains
available at strata://agent-harness/v1.
Global authority and secret-handling invariants live once at
strata://agent-kernel/v1; branches bind its digest instead of copying it. The
canonical registered-tool ownership and profile map is available at
strata://agent-tool-registry/v1.
The live executable topology is also available as
strata://action-graph/v1. The complete entity, operation, and workflow map is
available as strata://platform-graph/v2.
The tool list follows the live public policy. Every call rechecks that policy, so a disabled capability stops immediately even if a client cached an older tool list. Tool discovery from the connected server remains authoritative for self-hosted deployments or any future policy change.
For normal maker operation, use two calls:
Call
strata_market_making_preparewithaction: "start", a label such asSOL/USDC,product: "current"or"strand",spreadBps, a decimal size such as0.01 SOL, and the maker wallet. Duration defaults to ten minutes and levels default to three.Verify and sign only
prepared.transaction_base64in the external wallet, then pass it,prepared.maker_control_id, and the unchangedpreparationTokentostrata_market_making_submit_and_wait.
The second call returns only after Strata's chain-derived maker status matches
the exact product settings. The token contains no signing authority and keeps
the two-call flow working across stateless HTTP requests or an MCP process
restart. Use action: "stop" through the same pair. The older product-specific
tools remain available for strategies that deliberately manage every low-level
array and safety field.
With a local trading session, strata_market_making_intent_execute posts or
permanently revokes an existing curated IntentBook seat in one call under the
same ask/limits/instant slider. The session signs only the SDK-verified packet;
the owner wallet does not sign each update. Exact submit retries return the
original confirmed signature while the packet remains live.
For maker funding, initialize the market Vault if needed, activate the Strand
or Current, then deposit with strata_vault_deposit. The market keeps that
available collateral while a control is live and returns it after the final
control is disabled, exhausted, expired, or cancelled. Current tracks Strata's
live mark automatically.
The matching TypeScript package ships strata-maker-conformance. Its default
safe mode exercises this hosted MCP's discovery, public maker reads, and
fresh-request Strand and Current preparations without signing or broadcasting.
The explicitly confirmed funded mode signs a Current preparation externally,
submits it in a separate MCP request, waits for chain-derived state, and stops
it through the same restart-safe continuation path. Production activation runs
the safe suite automatically and rolls back the MCP release if it fails.
Related MCP server: inferventis
Hosted Streamable HTTP
The managed public endpoint is:
https://api.stratabook.app/mcpFor a self-hosted or development process:
strata-mcp --transport http --port 8787Place TLS and request limiting in front of /mcp. Loopback is the default bind;
the official MCP HTTP helper enforces Host validation for local installations.
GET /health is a readiness check, not a shallow process-liveness response. It
validates the live capability catalog against the bundled public contract and
agent harness. A stale SDK or incompatible contract therefore returns 503 and
blocks release activation. The same process serves the reviewed discovery
manifest at /.well-known/strata-agent.json and the graph at
/.well-known/strata-action-graph.json.
Safety
The external agent owner decides what its agent may do and configures its signer. MCP can request authorization bytes, prepare quote-bound trades, bounded TWAP placement or cancellation, or atomic place, cancel, cancel-all, replace, or bounded batch order controls, and submit the externally signed result. It accepts public keys, detached signatures, and signed transactions, never private keys, seed phrases, or wallet secrets. Simple quote and trade tools accept exact decimal strings with their symbol; conversion never uses floating-point arithmetic. Advanced protocol fields remain token atoms encoded as base-10 strings.
Quotes default to zero tolerance. maximumToleranceBps is the agent's own
floor (the most it accepts below the quoted output); price_impact_pct is
measured from the book. They are unrelated, and every quote result states both.
Available Tools
15 toolsstrata_autonomyStrata session autonomyARead-onlyIdempotent
Read how much this MCP may finish by itself: the autonomy level (ask / limits / instant), any USD ceilings, and how to change it. Read-only — the level is the user's, set out-of-band (the Agents page or the MCP's own env), never by an agent.
Inputs: no named parameters.
strata_bookStrata order bookARead-onlyIdempotent
Read the executable order book for one opaque market ID: bids and asks, one size per price level. Top of book is the best bid and ask.
Inputs: marketId (required), depth.
strata_candlesStrata candlesARead-onlyIdempotent
Read bounded time-bucketed candles for one opaque Strata market ID.
Inputs: toMs (required), fromMs (required), marketId (required), resolutionSeconds.
strata_market_making_intent_executeExecute Strata IntentBook controlADestructive
Post or permanently revoke an existing curated IntentBook seat in one call. The configured Vault session verifies and signs; Strata pays the network fee. Under ask, or above a limits ceiling, this prepares the exact packet but does not sign it.
Inputs: action (required), marketId (required), side, maxPriceAtoms, +2 more.
strata_market_making_preparePrepare simple Strata market makingADestructive
Prepare a pro-level Strand or Current from a market label, decimal base size, spread, and duration. Strata resolves IDs, decimals, live mark, tick grid, expiry, safety bounds, and fixed on-chain arrays. Sign only the returned transaction externally, then call submit_and_wait.
Inputs: action (required), market (required), product (required), makerWallet (required), +7 more.
strata_market_making_statusRead Strata maker statusARead-onlyIdempotent
A maker's products, live exposure, health, and kill state in one market — public by wallet address, no signature.
Inputs: marketId (required), walletAddress (required).
strata_market_making_submit_and_waitSubmit and confirm Strata market makingADestructiveIdempotent
Submit the exact externally signed quickstart transaction with the unchanged preparation token and wait until Strata's chain-derived maker state confirms the product started or stopped. The token survives stateless HTTP requests and server restarts; the control ID is its default idempotency key.
Inputs: makerControlId (required), preparationToken (required), signedTransactionBase64 (required), idempotencyKey, +1 more.
strata_marketsStrata marketsARead-onlyIdempotent
List Strata markets and their current Sonar quote availability.
Inputs: includePaused.
strata_marksStrata markARead-onlyIdempotent
Read the current customer-facing reference price for one opaque market ID.
Inputs: marketId (required).
strata_order_executeExecute a Strata order controlADestructive
Place a human limit order such as 'sell 10% of available SOL at mark +3%' in one call, or use the exact-atom cancel/replace/batch controls. Strata resolves the balance, market, mark, decimals and tick grid internally. Autonomous placements keep a warm dead-man guard; if it cannot be established, the new order is cancelled fail-closed.
Inputs: action (required), side, market, orderId, +11 more.
strata_pointsStrata PointsARead-onlyIdempotent
Read the complete fleet-wide Points program in one request: Season and epoch timing, weekly budget, allocation weights, immutable owner balance and lane breakdown, and bounded standings. All live markets participate; current-week activity remains provisional until the published finalization time.
Inputs: limit, walletAddress.
strata_portfolioStrata accountARead-onlyIdempotent
The whole account in one public read, by wallet address: balances (total / available / locked, exact USD), positions, open orders, and recent fills across every live market. No signature, no session key, no market selection.
Inputs: walletAddress (required).
strata_quoteSonar quoteARead-only
Request a short-lived Sonar quote. Use a market label and a human amount such as 0.1 SOL, 20 USDC, or $20; exact input atoms remain available for advanced clients. Returns expected output, fees, price impact, and expiry.
Inputs: side (required), market (required), amount, amountInAtoms, +1 more.
strata_tradeTrade on StrataADestructive
Quote and trade in one obvious tool. Human amounts such as 0.1 SOL and $20 are supported. Without a trading connection it returns the live read-only quote plus one setup link; with a session it follows the user's autonomy limits and may submit.
Inputs: side (required), market (required), amount, amountInAtoms, +2 more.
strata_tradesStrata recent tradesARead-onlyIdempotent
Read recent anonymized prints for one opaque market ID: price, size, side, and time.
Inputs: marketId (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a distinct resource or action, and the descriptions clearly separate market data, quoting, trading, and market-making. However, strata_trade and strata_trades are one character apart, and strata_quote/strata_trade/strata_order_execute overlap in intent, so an agent may need to read descriptions carefully.
All names share the strata_ prefix and use snake_case, and subdomain groupings like market_making_* and order_execute are consistent. But read tools are bare nouns (portfolio, candles, marks) while write tools are verbs, and trades/trade and markets/marks are lexically close, so the convention is not perfectly uniform.
Fifteen tools is at the high end of the well-scoped range, but each represents a distinct capability: account snapshot, points, market data, quoting, execution, market-making, and autonomy. No tool feels like filler or duplication despite the rich feature set.
The surface covers account/portfolio, points, market discovery, market data, quoting, market and limit order execution, market-making lifecycle, IntentBook seats, and autonomy controls. It has no obvious dead ends: order_execute handles cancel/replace/batch, and market-making has prepare/submit/status/intent_execute.
Maintenance
Related MCP Connectors
Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.
Live prices, perps, prediction markets and a paper trading desk over one MCP.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Agent-native insurance quoting protocol — sandbox, MCP + REST, eligibility pre-flight
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT

inferventisofficial
FlicenseNot gradedqualityCmaintenanceEnables AI agents to access real-time financial data, news, and web reading through a single MCP endpoint with zero installation.-- AlicenseAqualityBmaintenanceEnables MCP-compatible clients to access sports betting odds, player props, prediction markets, live previews, coverage checks, and ParlayAPI account signup through native tools.2250 PyPI1MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to access market data from TradingView with automatic fallback to licensed providers, including symbol search, quotes, OHLCV history, technical indicators, and health checks.585 npmMIT