SuperAPIAI Directory

cartai-mcp-server

github.com · AI developer platforms

CartAI MCP Server is a Model Context Protocol (MCP) server provided by CartAI that connects CartAI's agentic checkout infrastructure to AI assistants. Through a set of tools, it enables AI to search for products, retrieve real-time prices, estimate shipping and taxes, create payment sessions, securely store merchant login credentials, and complete orders automatically or interactively on merchant websites worldwide. Checkout tasks are executed asynchronously, support multi-merchant order splitting, MFA/OTP interactive input, and real-time status tracking, while the merchant remains the merchant of record. The server is based on Node.js 18+ and can be run quickly via npx, and requires configuration of CARTAI_API_KEY.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

CartAI MCP Server is a Model Context Protocol (MCP) server launched by CartAI, designed to provide agentic checkout capabilities for AI assistants. MCP is an open standard that allows AI assistants to invoke external tools through a unified interface, and this server encapsulates CartAI's checkout infrastructure as MCP tools, enabling AI to autonomously complete product discovery, payment authorization, and order placement workflows. Each tool corresponds one-to-one with a CartAI REST endpoint, and the server itself is a thin, type-safe bridge that contains no additional logic.

The main capabilities are divided into four groups:

  1. Catalog: search_products searches for products across merchants by name and returns ranked results with prices, images, and purchase links; get_product_details retrieves detailed variant, price, and inventory information based on a product page URL; get_checkout_estimates calculates the subtotal, shipping, taxes, and total for a specified merchant, destination postal code, and list of items before checkout.

  2. Payments: create_payment_session creates a hosted payment session and returns a secure URL for the customer to authorize a bank card, automatically initiating Visa Intelligent Commerce or Mastercard Agent Pay based on the card associated with the customer's email; get_payment_credentials retrieves scoped payment credentials (agent PAN or Stripe Link wallet card) after customer authorization, usable only for the approved amount and merchant, and does not return the real card number; delete_payment_session deletes a payment session.

  3. Credentials: create_credential_session creates a credential vaulting session for a merchant and returns a secure URL for the customer to store login information for that merchant; subsequent checkouts can set options.useSavedCredentialToLogin: true to log in using saved credentials.

  4. Checkout: create_checkout creates an asynchronous checkout task based on product page URLs, and a multi-merchant shopping cart is split into one task per merchant; create_search_checkout creates an asynchronous checkout task based on product names and merchant websites, and the agent searches the catalog and resolvesProducts and variants, assembling the cart and completing delivery, payment, and order confirmation; get_checkout retrieves the full status of a task; cancel_checkout cancels an in-progress task; get_status_history returns a step-by-step event log; send_interactive_inputs sends customer input to a task paused awaiting input (currently only MFA/OTP verification codes).

Usage: Recommended to run via npx -y cartai-mcp-server, no need to clone the repository; simply set the CARTAI_API_KEY environment variable in the MCP client configuration. Supports clients such as Claude Desktop, Cursor, VS Code, and MCP Inspector. For local development, clone the repository and run src/index.js with node. The server will still start when the API key is missing, but all API calls will be rejected and a warning will be output. Requires Node.js 18 or later.

Use cases: Suitable for platforms or developers who want an AI assistant to complete cross-merchant online shopping on behalf of users, including product search and price comparison, pre-checkout cost estimation, automated order placement, checkout flows requiring customer interaction (such as OTP), and scenarios requiring secure storage of merchant login credentials.

Limitations: Checkout tasks execute asynchronously and require webhook or polling to obtain status; interactive input currently only supports MFA/OTP verification codes; payment credentials are limited to the authorized amount and merchant; a valid CartAI API key is required; the merchant remains the merchant of record. Specific fees, pricing, and the range of supported merchants are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools