Skip to main content

AI agents

Two ways to let an agent trade, depending on whether it runs the CLI locally or talks to the hosted server.

SkillsMCP
RunsThe tm binary, locallyHosted server, nothing installed
Installnpx skills install …Add a server URL to your client
ClientsClaude Code, Codex, Cursor, any skills-protocol agentClaude Desktop, Claude Code, Cursor, any MCP client

Skills — the agent runs the CLI

Install the True Markets skill and agents discover the commands without being told the syntax:

npx skills install truemarkets # general trading
npx skills install truemarkets-limit-orders # limit orders

Compatible with Claude Code, Codex, Cursor, and any agent supporting the skills protocol. This route needs the CLI installed and authenticated first.

MCP — hosted server

True Markets runs a remote MCP server giving any compatible client access to the same non-custodial trading: check prices, get quotes, execute trades, transfer tokens. Authentication happens in-chat via an emailed code, so there's nothing to install and no API key to place.

Claude Code:

claude mcp add truemarkets --transport http https://mcp.truemarkets.co/mcp

Claude Desktop — add to claude_desktop_config.json. Cursor — add to .cursor/mcp.json:

{ "mcpServers": { "truemarkets": { "url": "https://mcp.truemarkets.co/mcp" } } }

Per-client walkthroughs are under MCP.

What it looks like

> What tokens are trending by volume?

▶ Calling get_trending_assets(limit: 3)

1. SOL — $4.2B volume (+38% vs 7d avg)
2. JUP — $312M volume (+125% vs 7d avg)
3. BONK — $89M volume (+64% vs 7d avg)

> Buy $50 of JUP

▶ Calling get_quote(from: PYUSD, to: JUP, amount: 50)
Price: $0.6241 • Qty: 80.12 JUP • Fee: $0.10

▶ Calling trade_prepare → trade_execute
✓ Order filled — 80.12 JUP @ $0.6241
Agents can spend real funds

Both routes execute real trades. An agent passing --force (skills) or calling trade_execute (MCP) moves money without a prompt. Scope what an agent may do before handing it credentials.