Skip to main content
The OpenFinance MCP server gives an AI agent the same trading abilities you have in the OpenFinance app. It is hosted, so there is nothing to install or run. You add one URL to your AI client and sign in.

What it is

MCP (Model Context Protocol) is a standard way for AI clients such as Claude, ChatGPT or Cursor to call external tools. The OpenFinance server exposes trading tools over that standard, at one address:

Endpoint

https://api.openfinance.tech/agent/mcp

Transport

Streamable HTTP
Every request needs OAuth sign-in or an x-api-key: open_... header. There is no keyless tier, even for market data. Please make an account at openfinance.tech to get your keys. See Authentication.

How a request flows

Here is what happens when you ask your client for a trade, from the first read to the signed order.
  1. Your client connects and authenticates as your OpenFinance account.
  2. The model reads the tool list. Each tool description tells the model which action to pick, what to check first and when to ask you.
  3. Read calls fetch prices, balances and positions.
  4. Before a write call, the agent shows you a summary and waits for your yes. Your client may also ask you to approve the tool call.
  5. OpenFinance signs the action with your embedded wallet and sends it to the venue.
Every trade needs your confirmation. Nothing here is financial advice.

Tool families

The tools fall into six families, one per venue or job. Each row links to its full reference. At the time of writing the server lists 18 tools. The list can grow, so call tools/list for the live set; see Verifying the connection.

One tool, many actions

The larger tools group many operations behind a single tool with an action parameter. For example:
Pass only the parameters listed for that action.

Use it from your own code

Any MCP client library that supports Streamable HTTP works. With the official TypeScript SDK:
Pass the tool descriptions to your model unchanged. They carry the checks that keep an agent from sending a malformed or unconfirmed order.

Tips

  • Install the skills too. The MCP server is the live tool layer; the skills are playbooks that teach an agent to use it well. See Installing skills.
  • Keep tool approval on. Do not add OpenFinance write tools to an auto-approve list in your client.
  • Amounts are often in smallest units. Onchain, Relay and launchpad tools take raw integer amounts. Read the token’s decimals first.
  • Options are not on the MCP server. They trade through a broker connected in the app. See Options.

Common errors

If a call fails, the status code usually tells you why. More fixes are in Troubleshooting.

Next

Authentication

OAuth sign-in or an API key.

Quick install

Connect Claude Code in two commands.

Markets overview

What each venue needs before you trade.

Safety and custody

Confirmations, keys and what an agent can do.