From 0 to Agent-Ready: The Trusteed 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-09-13
14 min
Author
Trusteed
Published by Trusteed
Written and maintained by the team that builds Trusteed. Technical claims in these articles are backed by the surfaces linked from each piece and by the signed capability registry at /.well-known/trusteed-capabilities.json, which is the arbiter when an article and a status surface disagree.
About TrusteedCategory
Developer Guides
This guide walks you through every step of connecting your e-commerce store to AI agents via Trusteed. 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
Trusteed 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 is not a payment processor or merchant of record: where a charge happens, it is made on your own payment account. On a Shopify store, complete_checkout hands the buyer a link to your native checkout. Agents browse and create carts; customers complete payment on your checkout.
Step 1: Create Your Merchant Account
Sign up at trusteed.xyz/dashboard. Authentication uses magic links: enter your email, click the link, you are in. No passwords to manage. Public access is currently handled as free beta onboarding with fair-use protections, including enough MCP capability to test search, browsing, cart, and checkout flows end-to-end before any later commercial rollout.
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 Trusteed 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://trusteed.xyz/{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 status: COMPLETED with an order_id, or PENDING_EXTERNAL_CONFIRMATION with the link where the human completes payment (on a Shopify store, your 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
Trust Score v4.1 combines three weighted dimensions with an optional external-assurance bonus and confidence-tier caps. Each response identifies the engine used; some responses fall back to legacy v2. A legacy v2 component breakdown does not explain an overall score produced by v4.1.
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
Trusteed supports 9 payment protocols: MCP, x402, ACP, UCP, Visa VIC, Mastercard MCAP, PayPal, SCP, and MPP (coming soon), plus AG-UI for human-in-the-loop checkout and A2A for agent-to-agent communication. Each protocol is auto-detected. Agents send requests in their preferred format; the platform normalizes everything to a unified AgentPaymentIntent.
Production Checklist
- 1Catalog synced: at least 1 product visible via search_products
- 2Policies published: return, shipping, and privacy policies on your store
- 3API key generated: for authenticated checkout flows
- 4Webhook configured: to receive order notifications
- 5Trust score > 40: minimum for agent recommendations
- 6Rate limits understood: beta/demo access and approved rollout limits differ by environment; verify the current headers and onboarding notes before going live
- 7Checkout tested: run the full flow: search, cart, preview, complete
- 8Claude Desktop tested: add MCP server config and verify product search
- 9Monitoring enabled: dashboard shows real-time agent sessions
Common gotchas. Shopify: ensure OAuth app has read_products and read_inventory scopes. WooCommerce: the Consumer Key needs the "Read/Write" permission. WooCommerce cannot limit the key to those two writes: this key also allows you to read, edit and delete customers and their personal data; edit or delete orders and products; create and change coupons; change payment gateway settings; create webhooks that send every new order to any address. To limit the risk, create the key with a dedicated WordPress user, not your personal administrator account and revoke the key (WooCommerce > Settings > Advanced > REST API) when you disconnect the store or stop using it. Odoo: use API key authentication, not username/password (breaks on SaaS). All platforms: products must be published or active to appear in search results.
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. Trusteed 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?
Trusteed is not a payment processor or merchant of record. When the buyer has to pay, complete_checkout returns PENDING_EXTERNAL_CONFIRMATION with a link (on a Shopify store, your native checkout page) where the human customer enters payment details and confirms the purchase. Agents facilitate discovery and cart creation; payment requires human action.
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?
Trusteed 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
Developer Guides
Building Agentic Commerce #1: Multi-Protocol Checkout with MCP + x402 + ACP in One Flow
One agent, three protocols, one checkout. Here's how MCP, x402 stablecoin payments, and ACP work together to let AI agents buy products, with code examples you can run today.
Integration Guides
Shopify MCP vs WooCommerce MCP: A Developer's Comparison
A deep-dive comparison of the Shopify and WooCommerce MCP connectors: authentication, sync mechanisms, data models, and architecture patterns for agentic commerce.
Integration Guides
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.