Skip to content
Back to blog
developer-guide14 min

From 0 to Agent-Ready: The Complete MCPWebStore Developer Guide

Step-by-step guide to connect your Shopify, WooCommerce, or Odoo store to AI agents via MCP. From sign-up to live endpoint, checkout flow, discovery, and trust score optimization.

Executive summary

A complete walkthrough for connecting any e-commerce store to AI agents via MCP. Covers account creation, platform connection (Shopify/WooCommerce/Odoo), testing endpoints, authentication, checkout flows, discovery, trust scores, and webhooks — with production checklist and common gotchas.

Published

2026-04-06

Updated: 2026-04-06

14 min

Author

Integration Architecture Team

Implementation architects

The integration architecture team focuses on practical rollout patterns for stores adopting MCP-compatible commerce surfaces.

View profile

Category

developer-guide

developer guideMCPonboardingShopifyWooCommerceOdooAI agentsagentic commercetutorial

This guide walks you through every step of connecting your e-commerce store to AI agents via AgenticMCPStores. By the end, you will have a live MCP endpoint, a synced product catalog, agent-ready tools (search_products, create_cart, complete_checkout), a trust score visible to agents, and a merchant dashboard showing real-time sessions and analytics. Time required: about 10 minutes for basic setup, about 30 minutes for full configuration. Prerequisites: an active store on Shopify, WooCommerce, or Odoo with at least one published product.

Architecture Overview

AgenticMCPStores acts as a bridge between your existing e-commerce platform and AI agents. It syncs your product catalog to a normalized database (30-minute cache), exposes standardized MCP tools that any agent can call, handles rate limiting, authentication, and trust scoring, and does NOT process payments — checkout returns a URL to your store's payment page. This means zero fraud risk from the platform. Agents browse and create carts; customers complete payment on your existing checkout.

Step 1: Create Your Merchant Account

Sign up at agenticmcpstores.com/dashboard. Authentication uses magic links — enter your email, click the link, you are in. No passwords to manage. The free tier (Starter) includes: 1 store connection, 100 requests/minute, 8 MCP tools (search, browse, cart, checkout), basic trust score, and community support. This is enough to test the full agent flow end-to-end before upgrading.

Step 2: Connect Your Store

For Shopify: click Add Store, enter your mystore.myshopify.com domain, and authorize via OAuth. The platform syncs your catalog automatically using cursor-based pagination (handles 10K+ products). Uses Shopify GraphQL Admin API with auto-refreshing OAuth tokens. Inventory tracked via inventoryQuantity with fallback to in_stock. For WooCommerce: install the AgenticMCPStores WordPress plugin, copy your Consumer Key and Consumer Secret from WooCommerce Settings REST API. The plugin pushes changes via WordPress hooks (on_product_save, on_stock_change, on_product_delete). Uses REST API v3 with HTTP Basic Auth, supporting full and incremental sync. For Odoo: enter your instance URL (SaaS or self-hosted), authenticate with API key (recommended over password), and select product categories to sync. Uses Odoo XML-RPC API. After connecting, your store gets a unique slug and your MCP endpoint goes live.

Step 3: Test Your MCP Endpoint

Your endpoint is immediately available for read-only tools without authentication. 11 tools are public (no auth required): search_products, get_product_details, browse_categories, get_merchant_profile, search_global_products, get_store_policies, check_availability, compare_products, get_deals, get_reviews, search_knowledge. Checkout tools (create_cart, preview_checkout, complete_checkout) require an Agent API Key or OAuth Bearer token. Example search: POST https://agenticmcpstores.com/{slug}/mcp with JSON-RPC body calling search_products.

Step 4: Set Up Agent Authentication

For checkout flows, agents need to authenticate. Option A (recommended): Agent API Key — generate from Dashboard, Store Settings, API Keys. Pass via X-Agent-Api-Key header. Keys are hashed with HMAC-SHA256; the platform never stores the raw key. Option B: OAuth 2.0 Bearer Token for machine-to-machine (M2M) integrations via /api/v1/auth/login. For Claude Desktop / Claude.ai integration, add an mcpServers entry with your store URL and API key in the headers. Claude can then search products, create carts, and complete checkouts through natural conversation.

Step 5: The Complete Checkout Flow

The full agent checkout sequence: (1) search_products to find products, (2) get_product_details to confirm price and availability, (3) create_cart to add items and get a cart_id, (4) preview_checkout to see total with shipping and tax, (5) get_shipping_rates for available options, (6) select_shipping_option for the agent to pick a method, (7) complete_checkout which returns a checkout URL. The human user completes payment on your store native checkout page. The platform never handles credit cards. Checkout sessions are encrypted (AES-256-GCM) with a 30-minute TTL.

Step 6: Make Your Store Discoverable

Three discovery mechanisms: (1) Merchant Directory (automatic) — your store is listed at /.well-known/merchant-index.json and /api/v1/stores/directory with slug, categories, trust score, and MCP endpoint. (2) NLWeb Semantic Search — POST /{slug}/ask with natural language queries, uses pgvector embeddings, results stream via SSE. (3) Machine-Readable Discovery Files — /llms.txt, /mcp.json, /.well-known/acp.json, /.well-known/ucp, /.well-known/agent-policy.json, /.well-known/agent-card.json. These files are how Claude, ChatGPT, and other LLMs learn about the platform.

Step 7: Improve Your Trust Score

Your trust score (0-100) determines agent ranking. 8 components: product catalog completeness (15%), policy transparency (15%), eIDAS verification (20%), response time (10%), uptime (10%), order fulfillment rate (15%), customer reviews (10%), security posture (5%). Quick wins: add complete product descriptions with Schema.org GTINs (+15 points), publish all three policies (+15 points), keep catalog synced under 30 min staleness (+10 points). Scores below 40 trigger agent warnings; below 20 may exclude your store from recommendations.

Step 8: Configure Webhooks (Optional)

Register webhook endpoints via POST /api/v1/webhooks with events: order.created, order.status_changed, checkout.abandoned. Verify payloads using HMAC-SHA256 signature in X-Webhook-Signature header with crypto.timingSafeEqual for constant-time comparison.

Going Further: Multi-Protocol Support

AgenticMCPStores supports 8 protocols: MCP (Starter), ACP (Starter), AP2 (Growth), x402 stablecoin (Pro), UCP (Growth), A2A (Pro), AG-UI (Growth), VIC/MCAP card networks (Enterprise). Each protocol is auto-detected. Agents send requests in their preferred format; the platform normalizes everything to a unified AgentPaymentIntent.

Production Checklist

  • 1
    Catalog synced — at least 1 product visible via search_products
  • 2
    Policies published — return, shipping, and privacy policies on your store
  • 3
    API key generated — for authenticated checkout flows
  • 4
    Webhook configured — to receive order notifications
  • 5
    Trust score > 40 — minimum for agent recommendations
  • 6
    Rate limits understood — Starter: 100 req/min, Growth: 500, Pro: 2,000
  • 7
    Checkout tested — run the full flow: search, cart, preview, complete
  • 8
    Claude Desktop tested — add MCP server config and verify product search
  • 9
    Monitoring enabled — dashboard shows real-time agent sessions

Common gotchas: Shopify — ensure OAuth app has read_products and read_inventory scopes. WooCommerce — Consumer Key must have Read/Write permissions (not just Read). Odoo — use API key authentication, not username/password (breaks on SaaS). All platforms — products must be published or active to appear in search results.

Essential insight

Frequently asked questions

How long does it take to set up a store?

Basic setup takes about 10 minutes: create account, connect store, generate API key. Full configuration with webhooks, policies, and trust score optimization takes about 30 minutes. Your MCP endpoint is live immediately after store connection.

Do I need to change my existing store?

No. AgenticMCPStores syncs read-only from your existing Shopify, WooCommerce, or Odoo store. Your current customers, checkout flow, and payment processing remain unchanged. The platform adds a new sales channel — AI agents — without modifying your existing setup.

Is it safe? Can agents charge my customers without consent?

The platform never processes payments. The complete_checkout tool returns a URL to your store native checkout page, where the human customer enters payment details and confirms the purchase. Agents facilitate discovery and cart creation, but payment always requires human action on your checkout page.

Which AI agents can connect to my store?

Any agent that supports MCP (Model Context Protocol) — including Claude, ChatGPT with MCP plugins, custom agents built with LangChain, AutoGPT, and any HTTP client that speaks JSON-RPC 2.0. The platform is protocol-agnostic; if an agent can make HTTP POST requests, it can use your MCP endpoint.

What happens if my store goes offline?

AgenticMCPStores caches your product catalog with a 30-minute TTL. If your store is temporarily unavailable, agents can still search products from the cache. Checkout operations will fail gracefully with an error message. Your trust score uptime component will decrease, which may lower your ranking in agent recommendations.

Sources and references

Related articles

integration-guide

Odoo + MCP in 15 Minutes: Connect Your ERP to AI Agents

Connect your Odoo 16, 17, or 18 instance to AI agents in under 15 minutes. One JSON-RPC connector, zero code changes to Odoo. Your products, stock levels, and pricelists become discoverable and purchasable by Claude, GPT, and other AI agents via MCP.

From 0 to Agent-Ready Store in 10 Minutes — MCPWebStore Developer Guide 2026 | AgenticMCPStores