AgentRail MCP
AgentRail is an MCP server providing infrastructure for trading agents, including tools to check exchange health, estimate fees, and manage credit balances. It supports per-call billing via credits or x402 payments, ensuring retry-safe transactions without holding funds or placing orders.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://agentrail-backend-eta.vercel.app/api/mcpWhat its tools do
7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (1)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Check live status and latency for exchanges like Binance, Kraken, and Bybit
- Estimate trading fees by venue, maker/taker status, and trade size
- Enroll agents and retrieve API keys using an owner's enrollment code
- Search for pay-per-call services in Coinbase and PayAI x402 catalogues
Source and maintenance
Protocol and capabilities
- Server
- agentrail 0.2.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 7 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
7 advertised
agentrail_register_agent — Register agent
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....
{
"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
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"agent_id",
"status",
"api_key",
"api_key_notice",
"approval_url",
"next_step"
],
"properties": {
"status": {
"type": "string",
"const": "pending_approval"
},
"api_key": {
"type": "string",
"description": "Shown ONCE. Send as \"Authorization: Bearer <api_key>\" on every later call."
},
"agent_id": {
"type": "string"
},
"next_step": {
"type": "string"
},
"approval_url": {
"type": "string"
},
"api_key_notice": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}agentrail_heartbeat — Heartbeat
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".
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"status"
],
"properties": {
"status": {
"enum": [
"active",
"pending_approval"
],
"type": "string"
},
"message": {
"type": "string"
},
"received_at": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}agentrail_get_credit_balance — Get credit balance
Free. Return the owner's remaining prepaid credits (1 USD = 1,000 credits). Check this before a run of paid calls.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"credit_balance"
],
"properties": {
"credit_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}agentrail_get_venue_health — Get venue health
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.
{
"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
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"venues",
"billing"
],
"properties": {
"venues": {
"type": "array",
"items": {
"type": "object",
"required": [
"venue",
"status",
"latency_ms",
"detail",
"checked_at"
],
"properties": {
"venue": {
"enum": [
"binance",
"kraken",
"bybit"
],
"type": "string"
},
"detail": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"online",
"degraded",
"offline"
],
"type": "string"
},
"checked_at": {
"type": "string"
},
"latency_ms": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"billing": {
"type": "object",
"required": [
"replayed",
"credits_charged",
"credit_balance"
],
"properties": {
"replayed": {
"type": "boolean",
"description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
},
"credit_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Owner's remaining prepaid credits after this call"
},
"credits_charged": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}agentrail_estimate_fees — Estimate trading fees
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.
{
"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
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"venue",
"liquidity",
"notional_usd",
"fee_rate_pct",
"fee_usd",
"schedule",
"disclaimer",
"billing"
],
"properties": {
"venue": {
"enum": [
"binance",
"kraken",
"bybit"
],
"type": "string"
},
"billing": {
"type": "object",
"required": [
"replayed",
"credits_charged",
"credit_balance"
],
"properties": {
"replayed": {
"type": "boolean",
"description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
},
"credit_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Owner's remaining prepaid credits after this call"
},
"credits_charged": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"fee_usd": {
"type": "number"
},
"schedule": {
"type": "string"
},
"liquidity": {
"enum": [
"maker",
"taker"
],
"type": "string"
},
"disclaimer": {
"type": "string"
},
"fee_rate_pct": {
"type": "number"
},
"notional_usd": {
"type": "number"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}agentrail_venue_uptime — Exchange uptime history
Uptime history for binance, kraken, bybit: % online, degraded and offline, average and p95 latency, last outage, over the last 1 to 90 days. Costs 2 credits per successful call. Check counts show how much data backs each figure.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotency_key"
],
"properties": {
"days": {
"type": "integer",
"default": 7,
"maximum": 90,
"minimum": 1,
"description": "Look-back window in days"
},
"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
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"days",
"venues",
"billing"
],
"properties": {
"days": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"venues": {
"type": "array",
"items": {
"type": "object",
"required": [
"venue",
"checks",
"online_pct",
"degraded_pct",
"offline_pct",
"avg_latency_ms",
"p95_latency_ms",
"last_offline",
"first_check"
],
"properties": {
"venue": {
"type": "string"
},
"checks": {
"type": "number"
},
"online_pct": {
"type": [
"number",
"null"
]
},
"first_check": {
"type": [
"string",
"null"
]
},
"offline_pct": {
"type": [
"number",
"null"
]
},
"degraded_pct": {
"type": [
"number",
"null"
]
},
"last_offline": {
"type": [
"string",
"null"
]
},
"avg_latency_ms": {
"type": [
"number",
"null"
]
},
"p95_latency_ms": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"billing": {
"type": "object",
"required": [
"replayed",
"credits_charged",
"credit_balance"
],
"properties": {
"replayed": {
"type": "boolean",
"description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
},
"credit_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Owner's remaining prepaid credits after this call"
},
"credits_charged": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}agentrail_market_search — Search x402 services
Search pay-per-call (x402) services listed in the Coinbase and PayAI catalogues by keyword. One result per provider, ranked by relevance then price, each checked live just now. Costs 2 credits per successful call. Example: "token price", "weather", "web search".
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"q",
"idempotency_key"
],
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 2,
"description": "What you are looking for"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 25,
"minimum": 1
},
"max_price_usd": {
"type": "number",
"description": "Only services at or below this price per call",
"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
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query",
"results",
"billing"
],
"properties": {
"query": {
"type": "string"
},
"billing": {
"type": "object",
"required": [
"replayed",
"credits_charged",
"credit_balance"
],
"properties": {
"replayed": {
"type": "boolean",
"description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
},
"credit_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Owner's remaining prepaid credits after this call"
},
"credits_charged": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"service_name",
"resource",
"host",
"description",
"network",
"price_usd",
"live",
"live_price_usd"
],
"properties": {
"host": {
"type": "string"
},
"live": {
"type": "boolean"
},
"network": {
"type": [
"string",
"null"
]
},
"resource": {
"type": "string"
},
"price_usd": {
"type": [
"number",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"service_name": {
"type": [
"string",
"null"
]
},
"live_price_usd": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1207 ms
- 95th percentile latency
- 1207 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1207 ms · metadata changed · 7 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http agentrail-mcp https://agentrail-backend-eta.vercel.app/api/mcpCodex
codex mcp add agentrail-mcp --url https://agentrail-backend-eta.vercel.app/api/mcpCursor
{
"mcpServers": {
"agentrail-mcp": {
"url": "https://agentrail-backend-eta.vercel.app/api/mcp"
}
}
}Cline
{
"mcpServers": {
"agentrail-mcp": {
"type": "streamableHttp",
"url": "https://agentrail-backend-eta.vercel.app/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"agentrail-mcp": {
"type": "http",
"url": "https://agentrail-backend-eta.vercel.app/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http agentrail-mcp https://agentrail-backend-eta.vercel.app/api/mcpClaude Desktop
https://agentrail-backend-eta.vercel.app/api/mcpWindsurf
{
"mcpServers": {
"agentrail-mcp": {
"serverUrl": "https://agentrail-backend-eta.vercel.app/api/mcp"
}
}
}Let your agent find its tools
Find servers like AgentRail MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.