agent-embassy
Agents pay for work and prove it. Verified checks $0.15, recovery $1.00. USDC on Base via x402.
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"agent-embassy": {
"url": "https://agent-embassy.fly.dev/mcp"
}
}
}Remote endpoints
https://agent-embassy.fly.dev/mcpstreamable-httpTool inventory
Tools (3)
🟡register_recovery(contact_name, contact_handle, quorum_rules, recovery_blob, idempotency_key, ...)
Register a dead-man's recovery configuration: the Embassy stores your client-encrypted recovery blob and quorum rules and queues them for human review within 24h. v1 scope is storage + review only — no quorum tooling, triggers, or automated recovery exist yet. One-time $1.00 registration per agent wallet. Acceptance test: the stored blob's hash matches the hash in your receipt. MONETIZED VIA x402 — this tool is not callable for free. POST https://agent-embassy.fly.dev/v1/recovery/register with an x402 payment ($1.00, USDC on Base). Input schema: {"type":"object","properties":{"contact_name":{"type":"string","description":"Human contact name for recovery coordination"},"contact_handle":{"type":"string","description":"Handle (e.g. farcaster, telegram, email)"},"quorum_rules":{"type":"string","description":"Plain-language quorum rules, e.g. '2-of-3 trustees must approve'"},"recovery_blob":{"type":"string","description":"OPAQUE client-encrypted blob. The Embassy cannot read it; it is stored as given and released only per quorum rules."},"idempotency_key":{"type":"string","description":"Client-generated UUID; retries return the original receipt"},"agent_wallet":{"type":"string","description":"DEV MODE ONLY: wallet to register. In live mode the payer wallet from the verified x402 payment is used."}},"required":["contact_name","quorum_rules","recovery_blob","idempotency_key"]}
Input Schema
{
"type": "object",
"properties": {
"contact_name": {
"type": "string"
},
"contact_handle": {
"type": "string"
},
"quorum_rules": {
"type": "string"
},
"recovery_blob": {
"type": "string"
},
"idempotency_key": {
"type": "string"
},
"agent_wallet": {
"type": "string"
}
},
"required": [
"contact_name",
"quorum_rules",
"recovery_blob",
"idempotency_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡verified_check(url, expect_status, expect_body_contains, expect_json_path, expect_json_equals, ...)
Verify a web claim and get a signed, re-checkable Outcome Receipt. The Embassy fetches your HTTPS URL once, server-side, and checks it against your conditions: HTTP status, a body substring, or a JSON field value. The receipt records the full transcript — final URL, status, timing, body SHA-256, per-condition pass/fail — so anyone can re-verify. $0.15 per check. Fully automated, no human review. Content may change after the check runs. MONETIZED VIA x402 — this tool is not callable for free. POST https://agent-embassy.fly.dev/v1/check/verify with an x402 payment ($0.15, USDC on Base). Input schema: {"type":"object","properties":{"url":{"type":"string","description":"HTTPS URL to fetch (public hosts only; private IPs refused)"},"expect_status":{"type":"number","description":"Expected HTTP status of the final response (default 200)"},"expect_body_contains":{"type":"string","description":"Substring that must appear in the response body"},"expect_json_path":{"type":"string","description":"Dot path into a JSON body, e.g. 'data.ok'"},"expect_json_equals":{"description":"Expected value at expect_json_path (compared as JSON)"},"idempotency_key":{"type":"string","description":"Client-generated UUID; retries return the original receipt"},"agent_wallet":{"type":"string","description":"DEV MODE ONLY: wallet to attribute. In live mode the payer wallet from the verified x402 payment is used."}},"required":["url","idempotency_key"]}
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"expect_status": {
"type": "number"
},
"expect_body_contains": {
"type": "string"
},
"expect_json_path": {
"type": "string"
},
"expect_json_equals": {},
"idempotency_key": {
"type": "string"
},
"agent_wallet": {
"type": "string"
}
},
"required": [
"url",
"idempotency_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢compute_spot_prices(gpu, type, verified, min_gpus, max_results)
FREE read-only observation of the live P2P GPU compute market (vast.ai public listings). Returns cheapest rentable offers per GPU class (or per class via the gpu param) in USD/GPU-hr with per-offer provenance (source, observed_at, observation_type=ask). type: ondemand (fixed price), bid (interruptible spot, cheapest but preemptible), reserved. Listings are ephemeral asks, not delivered-cost guarantees; no payment required.
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"type": "string",
"description": "GPU class, e.g. H100 SXM, H100 NVL, H200, B200. Omit for the whole-market snapshot."
},
"type": {
"type": "string",
"enum": [
"ondemand",
"bid",
"reserved"
],
"description": "Pricing mode: ondemand (default), bid = interruptible spot, reserved"
},
"verified": {
"type": "boolean",
"description": "true = identity-checked hosts only; omit = all hosts"
},
"min_gpus": {
"type": "integer",
"minimum": 1,
"description": "minimum GPU count per offer"
},
"max_results": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "max offers returned for a single-GPU query (default 10)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}