{"endpoint":"/mcp","methods":["initialize","ping","tools/list","tools/call","resources/list","resources/read","prompts/list","prompts/get","notifications/initialized"],"name":"order-sink-mcp","protocolVersion":"2025-11-25","resources":[{"description":"Markdown: SKILL.md plus linked references/assets from github.com/orbs-network/spot (fetched at server start).","mimeType":"text/markdown","name":"spot_skill_bundle","title":"Orbs Spot skill bundle","uri":"order-sink://skill/spot/bundle"}],"tools":[{"name":"describe","description":"Returns compact relay JSON Schema plus orderTypeGuide, orderTypeCompactExamples, and spotSkillResourceUri (no tool arguments). Use these before prepare for non-trivial orders; full prose is in resources/read for that URI.","inputSchema":{"properties":{},"type":"object"}},{"name":"query","description":"Relay query: list orders with filters and pagination (same semantics as GET /orders on the HTTP relay).","inputSchema":{"properties":{"chainId":{"description":"Filter by chain ID","type":"string"},"exchange":{"description":"Filter by exchange adapter address","type":"string"},"executor":{"description":"Filter by witness.executor (authorized on-chain executor)","type":"string"},"hash":{"description":"Partial match on order hash","type":"string"},"inputToken":{"description":"Filter by input token address","type":"string"},"limit":{"description":"Page size, max 1000 (default 50)","type":"integer"},"outputToken":{"description":"Filter by output token address","type":"string"},"page":{"description":"Page number (default 1)","type":"integer"},"recipient":{"description":"Filter by output recipient address","type":"string"},"swapper":{"description":"Filter by swapper (signer) address","type":"string"},"view":{"description":"Set to 'list' for compact response","type":"string"}},"type":"object"}},{"name":"prepare","description":"Merge a compact order (see describe.schema + describe.orderTypeGuide / orderTypeCompactExamples) with chain config: fills spender, witness.reactor, witness.executor, witness.exchange.adapter. Returns full `order`, `typedData` for eth_signTypedData_v4, `orderHash` (contract Order hash, same as submit/relay), and `eip712Digest` (EIP-712 v4 digest over RePermit typed data — used for signature verification).","inputSchema":{"properties":{"compact":{"description":"Compact relay order; must conform to describe.schema.","type":"object"}},"required":["compact"],"type":"object"}},{"name":"submit","description":"Submit a signed RePermit order to the relay (same as POST /orders/new): order + EIP-712 signature over the order.","inputSchema":{"properties":{"order":{"description":"RePermitWitnessTransferFrom JSON object (permitted, spender, nonce, deadline, witness).","type":"object"},"signature":{"description":"EIP-712 signature of 'order'. Either an object {v,r,s} or a 0x-prefixed 65-byte hex string.","oneOf":[{"properties":{"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"}},"required":["v","r","s"],"type":"object"},{"type":"string"}]}},"required":["order","signature"],"type":"object"}}],"transport":"http","version":"trigger-v1.3.6-following-v1.3.0-105-g094e5c7"}