Informations

Matt Ketmo Art API and MCP server

Search the shop, build a cart and hand checkout off to the buyer, from an AI agent or your own code.

Overview

ketmo.art is the online shop of Matt Ketmo, a Paris artist who draws portraits on antique busts with a blue BIC ballpoint pen. It sells original artworks (unique pieces) and prints (open, limited and collector editions), shipped from Paris.

The shop implements the Universal Commerce Protocol (UCP) shopping service, version 2026-08-25, over two transports: an MCP server and a REST API. Both are public: no API key, no account. Prices are in minor currency units (cents of a euro). Payment always happens on the shop's own checkout page: an agent never handles card details.

Discovery

  • OpenAPI spec: /openapi.json describes the REST API (OpenAPI 3.1): every operation with its operationId, parameters, request and response schemas.
  • API catalog: /.well-known/api-catalog (RFC 9727) links each API to its description and documentation.
  • UCP profile: /.well-known/ucp lists the services, transports, endpoints and capabilities. Every response also carries a Link: </.well-known/ucp>; rel="ucp" header.
  • /llms.txt: what the shop sells, when to use it and how to buy, in Markdown.
  • /sitemap.xml: every page, in English and French.

MCP server

The Matt Ketmo Art MCP server speaks the Streamable HTTP transport, JSON-RPC 2.0 over POST https://www.ketmo.art/ucp/mcp (MCP protocol versions 2025-11-25, 2025-06-18 and 2025-03-26). Add it to any MCP client as a remote server with that URL (setup and buying flow: MCP server). Its tools:

  • search_catalog: search Products by text, with prices and stock.
  • lookup_catalog and get_product: fetch Products or variants by ID.
  • create_cart, get_cart, update_cart, cancel_cart: a cart of variant IDs and quantities.
  • create_checkout, get_checkout, update_checkout, complete_checkout, cancel_checkout: a checkout session with the buyer's email and shipping address; the buyer pays at its continue_url.
  • get_order: an order's status and shipment events, once paid.

REST API

The same operations as REST resources under https://www.ketmo.art/ucp/v1: POST /catalog/search, POST /catalog/lookup, /cart, /checkout-sessions and /orders/{id}. The OpenAPI spec describes each one; request and response bodies follow the UCP schemas.

curl -X POST https://www.ketmo.art/ucp/v1/catalog/search \
  -H "Content-Type: application/json" \
  -d '{"query": "buste", "pagination": {"limit": 5}}'

Errors

Errors are JSON, never an HTML page:

  • An operation that fails answers its HTTP status with a UCP body: ucp.status is error, and each of its messages has a code (invalid_request, invalid_email, unsupported_country, not_found, item_unavailable, already_completed, internal_error), a content explaining what to do, and a severity (recoverable, requires_buyer_input or unrecoverable).
  • A path or method that no operation handles answers RFC 9457 problem details (application/problem+json), with a code (not_found, method_not_allowed) and a hint on how to fix the request.

Markdown pages

Agents that only browse can read the shop as Markdown:

  • Send Accept: text/markdown to the home page or to any Product page, or append .md to a Product URL (/products/{handle}.md), for its description, variant IDs, prices and stock.
  • A checkout link fills a cart and opens the checkout in one step: /buy/{variant_id}:{quantity},{variant_id}:{quantity}.

Contact

Questions about the API or the MCP server: write to matt@ketmo.art. See also the contact page.