MCP endpoint
POST /mcp speaks the Model Context Protocol over Streamable HTTP (stateless; JSON responses). It is protected by the same OAuth bearer tokens as the REST API, and discovery follows the MCP authorization spec: a 401 carries WWW-Authenticate: Bearer resource_metadata="…/.well-known/oauth-protected-resource", and the authorization server supports dynamic client registration and PKCE.
Tools
| Tool | Annotations | Scope |
|---|---|---|
search_catalog, get_product, get_variant_availability, list_collections, get_collection, validate_address |
read-only | catalog:read |
get_me |
read-only | profile |
get_checkout, list_orders, get_order, list_support_requests |
read-only | orders:read |
create_quote, send_receipt, request_support |
write | orders:write |
create_checkout, cancel_checkout, cancel_order |
destructive (sensitive write) | orders:write |
Every tool returns both a text rendering and structuredContent with the same JSON the REST API returns. Errors are returned as tool errors whose text includes the stable error code.
Protocol bindings for agent platforms
The same endpoint serves the MCP bindings of the open agentic commerce protocols. A request authenticated with a platform key (issued in admin → Protocols, sent as Authorization: Bearer acp_… / ucp_…) or a client_credentials token of a platform's OAuth client sees a different tool set: the ACP tools create_checkout_session, get_checkout_session, update_checkout_session, complete_checkout_session, cancel_checkout_session, or the UCP tools create_checkout, get_checkout, update_checkout, complete_checkout, cancel_checkout, get_order. complete_* and cancel_* carry destructiveHint, the reads readOnlyHint, and every tool is idempotentHint because the protocol idempotency key travels in the meta argument. The user tools above are not offered to a platform and a user token never sees the protocol tools; the shopper is identified by the platform, not by OAuth. See Agentic commerce.
Claude Desktop / Claude Code example
{
"mcpServers": {
"snappy": { "type": "http", "url": "https://sandbox.agents.snappy.com/mcp" }
}
}
The client discovers the authorization server, registers itself, and opens the browser for sign-in and consent.
Meta Muse
Give Muse the full MCP URL, including the scheme and path: https://sandbox.agents.snappy.com/mcp (or https://agents.snappy.com/mcp). Muse first sends a plain GET to that URL; the server answers 401 with a WWW-Authenticate challenge pointing at the protected-resource metadata, which is how Muse learns to run OAuth. With a token the same GET opens the server-to-client SSE stream, and POST carries JSON-RPC.
Muse completes the hand-off at its own callback on muse.ai, which requires the browser to hold a signed-in Muse web session. If the sign-in and consent succeed but Muse then reports "Something went wrong", sign in at https://muse.ai in the phone's Safari first and run the connector flow again.
If Muse asks for a client ID, create one in the admin portal under Agent clients with the callback https://agent.meta.ai/api/hatch/oauth/callback and the token endpoint auth method none (public client with PKCE), then paste its ID. Muse's Secure credentials store sheet is the same OAuth hand-off; it is not a place for API keys.
Discovery is served at both the root and the /mcp path-insertion locations of /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server. The sandbox shows the sign-in code on the page, so no mailbox is needed to test.
Showing products
Every product, variant, quote, negotiation and order the API returns carries an imageUrl (products also carry images). Over MCP the server goes further: a tool result that names products includes, next to the JSON, one resource_link content block per image (uri, name, mimeType) and a short markdown block of  lines, capped at eight images per call. Hosts that render media (Meta Muse, Claude, ChatGPT) show the picture inline; hosts that do not ignore the extra blocks. The server instructions ask the agent to always show the image next to the name and price, so a shopper recognises what they are buying before they pay. REST clients should do the same with imageUrl.
Server instructions
The server advertises instructions that describe the recommended flow (search → product → availability → one quote per item → confirm with the user → checkout → poll → receipt → cancel or support). Hosts that honour instructions need no extra prompting.