AgentRail

Exchange health, fees and uptime history, plus x402 service search, for trading agents.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
97%
Vollständigkeit des Schemas
79%
Qualität der Benennung
80%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,817Tokens (Tool-Definitionen)
~3.6 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (2.20% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "agentrail": {
      "url": "https://agentrail-backend-eta.vercel.app/api/mcp"
    }
  }
}

Remote-Endpunkte

https://agentrail-backend-eta.vercel.app/api/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (7)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
⚪agentrail_register_agent(enrollment_code, name)

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

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "enrollment_code": {
      "type": "string",
      "minLength": 10,
      "maxLength": 200,
      "description": "Enrollment code from the owner (starts with ar_enroll_)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9 _.-]+$",
      "description": "Short readable name for this agent, e.g. \"momentum-scanner\"."
    }
  },
  "required": [
    "enrollment_code",
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "const": "pending_approval"
    },
    "api_key": {
      "type": "string",
      "description": "Shown ONCE. Send as \"Authorization: Bearer <api_key>\" on every later call."
    },
    "api_key_notice": {
      "type": "string"
    },
    "approval_url": {
      "type": "string"
    },
    "next_step": {
      "type": "string"
    }
  },
  "required": [
    "agent_id",
    "status",
    "api_key",
    "api_key_notice",
    "approval_url",
    "next_step"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢agentrail_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".

Eingabe-Schema

{
  "type": "object",
  "properties": {}
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "active",
        "pending_approval"
      ]
    },
    "received_at": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢agentrail_get_credit_balance

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

Eingabe-Schema

{
  "type": "object",
  "properties": {}
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "credit_balance": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "credit_balance"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢agentrail_get_venue_health(venue, idempotency_key)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "venue": {
      "description": "One venue, or omit for all.",
      "type": "string",
      "enum": [
        "binance",
        "kraken",
        "bybit"
      ]
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$",
      "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."
    }
  },
  "required": [
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "venues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "venue": {
            "type": "string",
            "enum": [
              "binance",
              "kraken",
              "bybit"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "online",
              "degraded",
              "offline"
            ]
          },
          "latency_ms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "checked_at": {
            "type": "string"
          }
        },
        "required": [
          "venue",
          "status",
          "latency_ms",
          "detail",
          "checked_at"
        ],
        "additionalProperties": false
      }
    },
    "billing": {
      "type": "object",
      "properties": {
        "replayed": {
          "type": "boolean",
          "description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
        },
        "credits_charged": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "credit_balance": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Owner's remaining prepaid credits after this call"
        }
      },
      "required": [
        "replayed",
        "credits_charged",
        "credit_balance"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "venues",
    "billing"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪agentrail_estimate_fees(venue, liquidity, notional_usd, idempotency_key)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "venue": {
      "type": "string",
      "enum": [
        "binance",
        "kraken",
        "bybit"
      ]
    },
    "liquidity": {
      "type": "string",
      "enum": [
        "maker",
        "taker"
      ],
      "description": "maker = resting limit order; taker = order that fills immediately"
    },
    "notional_usd": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000,
      "description": "Trade size in USD"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$",
      "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."
    }
  },
  "required": [
    "venue",
    "liquidity",
    "notional_usd",
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "venue": {
      "type": "string",
      "enum": [
        "binance",
        "kraken",
        "bybit"
      ]
    },
    "liquidity": {
      "type": "string",
      "enum": [
        "maker",
        "taker"
      ]
    },
    "notional_usd": {
      "type": "number"
    },
    "fee_rate_pct": {
      "type": "number"
    },
    "fee_usd": {
      "type": "number"
    },
    "schedule": {
      "type": "string"
    },
    "disclaimer": {
      "type": "string"
    },
    "billing": {
      "type": "object",
      "properties": {
        "replayed": {
          "type": "boolean",
          "description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
        },
        "credits_charged": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "credit_balance": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Owner's remaining prepaid credits after this call"
        }
      },
      "required": [
        "replayed",
        "credits_charged",
        "credit_balance"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "venue",
    "liquidity",
    "notional_usd",
    "fee_rate_pct",
    "fee_usd",
    "schedule",
    "disclaimer",
    "billing"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢agentrail_venue_uptime(days, idempotency_key)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "days": {
      "default": 7,
      "description": "Look-back window in days",
      "type": "integer",
      "minimum": 1,
      "maximum": 90
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$",
      "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."
    }
  },
  "required": [
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "days": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "venues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "venue": {
            "type": "string"
          },
          "checks": {
            "type": "number"
          },
          "online_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "degraded_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "offline_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "avg_latency_ms": {
            "type": [
              "number",
              "null"
            ]
          },
          "p95_latency_ms": {
            "type": [
              "number",
              "null"
            ]
          },
          "last_offline": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_check": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "venue",
          "checks",
          "online_pct",
          "degraded_pct",
          "offline_pct",
          "avg_latency_ms",
          "p95_latency_ms",
          "last_offline",
          "first_check"
        ],
        "additionalProperties": false
      }
    },
    "billing": {
      "type": "object",
      "properties": {
        "replayed": {
          "type": "boolean",
          "description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
        },
        "credits_charged": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "credit_balance": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Owner's remaining prepaid credits after this call"
        }
      },
      "required": [
        "replayed",
        "credits_charged",
        "credit_balance"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "days",
    "venues",
    "billing"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢agentrail_market_search(q, max_price_usd, limit, idempotency_key)

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

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200,
      "description": "What you are looking for"
    },
    "max_price_usd": {
      "description": "Only services at or below this price per call",
      "type": "number",
      "exclusiveMinimum": 0
    },
    "limit": {
      "default": 10,
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$",
      "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."
    }
  },
  "required": [
    "q",
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "service_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "resource": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "network": {
            "type": [
              "string",
              "null"
            ]
          },
          "price_usd": {
            "type": [
              "number",
              "null"
            ]
          },
          "live": {
            "type": "boolean"
          },
          "live_price_usd": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "service_name",
          "resource",
          "host",
          "description",
          "network",
          "price_usd",
          "live",
          "live_price_usd"
        ],
        "additionalProperties": false
      }
    },
    "billing": {
      "type": "object",
      "properties": {
        "replayed": {
          "type": "boolean",
          "description": "true = retry of an already-charged call; the original result was returned and nothing was charged"
        },
        "credits_charged": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "credit_balance": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Owner's remaining prepaid credits after this call"
        }
      },
      "required": [
        "replayed",
        "credits_charged",
        "credit_balance"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "query",
    "results",
    "billing"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet7 Tools