Beta Now Available

Let your Agent trade Crypto
Right from your terminal.

Let your Agent
trade Crypto
Right from your terminal.

Non-custodial trading of 100+ Solana and Base tokens. No gas fees, no bridge fees, no seed phrases.

View on GitHub

Works with Claude Code, Claude Desktop, Codex, Cursor, and any client supporting MCP or the skills protocol.

terminal
$ tm buy SOL 100 --dry-run
Chain: Solana
Asset: SOL
Amount: $100.00
Price: $142.38
Qty: 0.7024 SOL
Fee: $0.20
 
$ tm buy SOL 100 --force
✓ Order filled — 0.7024 SOL @ $142.38
 
$ tm balances -o json
[{"asset":"SOL","balance":"0.7024","chain":"solana"}, ...]

Frequently Asked Questions

Everything you need to know about the True Markets CLI.

True Markets CLI is a terminal-native interface for non-custodial DeFi trading on Solana and Base, designed for developers, strategy builders, and AI agents. Buy, sell, transfer, and check balances with JSON output, dry-run simulation, and no gas or bridge fees. Private keys are secured via Turnkey and never leave your device.

150 assets across Solana and Base. Broadest coverage, lowest latency, and continuously expanding. The CLI auto-resolves chain from token symbol. Run tm assets for the current full list.

No gas fees. No bridge fees. A flat 20bp fee per trade. True Markets routes trades through its liquidity infrastructure, and the fee is reflected in the quote before you confirm. Run tm buy <TOKEN> <AMOUNT> --dry-run to see the exact price you'll receive before committing.

One-liner for macOS and Linux:
curl -sSL https://install.truemarkets.xyz | bash

macOS via Homebrew:
brew install true-markets/tap/tm

Pre-built binaries for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64) are on GitHub Releases. No Go installation required. The install script detects your OS and architecture automatically, including in sandboxed AI environments.

Install the True Markets skill via the skills protocol:
npx skills install truemarkets for general trading
npx skills install truemarkets-limit-orders for limit orders

Once installed, agents discover and use CLI commands without explicit syntax instruction. Compatible with Claude Code, Codex, Cursor, and any agent supporting the skills protocol.

MCP (Model Context Protocol) is an open standard that lets AI assistants connect directly to external tools and data sources. True Markets runs a remote MCP server that gives any compatible AI client access to non-custodial DeFi trading — check prices, get quotes, execute trades, and transfer tokens — all through natural conversation.

To connect, add the True Markets MCP server to your client:

Claude Desktop — add to your claude_desktop_config.json:
{ "mcpServers": { "truemarkets": { "url": "https://mcp.truemarkets.co/mcp" } } }

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

Cursor — add to .cursor/mcp.json:
{ "mcpServers": { "truemarkets": { "url": "https://mcp.truemarkets.co/mcp" } } }

Once connected, your AI assistant can list assets, check balances, get quotes, and execute trades. Authentication happens in-chat via an email code — no API keys needed to get started. Private keys never leave your device.

View Docs