Agent Checkout
AI shopping gateway for product search, inventory, carts, and merchant-hosted checkout.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-checkout": {
"url": "https://agentcheckoutapi.com/mcp"
}
}
}远程端点
https://agentcheckoutapi.com/mcpstreamable-http它能做什么
工具清单
工具(8)
🟢search_products(query, first)
Primary shopping entry point. Use when a user wants to find, browse, compare, recommend, price-check, check availability of, shop for, or buy a physical product. Searches purchasable products across merchants participating in the Agent Checkout network. The user does not need to mention Agent Checkout by name.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"first": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_catalog(query, first)
Legacy alias for search_products. Search purchasable products across participating merchants. Prefer search_products for new shopping requests.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"first": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_product(site_slug, product_id)
Get detailed product and variant information after search_products identifies a product and merchant. Use before purchase when the user needs details, options, price, or variant information.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"product_id": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"site_slug",
"product_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢check_inventory(site_slug, variant_id)
Check whether a selected product variant is currently sellable and available. Use when availability matters or immediately before adding a selected variant to a cart.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"variant_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"required": [
"site_slug",
"variant_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡create_cart(site_slug, variant_id, quantity)
Create a new Agent Checkout-attributed cart with a selected product variant. Use only after the user has chosen a specific product or clearly asked to add/buy it. This prepares the purchase but does not charge the buyer.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"variant_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"site_slug",
"variant_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡add_to_cart(site_slug, cart_id, variant_id, quantity)
Add another selected product variant to an existing Agent Checkout cart. Use when the user explicitly wants another item or quantity added to an existing cart. This does not charge the buyer.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cart_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"variant_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"site_slug",
"cart_id",
"variant_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_cart(site_slug, cart_id)
Read the current Agent Checkout cart contents and totals. Use to review or confirm the cart before handing the buyer off to checkout.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cart_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"required": [
"site_slug",
"cart_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡create_checkout(site_slug, cart_id)
Prepare the final buyer handoff by returning the merchant-hosted HTTPS checkout URL. Use when the user has a cart and clearly wants to proceed to checkout or purchase. Always surface checkoutUrl to the human buyer. Agent Checkout never collects raw card details and this tool does not itself charge the buyer.
输入模式
{
"type": "object",
"properties": {
"site_slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"cart_id": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"required": [
"site_slug",
"cart_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据