Connect an agent
Wire Claude, ChatGPT, or your own code to Klatchit — either the public catalog with no account, or your own account over OAuth so an agent can see your orders and, with your consent, act for you.
Public catalog — no account, no key
Read the marketplace catalog and build cart links a human opens and checks out. Nothing here needs a sign-in.
Claude (claude.ai / desktop)
Add the Klatchit catalog as a custom MCP connector — no account, no key, no auth step.
- Open Claude → Settings → Connectors.
- Choose "Add custom connector".
- Paste the MCP URL: https://www.klatchit.com/api/mcp/mcp
- Save. There is no sign-in or authorization step for the public catalog.
- Ask Claude to search Klatchit, compare offers, or build a cart link.
https://www.klatchit.com/api/mcp/mcp
Claude Code (CLI)
Add the Klatchit catalog MCP to Claude Code with one command.
- Run the command below in your terminal.
- No credential is required — the public catalog needs no auth.
- Use /mcp inside Claude Code to confirm the `klatchit` server is connected.
claude mcp add --transport http klatchit https://www.klatchit.com/api/mcp/mcp
ChatGPT
Give a custom GPT the Klatchit catalog via its OpenAPI schema (no auth).
- In ChatGPT, create or edit a GPT and open "Configure → Actions".
- Import the schema from: https://www.klatchit.com/api/public/v1/openapi.json
- Set Authentication to "None".
- The GPT can now call /search, /products/{slug}, /categories and /cart-links.
https://www.klatchit.com/api/public/v1/openapi.json
OpenAI API (function calling)
Wire the public catalog into your own OpenAI function-calling loop — no key on the Klatchit side.
- Read the endpoints and shapes from the OpenAPI document: https://www.klatchit.com/api/public/v1/openapi.json
- Call the base URL directly: https://www.klatchit.com/api/public/v1 (send a descriptive User-Agent).
- Expose /search, /products/{slug}, /categories and /cart-links as tools to your model.
- Hand any cart-link URL back to your user to open and check out themselves.
https://www.klatchit.com/api/public/v1
A script or your own backend
Call the public catalog over plain HTTP from anything.
- No account or key is needed for the public catalog.
- Send a descriptive User-Agent so we can tell your agent from a scraper.
- Honour 429 Retry-After and reuse cacheable responses.
curl "https://www.klatchit.com/api/public/v1/search?q=headphones&condition=new" \ -H "User-Agent: my-agent/1.0 (contact@example.com)"
Connect your account
Sign in and grant an OAuth consent (or, as a seller, mint an API key) so an agent can read your own data — and, when the marketplace has enabled agentic checkout and you have turned it on with spending caps, place orders for you.
Claude (claude.ai / desktop)
Connect YOUR Klatchit account over OAuth so Claude can see your own orders, cart, and returns.
- Open Claude → Settings → Connectors → "Add custom connector".
- Paste the authenticated MCP URL: https://www.klatchit.com/api/agent/mcp
- Claude opens Klatchit's sign-in and consent page — approve only the scopes you want.
- To let an agent check out (where the marketplace has enabled it), first turn on agentic purchasing and set spending caps in your account, then re-consent to the checkout scope.
https://www.klatchit.com/api/agent/mcp
Claude Code (CLI)
Add the authenticated Klatchit MCP to Claude Code and connect your account over OAuth.
- Run the command below; Claude Code opens your browser to sign in and consent.
- Approve only the scopes you want to grant this connection.
- The `klatchit` server now acts as you, limited to those scopes.
claude mcp add --transport http klatchit https://www.klatchit.com/api/agent/mcp
ChatGPT
Connect your Klatchit account to ChatGPT over the authenticated MCP (OAuth).
- In ChatGPT, add a custom connector pointing at the authenticated MCP URL below.
- Complete Klatchit's OAuth sign-in and consent when prompted.
- Grant only the scopes you want; revoke anytime from your connected apps.
https://www.klatchit.com/api/agent/mcp
OpenAI API (function calling)
Call an account-scoped Klatchit API from your own OpenAI function-calling app.
- As a SELLER: mint a store API key (owners only) and send it as a Bearer token to the seller API.
- As a BUYER: connect an OAuth app from your account and use its access token against the buyer API.
- Then expose the account endpoints as tools to your model.
# seller API key (klk_live_...) as a Bearer token curl "https://www.klatchit.com/api/v1/listings" \ -H "Authorization: Bearer klk_live_<key_id>.<secret>"
A script or your own backend
Call an account-scoped Klatchit API over plain HTTP.
- Sellers authenticate with a store API key as a Bearer token (mint it on the page below; the secret is shown once).
- Buyers authenticate with an OAuth access token from a connected app.
- Every mutation accepts an Idempotency-Key header for safe retries.
curl "https://www.klatchit.com/api/v1/listings" \ -H "Authorization: Bearer klk_live_<key_id>.<secret>"