mcpserver.lol
registry/ophis-fi-mcp
Connection check verified live · 27h ago

ophis-fi-mcp

Gasless, MEV-protected onchain token swaps for AI agents on 14 EVM chains, built on CoW Protocol.

Tools 14
GitHub stars
Installs / wk 157
Licence
Transport streamable-http, stdio
Last checked 27h ago

Tools & capabilities

14 tools

Read from the running server on 27h ago.

build_order read-only kind*owner*chainId*buyToken*buyAmount*feeAmount +9
Build a bounded, ready-to-sign CoW order on Ophis. Returns { order, signing:{domain,types,primaryType}, fullAppData, appDataHash, partnerFee, next }. The receiver is ALWAYS PINNED…
expected_surplus read-only from*chainId*buyToken*sellToken*sellAmount*
Estimate how much better Ophis quotes than the open market for a sell: fetches the Ophis orderbook sell-quote and a public all-DEX aggregator (KyberSwap) quote for the same input,…
get_balances read-only owner*tokenschainId*
Read a wallet's native-token balance plus ERC-20 balances for the given token addresses on one chain, via a public RPC (one multicall). Returns each token's symbol, decimals, raw a…
get_gas read-only chainId*
Read a chain's current gas price (EIP-1559 maxFee/maxPriority suggestion when supported, plus an effective gasPrice in wei and gwei). Ophis trades are gasless for the trader, so th…
get_integrator_earnings read-only appCode*
Look up what an integrator's own-fee routing earned, by appCode (the identifier you tag into appData: your widget appCode or your SDK ophisReferrer code). Returns routed volume (US…
get_portfolio read-only owner*chainIdstokensByChain
Read a wallet's native and (optionally) ERC-20 balances across multiple chains at once. Pass `tokensByChain` (chainId -> token addresses) to include token balances; omit `chainIds`…
get_quote read-only from*kind*amount*chainId*buyToken*sellToken* +2
Fetch a best-execution quote from the chain's Ophis orderbook (use a chainId from list_chains' `tradeable`). Amounts are in atoms (smallest unit, uint256 decimal string). For kind=…
get_token_chart read-only limittoken*chainId*aggregatetimeframe
Fetch OHLCV price history for a token from the keyless GeckoTerminal market API (resolves the token's deepest pool, then returns candles). Use for an agent to reason about recent p…
list_chains read-only
List Ophis chains, split into `tradeable` (orderbook host is live, only route get_quote/build_order to these) and `paused` (settlement deployed but no live orderbook yet, so these…
lookup_tier read-only wallet*
Look up a wallet's Ophis fee-rebate tier and live status (30-day volume → bronze/silver/gold/platinum, rebate %). Returns the indexer status plus the static tier ladder.
parse_intent read-only text*
Parse a plain-English swap request (e.g. "swap 100 USDC for ETH on Optimism") into a structured intent: { intent: "swap"|"unknown", entities: [{type: sellToken|buyToken|amount|chai…
resolve_token read-only symbol*chainId*
Resolve an ERC-20 token SYMBOL to its CANONICAL on-chain address from the trusted Ophis/CoW token list (the same curated list the swap UI uses). Use this BEFORE quoting or building…
submit_order can modify data from*order*chainId*signature*fullAppData*signingScheme
Relay a PRE-SIGNED order to the chain's Ophis orderbook. Pass the exact `order` object and `fullAppData` from build_order, plus your EIP-712 `signature` and `from` (owner). The MCP…
validate_order read-only orderownerchainId*fullAppDataorderbookUrlsigningDomain
Offline preflight for an order you built OUTSIDE build_order (no network call, no keys). Catches the documented silent-failure modes before you sign or submit: wrong appCode (settl…