Kifly — Agentic Commerce & Payments

Multi-seller shopping for AI agents. Settle via Stripe MPP or x402 USDC on Base. Hosted.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
97%
Calidad de los nombres
95%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~9,666Tokens (definiciones de herramientas)
~2.8 KBTamaño de respuesta típico
Impacto significativo en la atención (7.55% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mcp": {
      "url": "https://kifly.io/api/mcp"
    }
  }
}

Puntos de conexión remotos

https://kifly.io/api/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (22)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢search_products(meta, q, limit, sort_by, min_price_cents, ...)

Search or browse Kifly's product catalog across every seller on the network. Multilingual semantic search (100+ languages); omit `q` to browse recent listings. Pass `q` as an array (up to 5) to try several phrasings in ONE call instead of N searches. Too many hits? Ask once with `facets: true`, then narrow with `delivers_to`, price, `category` or `seller_handle`; page with `cursor` when `kifly:hasMore`. Returns a JSON-LD ItemList. **Rules that matter before you read the response:** - `kifly:purchasable: false` means the seller is discovery-only — present it as a referral, never route to checkout. `availability` is about STOCK, not buyability: read `kifly:purchasable` to decide whether a buyer can actually pay. - On `availability:OutOfStock`, still show it if asked, say it is sold out, and never cart it (`add_to_cart` returns 409). - When a product has several size/style variants, ask the buyer ONE option axis at a time (`kifly:productOptions` gives the axes in the seller's order). Never recite the combination matrix. - On an empty result, read `kifly:emptyReason`: say nothing matched rather than guessing, then offer `kifly:suggestions` (related, NOT matches). **Full response field reference: read the `kifly://docs/search-response` resource.** It documents the seller map, the three delivery-coverage cases, variant/option alignment, the capped fields and every `kifly:` extension — fetch it once if you need field-level detail.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "q": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "minItems": 1,
          "maxItems": 5
        }
      ],
      "description": "Query, or up to 5 queries unioned by best relevance. Omit to browse."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "Max results per page (default 10)."
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "relevance",
        "price_asc",
        "price_desc",
        "newest"
      ],
      "description": "Sort order (default: relevance)"
    },
    "min_price_cents": {
      "type": "integer",
      "minimum": 0,
      "description": "Min price, cents"
    },
    "max_price_cents": {
      "type": "integer",
      "minimum": 0,
      "description": "Max price, cents"
    },
    "in_stock_only": {
      "type": "boolean",
      "description": "In-stock only"
    },
    "category": {
      "type": "string",
      "description": "Category, e.g. a kifly:facets value"
    },
    "seller_handle": {
      "type": "string",
      "description": "Scope to one seller's catalog"
    },
    "cursor": {
      "type": "string",
      "description": "kifly:nextCursor from the previous page"
    },
    "delivers_to": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2
        },
        "region": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "postal_code": {
          "type": "string"
        }
      },
      "required": [
        "country"
      ],
      "additionalProperties": false,
      "description": "Only sellers delivering here, e.g. {country:'US',region:'CA'}"
    },
    "facets": {
      "type": "boolean",
      "description": "Add kifly:facets counts over all matches"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_cart(meta, idempotency_key, seller_handle)

Create a new shopping cart on Kifly. **For network (cross-seller) tokens you MUST pass `seller_handle`** — each cart is bound to exactly one seller. Get the handle from search_products results (every item's `kifly:seller` IS the handle in network results) or get_seller. Seller-scoped tokens may omit the handle — their own seller is implicit. Returns a cart_id to use with add_to_cart and checkout. The response's `seller.kifly_purchasable` (and `seller.fulfillment`) tells you upfront whether this seller can complete a real Kifly checkout — `false`/`"external"` means directory-tier: checkout will hand off to the seller's own site instead of charging, so present the flow as a referral, not a purchase. Cart-building still works either way (needed to generate the handoff's per-product links), and the same flag rides every add_to_cart/get_cart response on this cart too.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "seller_handle": {
      "type": "string",
      "description": "Seller handle (e.g. 'bay-clothing-district'). Required for network tokens; ignored for seller-scoped tokens."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡add_to_cart(meta, idempotency_key, cart_id, variant_id, quantity)

Requires `cart:write`, or no key: send `meta.ucp-agent.profile`. Add a product variant to an existing cart. Use the variant_id from search_products results. Returns full cart state including item_ids you can use with update_cart_item. **Max quantity per item and max cart total are enforced — call `get_platform_limits` to check the current limits before building a large cart.** Exceeding the per-item limit returns 400 `QUANTITY_EXCEEDS_LIMIT`; exceeding the cart total returns 400 `CART_TOTAL_EXCEEDS_LIMIT` at checkout. `cart.kifly_purchasable` (and `cart.fulfillment`) carries the same non-transactable signal as create_cart's `seller` field — check it before telling the buyer this is a real purchase.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "cart_id": {
      "type": "string",
      "description": "Cart ID from create_cart"
    },
    "variant_id": {
      "type": "string",
      "description": "Product variant ID from search_products results"
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "default": 1,
      "description": "Quantity to add"
    }
  },
  "required": [
    "cart_id",
    "variant_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_cart(meta, cart_id)

Inspect the current state of a cart — line items, quantities, prices, and shipping address. Each item includes an `item_id` you can pass to `update_cart_item` to change quantity or remove the item. Call this after `add_to_cart` to review the cart before checkout, or any time the buyer asks what's in the cart. `kifly_purchasable: false` (`fulfillment: "external"`) means checkout on this cart will hand off to the seller's own site instead of charging — say so before the buyer expects a real purchase.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "cart_id": {
      "type": "string",
      "description": "Cart ID from create_cart"
    }
  },
  "required": [
    "cart_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴update_cart_item(meta, idempotency_key, cart_id, item_id, quantity)

Requires `cart:write`, or no key: send `meta.ucp-agent.profile`. Change the quantity of a line item in an open cart, or remove it entirely. Set `quantity` to 0 to remove the item. Get the `item_id` from `get_cart` or the `cart` field in the `add_to_cart` response. Returns the updated cart state. **The per-item quantity ceiling applies here too — call `get_platform_limits` to check the current limit.** Exceeding it returns 400 `QUANTITY_EXCEEDS_LIMIT`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "cart_id": {
      "type": "string",
      "description": "Cart ID from create_cart"
    },
    "item_id": {
      "type": "string",
      "description": "Item ID from get_cart or add_to_cart response"
    },
    "quantity": {
      "type": "integer",
      "minimum": 0,
      "description": "New quantity (0 removes the item)"
    }
  },
  "required": [
    "cart_id",
    "item_id",
    "quantity"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡set_shipping_address(meta, idempotency_key, cart_id, shipping_address)

Requires `cart:write`, or no key: send `meta.ucp-agent.profile`. Persist a shipping address on the cart and confirm the seller can deliver to it. **Call BEFORE `checkout`.** Returns `delivery_eligible`. When true it also returns `cart_total_with_delivery_cents` — quote that full price before sending the buyer to pay, unless `shipping_priced_at` is `merchant_checkout`: then fee and total are null because the seller's own checkout prices shipping; say so, never call shipping free. When false, no address is saved and `delivery_coverage` says where the seller does cover, so you can retry with a covered address. Coverage semantics: `kifly://docs/delivery`.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "cart_id": {
      "type": "string",
      "description": "Cart ID from create_cart"
    },
    "shipping_address": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 150,
          "description": "Buyer's full name"
        },
        "line1": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Street address line 1"
        },
        "line2": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "description": "Street address line 2 (apt, suite)"
        },
        "city": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "region": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50,
          "description": "US state code (e.g. 'CA', 'NE') — matched against seller's delivery_coverage.states"
        },
        "postal_code": {
          "type": "string",
          "minLength": 3,
          "maxLength": 20,
          "description": "Postal/ZIP code"
        },
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "default": "US",
          "description": "ISO 3166-1 alpha-2 country code"
        },
        "phone": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 30
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional contact phone for delivery"
        }
      },
      "required": [
        "name",
        "line1",
        "city",
        "region",
        "postal_code"
      ],
      "additionalProperties": false,
      "description": "Structured shipping address collected conversationally from the buyer"
    }
  },
  "required": [
    "cart_id",
    "shipping_address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡quick_buy(meta, idempotency_key, seller_handle, items, shipping_address, ...)

Requires `cart:write` scope. Create a cart, add items, and set the shipping address in ONE call — the fast path when you already know the seller, the exact variant(s), and the buyer's address (e.g. a reorder, or a buyer who has decided). Prefer this over the create_cart → add_to_cart → set_shipping_address sequence to save round trips; those granular tools stay available for exploratory, multi-step carts. **You must call `search_products` first** so Kifly knows each variant's seller (quick_buy returns 422 `VARIANT_SNAPSHOT_MISSING` otherwise). One cart = one seller: every item must belong to the same seller (409 `CART_SELLER_MISMATCH` otherwise) — for a network token, pass that seller's `seller_handle`. Returns `{ cart_id, items_added, seller, delivery }`. `delivery` is exactly what `set_shipping_address` returns — **quote `cart_total_with_delivery_cents` before sending the buyer to pay**; on `delivery_eligible: false` no address is saved, so you can call again with a covered address. Field detail and the three coverage cases: `kifly://docs/delivery`. **quick_buy never charges — it stops at the cart. The buyer still pays via `checkout`**, which returns the payment link they open themselves. On a 5xx/'temporarily unavailable' error, retry once with the same arguments.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "seller_handle": {
      "type": "string",
      "minLength": 3,
      "maxLength": 40,
      "pattern": "^[a-z0-9-]+$",
      "description": "Seller handle from search_products. REQUIRED for network tokens; omit for seller-scoped tokens (their own seller is implicit)."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variant_id": {
            "type": "string",
            "minLength": 1,
            "description": "Product variant ID from search_products results"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "description": "Quantity to add"
          },
          "measure_amount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Sold-by-measure amount (e.g. 0.4 oz) for variants priced by measure; omit for fixed-price variants"
          }
        },
        "required": [
          "variant_id",
          "quantity"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 50,
      "description": "Line items to add — all must belong to the same seller"
    },
    "shipping_address": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 150,
          "description": "Buyer's full name"
        },
        "line1": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Street address line 1"
        },
        "line2": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "description": "Street address line 2 (apt, suite)"
        },
        "city": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "region": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50,
          "description": "US state code (e.g. 'CA', 'NE') — matched against seller's delivery_coverage.states"
        },
        "postal_code": {
          "type": "string",
          "minLength": 3,
          "maxLength": 20,
          "description": "Postal/ZIP code"
        },
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "default": "US",
          "description": "ISO 3166-1 alpha-2 country code"
        },
        "phone": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 30
            },
            {
              "type": "null"
            }
          ],
          "description": "Optional contact phone for delivery"
        }
      },
      "required": [
        "name",
        "line1",
        "city",
        "region",
        "postal_code"
      ],
      "additionalProperties": false,
      "description": "Structured shipping address collected conversationally from the buyer"
    },
    "external_customer_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Embedded-commerce pass-through: the seller's own opaque customer id for a cart from their embed widget. Omit unless you are the embed flow."
    }
  },
  "required": [
    "items",
    "shipping_address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴checkout(idempotency_key, cart_id, email, buyer_token)

Requires `checkout:write` **or** the narrower `checkout:link` scope — and **no API key at all** works too: send `meta.ucp-agent.profile` and you get the same payment link (a tokenless caller holds `checkout:link`). **Checkout is always human-in-the-loop: it returns a link the buyer opens and confirms — it never charges a card or completes an order on its own.** **Requires `set_shipping_address` to have been called first.** Cart total must not exceed the platform cap (`kifly://platform/limits`). **To pre-fill the buyer's email on the payment page, pass `email` — ask the buyer for it in plain language ('what email should the receipt go to?'). Never ask the buyer to paste a token.** Read `payment_rail` on the response BEFORE telling the buyer anything: `'stripe-checkout'` is a real Kifly purchase, `'directory-handoff'` is a referral to the seller's own site with no payment link at all, and `'shopify-native'` sends the buyer to the seller's own checkout. **Full response field reference, including every refusal code: read the `kifly://docs/checkout-response` resource.**

Esquema de entrada

{
  "type": "object",
  "properties": {
    "idempotency_key": {
      "type": "string",
      "minLength": 16,
      "maxLength": 64,
      "description": "Your own retry key (16-64 chars). Resend the SAME key to retry safely."
    },
    "cart_id": {
      "type": "string",
      "description": "Cart ID from create_cart"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Buyer's email, collected conversationally. Pre-fills the Stripe Checkout email field so the buyer doesn't retype it. This is ALL you need to pre-fill email — ask the buyer for their email, never for a token."
    },
    "buyer_token": {
      "type": "string",
      "description": "INTERNAL token (kfb_live_...) minted by register_buyer / verify_buyer — resolves the buyer's saved profile and pre-fills their email on the payment link. NEVER ask the buyer to paste this. Omit it unless you already obtained one programmatically this session; to pre-fill email, use `email` instead."
    }
  },
  "required": [
    "cart_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢register_buyer(email, name)

Start registering a buyer so they can be recognized across future purchases without re-entering their details. Takes the buyer's email and name and always emails a 6-digit verification code — the response is `{ verification_required: true, buyer_profile_id }` whether the email is brand new or already has an account (so this call alone never reveals which). Ask the buyer to read you the code from their inbox, then call `verify_buyer` with the same email + code to get a `buyer_token` (`kfb_live_...`). **Store that token and pass it to `checkout` on every future order** — it pre-fills the buyer's email on the secure Stripe payment link. Safe to call for a buyer you believe is new; if they already have an account, verify_buyer still recovers it.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "Buyer's email address"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Buyer's full name"
    }
  },
  "required": [
    "email",
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡request_buyer_code(email)

Send a 6-digit verification code to a **returning** buyer's email so they can prove the account is theirs and recover their saved name + shipping address on this connection — without pasting any token or re-entering their name. Call this when the buyer says they've shopped with Kifly before and gives you their email; then ask them to read you the code from their inbox and call `verify_buyer`. Always returns `{ sent: true }` — for the buyer's privacy the response is identical whether or not the email has a Kifly account (so it can't be used to probe who shops here), and a code is only actually emailed if an account exists. If the buyer never receives a code, they likely don't have an account yet: call `register_buyer` instead, which creates one and emails a code either way. Requires the `buyer:write` capability (marketplace/network keys).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "The returning buyer's email address"
    }
  },
  "required": [
    "email"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪verify_buyer(email, code)

Verify the 6-digit code a returning buyer received by email (from `request_buyer_code`). On success returns `{ buyer_token, buyer_profile_id }` — pass the `buyer_token` to `get_buyer_profile` to auto-fill their saved name + shipping address, and to `checkout` to pre-fill their email on the payment link. Fails with `invalid_otp` if the code is wrong or expired (ask them to re-check, or call `request_buyer_code` again). Requires the `buyer:write` capability.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "The buyer's email address (same one used for request_buyer_code)"
    },
    "code": {
      "type": "string",
      "pattern": "^\\d{6}$",
      "description": "The 6-digit code the buyer received by email"
    }
  },
  "required": [
    "email",
    "code"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_buyer_profile(buyer_token)

Retrieve a repeat buyer's saved name, email, and default shipping address, given their `buyer_token`. Use them to auto-fill `set_shipping_address`, and pass the token to `checkout` so Stripe pre-fills their email. `default_shipping_address` may be null — then collect it normally and call `save_buyer_address` so it is pre-filled next time. **Ask in plain language ('are you a returning Kifly shopper? what email is on your account?') — never ask a buyer to paste a token.** **How to get the token: read `kifly://docs/buyer-identity`** — the email-code sequence, the one-click sign-in alternative, and what to do for a new buyer.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "buyer_token": {
      "type": "string",
      "minLength": 1,
      "description": "The buyer's kfb_live_... token from their Kifly account"
    }
  },
  "required": [
    "buyer_token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_orders(buyer_token, since, limit)

List a returning buyer's recent orders and their current fulfillment status — use this in a NEW session to answer 'did my order ship?' / 'where's my package?' when you don't have the original `session_id` from `checkout`. Requires the buyer's `buyer_token` (recover it via `request_buyer_code` + `verify_buyer` if you don't have one). Returns `{ orders, count }`, newest first; each order has `status` (`paid` | `shipped` | `delivered`), `items`, `amount_cents`, `placed_at`, and — once shipped — `tracking_number`, `carrier`, and a public `tracking_url`. **Pass `since` (an ISO-8601 timestamp from a previous check) to get only orders that changed since then** — surface those proactively ('your last order just shipped'). `order_id` identifies the order; `session_id` cross-references `order_status` for a single live checkout.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "buyer_token": {
      "type": "string",
      "minLength": 1,
      "description": "The buyer's kfb_live_... token from their Kifly account"
    },
    "since": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 timestamp. Only return orders updated after this — pass the time of your last check to get the delta."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Max orders to return (default 20, max 50)."
    }
  },
  "required": [
    "buyer_token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡save_buyer_address(buyer_token, address)

Save a shipping address to the buyer's Kifly profile so it auto-fills on future purchases. **Call this after a successful checkout if `get_buyer_profile` returned `default_shipping_address: null`.** The address is persisted server-side against the buyer token — the buyer never needs to re-enter it. Use the same address that was passed to `set_shipping_address` for this order.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "buyer_token": {
      "type": "string",
      "minLength": 1,
      "description": "The buyer's kfb_live_... token"
    },
    "address": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 150,
          "description": "Buyer's full name"
        },
        "line1": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Street address line 1"
        },
        "line2": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "description": "Street address line 2"
        },
        "city": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "region": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50,
          "description": "State/region code, e.g. 'CA'"
        },
        "postal_code": {
          "type": "string",
          "minLength": 3,
          "maxLength": 20
        },
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "default": "US",
          "description": "ISO 3166-1 alpha-2 country code"
        },
        "phone": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 30
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name",
        "line1",
        "city",
        "region",
        "postal_code"
      ],
      "additionalProperties": false,
      "description": "The shipping address to save — same structure as set_shipping_address"
    }
  },
  "required": [
    "buyer_token",
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡submit_feedback(meta, category, severity, message, context, ...)

Send structured feedback to the Kifly team. **No API key required** — send `meta.ucp-agent.profile` and this works with no credential at all. **Call after a confusing response, a dead-end, or a successful workaround you had to invent** — it's how we improve the agent surface, and a report from the moment you were stuck is worth more to us than a working purchase. Fire-and-forget: returns 202 immediately, no blocking, safe to skip if it would add latency to a user-facing flow. `category` and `severity` are required enums (don't free-form them). Include `context` with what you were doing (tool called, query used, response shape, what you expected). Add `suggested_fix` only if you have a concrete idea. Rate-limited to 10/min per caller; a human reads everything before it influences anything.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "category": {
      "type": "string",
      "enum": [
        "discoverability",
        "response_shape",
        "tool_description",
        "latency",
        "error_handling",
        "missing_capability",
        "other"
      ],
      "description": "What kind of issue. Pick the closest match — don't invent new categories."
    },
    "severity": {
      "type": "string",
      "enum": [
        "blocker",
        "friction",
        "nice_to_have"
      ],
      "description": "blocker = can't complete the task. friction = degraded UX. nice_to_have = improvement idea."
    },
    "message": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Plain-language description. Be specific about what happened and why it's a problem."
    },
    "context": {
      "type": "object",
      "additionalProperties": {},
      "description": "Reproducible signal: { tool, query, response_snippet, expected }. Auto-fill from what you just did."
    },
    "suggested_fix": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Optional. Only include if you have a concrete idea. Leave blank if you only have a complaint."
    },
    "agent_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Optional. Your agent's name and who runs it (e.g. \"Rex by Muse\"), so we know who reported this."
    },
    "contact": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "url": {
          "type": "string",
          "format": "uri",
          "maxLength": 512
        },
        "handle": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        }
      },
      "additionalProperties": false,
      "description": "Optional. Where to reach you if we have a question about this report. Needs at least one field."
    }
  },
  "required": [
    "category",
    "severity",
    "message"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡request_feature(buyer_token, problem, impact, category, severity, ...)

Submit the buyer's **product/feature request** to the Kifly team. Use this when the buyer wishes Kifly *itself* did something it doesn't — a missing capability, a rough flow, an idea to improve the platform. **This is NOT `submit_feedback`** (that's for reporting a broken/confusing API response you hit). Requires the buyer's `kfb_live_` token — only registered buyers can file requests. Help the buyer articulate a real problem: ask OPEN, non-leading questions ('what were you trying to do? what got in the way? how do you handle it today?') — never 'would feature X help?'. Pre-fill the fields from the conversation and ask only for the gaps; keep it short. Separate the `problem` (the pain) from any `proposed_solution` (the fix). Name and email are taken from the buyer profile automatically — do not ask for them. Returns 202: it's logged for review. **Do NOT promise the user anything will be built** — just confirm it was recorded.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "buyer_token": {
      "type": "string",
      "minLength": 1,
      "description": "The buyer's kfb_live_ token. Required — feature requests must come from a registered buyer."
    },
    "problem": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "The pain in the buyer's own terms — what's broken or missing for them. NOT the proposed fix."
    },
    "impact": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Why it matters: who it affects, how often, what it costs them today."
    },
    "category": {
      "type": "string",
      "enum": [
        "discoverability",
        "response_shape",
        "tool_description",
        "latency",
        "error_handling",
        "missing_capability",
        "other"
      ],
      "description": "Closest match for the area of the request. Don't invent new categories."
    },
    "severity": {
      "type": "string",
      "enum": [
        "blocker",
        "friction",
        "nice_to_have"
      ],
      "description": "blocker = can't accomplish the goal at all. friction = works but painful. nice_to_have = improvement idea."
    },
    "current_workaround": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Optional. What the buyer does today instead. Leave blank if there's no workaround."
    },
    "proposed_solution": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Optional. The buyer's idea for a fix, kept separate from the problem. Leave blank if they only described the pain."
    },
    "contact_phone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50,
      "description": "Optional phone number IF the buyer offers one for follow-up. Name + email come from their profile — never ask for those."
    },
    "context": {
      "type": "object",
      "additionalProperties": {},
      "description": "Optional signal about the conversation: { goal, seller, last_tool }. Auto-fill from what you were doing."
    }
  },
  "required": [
    "buyer_token",
    "problem",
    "impact",
    "category",
    "severity"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_seller(meta, handle)

Retrieve a seller's public profile: name, location (city/region/country), storefront URL, delivery fee, delivery coverage and catalog size. `verified_domains`: domains the seller proved it controls; a trust signal, not an identity check. **Call before `create_cart` or `set_shipping_address` to check the seller ships to the buyer's area.** This is the FULL profile — `cities` is never capped here (unlike `list_sellers`/`search_products`). **`coverage_configured: false` means the seller ships NOWHERE — never tell the buyer otherwise; an empty `states` list is NOT nationwide. `merchant_managed: true` means shipping is set at the seller's own checkout — do NOT report them as not shipping.** Full semantics, including the `nationwide` and capped-cities cases: read `kifly://docs/delivery`. **Network (cross-seller) tokens must pass `handle`** (e.g. `bay-clothing-district`); lookup is case-insensitive. Seller-scoped tokens may omit it — their own seller is implicit.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "handle": {
      "type": "string",
      "description": "Seller handle (case-insensitive, e.g. 'bay-clothing-district' or 'BayClothingDistrict'). Required for network tokens; ignored for seller-scoped tokens."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_policies(meta, handle)

The seller's published returns, shipping and warranty policy, in their own words. **Call before telling a buyer what happens after purchase** — if it is not here, say so; never infer a typical policy. `available: false` is the normal case for most sellers and is not an error. `get_seller`'s `policies.available` tells you whether this call is worth making. Network tokens pass `handle`; seller-scoped tokens may omit it.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "handle": {
      "type": "string",
      "description": "Seller handle (case-insensitive). Required for network tokens; ignored for seller-scoped tokens."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_sellers(meta, limit, cursor)

List all active sellers on the Kifly network. **Requires a network token (kfn_live_…).** Returns each seller's handle, name, city, region, delivery coverage (`nationwide:true` or a `states` list), delivery fee, and catalog size. `delivery_coverage.cities` may be capped to a handful of entries — compare `cities.length` against `city_count`; if fewer, call `get_seller` for that seller's full city list. Use this to discover which sellers are available and which ship to a buyer's location before calling `get_seller` or `search_products`. **Pagination:** when `kifly:hasMore` is true, pass `kifly:nextCursor` as `cursor` to fetch the next page. Default page size is 20, max 50.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Max sellers per page (default 20, max 50)."
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor from kifly:nextCursor in a previous response. Omit on the first call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_platform_limits(meta)

Returns the current platform-enforced cart limits: `max_item_quantity` (per-line-item ceiling), `max_cart_total_cents`, and `max_cart_total_usd`. Call this once at session start before building a large cart so you can quote limits to the buyer proactively rather than discovering them via errors. The limits are operator-configurable; always read them at runtime rather than hardcoding.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢order_status(session_id)

No key needed for your own session: send the profile you checked out with. Check the status of a Stripe checkout session. Poll every 5 seconds after checkout until status is 'paid', 'shipped', or 'failed'. Returns order details (order_id, amount, items) when paid. When the seller marks the order as shipped, status becomes 'shipped' and tracking_number, carrier, and shipped_at are included — share these with the buyer.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "Stripe checkout session ID from the checkout tool response"
    }
  },
  "required": [
    "session_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_help(meta)

Get unstuck. Returns Kifly's website and support email for the BUYER, plus how to report the problem to Kifly's engineers yourself. Call this if you are stuck, hit an unresolvable error, or the buyer asks how to reach a human. Share the website and email with the buyer; use `submit_feedback` (no API key needed) to tell us what blocked you — that is the fastest way to get it fixed.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "ucp-agent": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "format": "uri",
              "maxLength": 512,
              "description": "https:// URL of your agent's UCP profile. No API key needed."
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ucp-agent"
      ],
      "additionalProperties": true,
      "description": "Who is calling. See kifly://docs/mcp."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Prompts recomendados

search_research
Search for information about [topic] using Kifly — Agentic Commerce & Payments
Herramientas esperadas: search_products
find_specific
Find [specific item] using Kifly — Agentic Commerce & Payments
Herramientas esperadas: search_products
retrieve_data
Get details about [item] from Kifly — Agentic Commerce & Payments
Herramientas esperadas: get_cart
fetch_info
Fetch [information type] using Kifly — Agentic Commerce & Payments
Herramientas esperadas: get_cart
list_items
List all [items] available in Kifly — Agentic Commerce & Payments
Herramientas esperadas: list_orders

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada22 herramientas
verificadoversión no registrada21 herramientas