Trading Server
Trade crypto on Solana and Base while retaining full custody of your assets. Get quotes, execute swaps, and manage your portfolio with local key signing.
Server URL
https://mcp.truemarkets.co/mcpAuthentication
The Trading server authenticates via OTP (one-time password). API keys are managed via your True Markets dashboard. Market data tools are available without login; trading operations require authentication.
Self-custody: your keys, your coins
All transactions use a prepare/sign/execute pattern:
- Prepare — the server builds the unsigned transaction payloads
- Sign — you sign the payloads locally with your private key on your own device
- Execute — the signed payloads are sent back for on-chain execution
True Markets has no access to, and no knowledge of, your private keys at any point. Your keys never leave your device. Only signed transaction payloads are transmitted.
Tools
17 tools across authentication, trading, and market data.
Authentication
login_request_codeRequest an email verification code to log in.
Parameters
Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Email address for your True Markets account |
login_verify_codeVerify the email code and complete login.
Parameters
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.
Parameters
Name | Type | Required | Description |
|---|---|---|---|
| chain | string | Yes | Blockchain network (solana, base) |
| 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'. |
Trading
trade_preparePrepare a token trade. Gets a quote and returns unsigned payloads for client signing. Requires login.
Parameters
Name | Type | Required | Description |
|---|---|---|---|
| chain | string | Yes | Blockchain network (solana, base) |
| 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'. |
trade_executeExecute a prepared trade with client-provided signatures. Call trade_prepare first.
Parameters
Name | Type | Required | Description |
|---|---|---|---|
| quote_id | string | Yes | Quote 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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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.
Parameters
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) |