Koskamo

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.

AgentRail MCP logo, by Raw LiquidCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-26Published by Raw Liquid
MCP endpoint (Streamable HTTP)
https://agentrail-backend-eta.vercel.app/api/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

7 of 7 have a description · 7 of 7 declare behavior hints · 3 of 5 with parameters document them all

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

Community listingRegistry 0.3.0

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

7 advertised

agentrail_register_agent — Register agent
Advertised by the server during the last successful anonymous check.

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....

agentrail_register_agent input schema
{
  "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
}
agentrail_register_agent output schema
{
  "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
}
agentrail_register_agent annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
agentrail_heartbeat — Heartbeat
Advertised by the server during the last successful anonymous check.

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".

agentrail_heartbeat input schema
{
  "type": "object",
  "properties": {}
}
agentrail_heartbeat output schema
{
  "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
}
agentrail_heartbeat annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
agentrail_get_credit_balance — Get credit balance
Advertised by the server during the last successful anonymous check.
Advertised read-only

Free. Return the owner's remaining prepaid credits (1 USD = 1,000 credits). Check this before a run of paid calls.

agentrail_get_credit_balance input schema
{
  "type": "object",
  "properties": {}
}
agentrail_get_credit_balance output schema
{
  "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
}
agentrail_get_credit_balance annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
agentrail_get_venue_health — Get venue health
Advertised by the server during the last successful anonymous check.
Open-world

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.

agentrail_get_venue_health input schema
{
  "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
}
agentrail_get_venue_health output schema
{
  "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
}
agentrail_get_venue_health annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
agentrail_estimate_fees — Estimate trading fees
Advertised by the server during the last successful anonymous check.

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.

agentrail_estimate_fees input schema
{
  "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
}
agentrail_estimate_fees output schema
{
  "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
}
agentrail_estimate_fees annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
agentrail_venue_uptime — Exchange uptime history
Advertised by the server during the last successful anonymous check.

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.

agentrail_venue_uptime input schema
{
  "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
}
agentrail_venue_uptime output schema
{
  "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
}
agentrail_venue_uptime annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
agentrail_market_search — Search x402 services
Advertised by the server during the last successful anonymous check.
Open-world

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".

agentrail_market_search input schema
{
  "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
}
agentrail_market_search output schema
{
  "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
}
agentrail_market_search annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http agentrail-mcp https://agentrail-backend-eta.vercel.app/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add agentrail-mcp --url https://agentrail-backend-eta.vercel.app/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable agentrail-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "agentrail-mcp": {
      "url": "https://agentrail-backend-eta.vercel.app/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "agentrail-mcp": {
      "type": "streamableHttp",
      "url": "https://agentrail-backend-eta.vercel.app/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start agentrail-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "agentrail-mcp": {
      "type": "http",
      "url": "https://agentrail-backend-eta.vercel.app/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http agentrail-mcp https://agentrail-backend-eta.vercel.app/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://agentrail-backend-eta.vercel.app/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.