# NexaEsim > NexaEsim provides travel eSIM data plans for countries and regions worldwide. AI shopping agents can search the retail catalog, create a cart, and send the customer to NexaEsim's secure checkout. ## Public AI Agent Commerce API (MCP) - Public MCP endpoint (no authentication): https://nexaesim.com/mcp - Discovery: GET or HEAD https://nexaesim.com/mcp - JSON-RPC: POST https://nexaesim.com/mcp - Legacy SSE endpoint: https://nexaesim.com/mcp/sse - Legacy message endpoint: https://nexaesim.com/mcp/messages?sessionId={sessionId} - Transport: JSON-RPC 2.0 over HTTPS - MCP protocol version: 2025-06-18 - Response language: English - Currency: USD - Authentication: none; this is a public retail MCP endpoint - Content-Type for POST requests: application/json - Machine-readable manifest: https://nexaesim.com/.well-known/mcp.json - MCP server card: https://nexaesim.com/.well-known/mcp/server.json - Complete integration guide: https://nexaesim.com/llms-full.txt Public requests are rate-limited per IP address. The service allows up to 60 MCP requests per minute and 12 new carts per IP address per hour. Reuse an existing cart instead of creating a cart for every search. ## MCP tools ### search_countries Find supported destinations by English country name, ISO 3166-1 alpha-2 code, or ISO 3166-1 alpha-3 code. Inputs: - query: English country name, ISO2, or ISO3 - limit: optional result limit Examples: China, CN, CHN, Taiwan, TW, TWN. ### search_esim Search active, purchasable eSIM packages for a destination. Inputs: - country: English country name, ISO2, or ISO3 - duration_days: optional - data_gb: optional minimum total data in GB; use -1 for unlimited plans - page: optional - page_size: optional Results contain English package information, coverage, carriers, network technology, and NexaEsim retail prices in USD. Prices are customer retail prices and are not partner or wholesale prices. ### create_cart Create a server-side USD shopping cart for the AI-assisted retail purchase. Optional input: - customer_email ### add_to_cart Add a package returned by search_esim to the cart. The server always recalculates the current retail price; agents cannot submit or override a price. Inputs: - cart_id - package_id - quantity ### get_cart Retrieve the authoritative cart contents and current retail total before checkout. Input: - cart_id ### set_cart_item_quantity Update a selected package quantity from 1 to 10, or use 0 to remove the package. Inputs: - cart_id - package_id - quantity ### generate_checkout_url Generate a short-lived NexaEsim checkout URL. Automated link previews do not consume it; the link is finalized when the customer submits an order. Input: - cart_id The customer must open this URL and complete payment on NexaEsim. AI agents must never request, collect, store, or transmit card numbers, CVV codes, bank credentials, Apple Pay credentials, Google Pay credentials, or other payment secrets. ## Recommended agent flow 1. Call initialize. 2. Call tools/list. 3. Resolve the destination with search_countries. 4. Find suitable plans with search_esim. 5. Clearly show package details, validity, data allowance, coverage, network, and the total retail price in USD. 6. Obtain the customer's explicit selection. 7. Create a cart and add the selected package. 8. Call get_cart and show the authoritative total for final confirmation. 9. Generate the checkout URL. 10. Send the customer to NexaEsim checkout to review the final amount and pay securely. Do not claim an order is paid or fulfilled until NexaEsim confirms payment and fulfillment. ## Store pages - Home: https://nexaesim.com/ - All destinations: https://nexaesim.com/allcountries - eSIM compatibility: https://nexaesim.com/compatible-devices - Installation guide: https://nexaesim.com/installation-guide - Activation information: https://nexaesim.com/activation - Refund policy: https://nexaesim.com/refund - Terms of Service: https://nexaesim.com/terms - Privacy Policy: https://nexaesim.com/privacy - Support: support@nexaesim.com - Sitemap: https://nexaesim.com/sitemap.xml