For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /mcp/servers/trading.md.
Trading Server Live
Get quotes, place trades and manage your portfolio, with your keys kept on your device. You sign every transaction locally.
https://mcp.truemarkets.co/mcpAuthentication
You log in with a code we email to your True Markets account: call login_request_code with your email, then login_verify_code with the code. Market data tools work without login; trading tools require it.
Your keys stay on your device
Every transaction follows a prepare, sign, execute pattern. We never hold or see your signing key. Only signed transaction payloads reach us.
- Prepare: the server builds the unsigned transaction payloads.
- Sign: you sign the payloads locally with your signing key on your own device.
- Execute: the signed payloads go back for on-chain execution.
Tools
The tools, grouped by what they do.
Authentication
login_request_codeRequest an email verification code to log in.
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Email address for your True Markets account |
login_verify_codeVerify the email code and complete login.
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Verification code from email |
Account & Balances
get_profileShow account details including email and wallet addresses. Requires login.
get_balancesShow token balances across wallets. Requires login.
Quotes & Pricing
get_quoteGet a price quote for a token swap. Shows the amount you'll receive and any fees.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | string | No | Blockchain network for an on-chain swap. Omit it for an exchange (CeFi) order. |
| side | string | Yes | Order side (buy, sell) |
| base_asset | string | Yes | Token symbol or contract address to trade |
| qty | string | Yes | Amount to trade |
| qty_unit | string | No | Quantity unit: 'base' (token amount) or 'quote' (USDC amount). Defaults to 'quote' for buys and 'base' for sells. |
Trading
trade_prepareCreate a market order. Returns an order_id and, when signing is needed, unsigned payloads for client signing. Requires login.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | string | No | Blockchain network for an on-chain swap. Omit it for an exchange (CeFi) order. |
| side | string | Yes | Order side (buy, sell) |
| base_asset | string | Yes | Token symbol or contract address to trade |
| qty | string | Yes | Amount to trade |
| qty_unit | string | No | Quantity unit: 'base' (token amount) or 'quote' (USDC amount). Defaults to 'quote' for buys and 'base' for sells. |
trade_executeExecute a prepared trade with client-provided signatures. Call trade_prepare first.
| Name | Type | Required | Description |
|---|---|---|---|
| order_id | string | Yes | Order ID from trade_prepare |
| signatures | string | Yes | JSON array of Turnkey stamps, one per payload from trade_prepare |
Market Data
list_assetsList all tradeable tokens with symbol, name, chain, address, and decimals.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | string | No | Filter by chain ("solana" or "base") |
get_assetGet details for a specific token by chain and contract address.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | string | Yes | Chain name |
| address | string | Yes | Contract address |
get_price_historyGet historical price data for one or more tokens.
| Name | Type | Required | Description |
|---|---|---|---|
| symbols | string | Yes | Comma-separated token symbols |
| window | string | No | Time window (1h, 4h, 1d, 7d, 30d, 1M) |
| resolution | string | No | Data resolution (5s, 1m, 5m, 15m, 1h, 4h, 1d) |
get_market_summaryGet an AI-generated market digest with trending assets and sentiment analysis.
get_trending_assetsGet assets trending by trading volume.
| Name | Type | Required | Description |
|---|---|---|---|
| limit | string | No | Max results to return (default: 10, max: 50) |
| sort | string | No | Sort order: desc (default) or asc |
get_surging_assetsGet assets with the highest recent price change percentage.
| Name | Type | Required | Description |
|---|---|---|---|
| limit | string | No | Max results to return (default: 10, max: 50) |
| sort | string | No | Sort order: desc (default) or asc |
get_market_capGet the market capitalization for a specific asset by symbol.
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Asset symbol (e.g., BTC, ETH, SOL) |
list_market_capsList all assets ranked by market capitalization in descending order.
| Name | Type | Required | Description |
|---|---|---|---|
| limit | string | No | Max results to return (default: 10, max: 50) |
get_asset_summaryGet a daily AI-generated summary for a specific asset including news analysis and sentiment.
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Asset symbol (e.g., BTC, ETH, SOL) |
get_asset_summary_historyGet historical daily summaries for a specific asset.
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Asset symbol (e.g., BTC, ETH, SOL) |
| limit | string | No | Number of historical summaries (default: 7, max: 30) |
Next steps
- Examples: a full buy walked through tool by tool.
- Setup for Claude: connect this server to your client.