Skip to main content

Ophis Extension

This tutorial covers how to add Ophis as a goose extension so goose can turn natural-language swap requests into executable orders across supported chains.

Quick Install

What is Ophis?​

Ophis is an intent-based DEX aggregator with a natural-language layer and a keyless MCP server for AI agents. It is non-custodial, gasless, and MEV-protected, and returns swap surplus to the trader. Ophis is a fork of CoW Protocol. It deploys its own settlement contracts on Optimism and Unichain and routes through CoW Protocol on the other supported chains: Ethereum, Base, Arbitrum, Polygon, BNB Chain, Gnosis, Avalanche, Linea, Plasma, and Ink.

The MCP server is keyless and requires no API key or environment variables. It exposes fourteen tools: parse_intent, resolve_token, list_chains, get_quote, expected_surplus, build_order, validate_order, submit_order, lookup_tier, get_integrator_earnings, get_balances, get_portfolio, get_gas, and get_token_chart. Trades are signed by the user's own wallet, so the server never holds keys or funds.

Configuration​

  1. Launch the installer
  2. Click Yes to confirm the installation
  3. Click the button in the top-left to open the sidebar
  4. Navigate to the chat

Example Usage​

Once Ophis is configured, you can describe a swap in plain language and ask goose to prepare an order. Here are some examples:

Parse an intent

Parse this swap intent: "swap 100 USDC for ETH on Base".

Get a quote

Get a quote to swap 0.5 WETH for USDC on Arbitrum.

List supported chains

Which chains does Ophis support?

The server returns a quote and an unsigned order. The actual trade is signed by your own wallet, so no keys or funds are ever shared with the extension.

Resources​