Exchange health and fee checks for trading agents, with retry-safe per-call billing. Never trades.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer ar_agent_... key returned once by agentrail_register_agent. Not needed for registration.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Estimate the exchange fee for a trade of a given size at public base-tier rates. Costs 1 credit per successful call. AgentRail never places orders. Example: Kraken, taker, 1,000 USD.
maker = resting limit order; taker = order that fills immediately
Trade size in USD
Unique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http agentrail https://agentrail-backend-eta.vercel.app/api/mcp
Headers
Authorization (optional, not in the config above): Bearer ar_agent_... key returned once by agentrail_register_agent. Not needed for registration.Estimate the exchange fee for a trade of a given size at public base-tier rates. Costs 1 credit per successful call. AgentRail never places orders. Example: Kraken, taker, 1,000 USD.
| Argument | Type | Description |
|---|---|---|
| venue* | string | |
| liquidity* | string | maker = resting limit order; taker = order that fills immediately |
| notional_usd* | number | Trade size in USD |
| idempotency_key* | string | Unique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"venue",
"liquidity",
"notional_usd",
"idempotency_key"
],
"properties": {
"venue": {
"enum": [
"binance",
"kraken",
"bybit"
],
"type": "string"
},
"liquidity": {
"enum": [
"maker",
"taker"
],
"type": "string",
"description": "maker = resting limit order; taker = order that fills immediately"
},
"notional_usd": {
"type": "number",
"maximum": 1000000000,
"description": "Trade size in USD",
"exclusiveMinimum": 0
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 128,
"minLength": 8,
"description": "Unique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result."
}
},
"additionalProperties": false
}Free. Return the owner's remaining prepaid credits (1 USD = 1,000 credits). Check this before a run of paid calls.
No arguments.
{
"type": "object",
"properties": {}
}Live status and latency for exchanges (binance, kraken, bybit), cached for 30 seconds. Costs 1 credit per successful call; failed calls are free. Use before routing an order to check a venue is up. Omit venue to check all.
| Argument | Type | Description |
|---|---|---|
| venue | string | One venue, or omit for all. |
| idempotency_key* | string | Unique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key"
],
"properties": {
"venue": {
"enum": [
"binance",
"kraken",
"bybit"
],
"type": "string",
"description": "One venue, or omit for all."
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 128,
"minLength": 8,
"description": "Unique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result."
}
},
"additionalProperties": false
}Free. Report that this agent is alive (keeps it shown as active to its owner) and read its approval status. Call every few minutes while running, and after registering to poll until status is "active".
No arguments.
{
"type": "object",
"properties": {}
}Enrol this agent with its owner, using the enrollment code the owner gave you (starts with ar_enroll_). Call this ONCE, before any other tool. Returns this agent's API key a single time; store it securely. The agent starts as pending_approval until the owner approves it; poll agentrail_heartbeat to see when it is active. Example: register "momentum-scanner" with code ar_enroll_abc....
| Argument | Type | Description |
|---|---|---|
| name* | string | Short readable name for this agent, e.g. "momentum-scanner". |
| enrollment_code* | string | Enrollment code from the owner (starts with ar_enroll_). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"enrollment_code",
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z0-9 _.-]+$",
"maxLength": 64,
"minLength": 1,
"description": "Short readable name for this agent, e.g. \"momentum-scanner\"."
},
"enrollment_code": {
"type": "string",
"maxLength": 200,
"minLength": 10,
"description": "Enrollment code from the owner (starts with ar_enroll_)."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.