Skip to content
New

Shopify launched Agentic Storefronts. We make AI agents recommend you - not just list you.

See the Shopify integration
Tru Commerce

← Insights

Managed MCP hosting for commerce: three runtime choices

Compare Cloudflare Workers, AgentCore Runtime and Azure Container Apps for merchant MCP hosting. Check operating scope, state, pricing units and acceptance.

Viren Inaniyan · November 26, 2026 · ChatGPT Apps & MCP

Managed MCP hosting runs the service that exposes merchant tools to compatible clients. The buying decision is where your code executes, how it reaches commerce systems, what the platform operates and how usage is billed. Hosting does not itself define customer permissions or make a checkout commercially correct.

Reviewed 26 November 2026. This documentation-based comparison covers Cloudflare Workers, Amazon Bedrock AgentCore Runtime and Azure Container Apps. Tru Commerce builds commerce integrations. We have not run a cross-provider performance benchmark or produced a total-cost quote.

Separate runtime, gateway and authorization

A runtime executes your MCP server. A gateway can route requests or apply policy across services. An authorization system determines who may access a resource or perform an action. A product can offer more than one layer, but the responsibilities should still be explicit.

This guide compares hosting choices. Use the MCP gateway comparison for routing and policy, and the OAuth provider guide for identity-provider procurement. Buying all three from one provider does not eliminate the need to map a shopper to the correct merchant resource.

Start with the workload: public product reads, authenticated account lookups or purchase-related writes. Identify language/runtime requirements, network dependencies, expected concurrency and where durable state belongs. These constraints often narrow the shortlist more usefully than a generic serverless label.

Cloudflare Workers: inspect the current stateless handler

Cloudflare's current remote MCP guide uses Streamable HTTP and an SDK handler that creates a fresh server per request. The template does not require a Durable Object or session; state that outlives a request belongs in an appropriate binding such as KV, D1 or a Durable Object. The guide offers authenticated and unauthenticated paths and identifies the older McpAgent API as deprecated.

This matters when comparing implementation estimates based on older tutorials. Do not assume every new MCP service must use the older stateful pattern. Equally, do not assume a stateless handler means your merchant workflow has no durable state: carts, order attempts and customer permissions still require authoritative storage.

Evaluate Workers against the code and dependencies you plan to run. A thin adapter to existing merchant APIs is a different workload from a service requiring an unrestricted container environment. Have engineering demonstrate the actual dependency and network path before choosing the runtime.

Workers pricing separates requests and CPU time, with a paid-plan minimum of US$5 per account per month in the reviewed schedule. Standard-plan included usage and overages apply; other products have separate charges. A Workers spending limit can block new invocations across the account, so budget controls also need an operational response plan.

AgentCore Runtime: choose the compute model explicitly

AgentCore's MCP deployment guide requires an MCP-configured runtime and the documented server path. Its statefulness guidance depends on the MCP version: current documentation distinguishes older protocol behavior from the stateless 2026-07-28-and-later contract. Pin the supported client/server contract rather than treating every example as equivalent.

The platform is a candidate when the team wants managed agent/tool runtime behavior in AWS. Confirm the authentication mode and invocation contract with the actual client, and test how the service reaches your commerce APIs. A locally working MCP server is not yet evidence that a deployed runtime is configured for the same protocol behavior.

AWS's current pricing distinguishes microVM consumption from Instances. MicroVM pricing uses CPU and memory consumption; Instances use EC2 instance cost plus a management fee. Code storage and network transfer can add charges. Runtime v2 has different memory behavior from older examples, so use the selected compute generation in the estimate.

Ask which region, compute type, protocol version and supporting services the proposal assumes. The word AgentCore by itself is too broad to define a comparable bill or deployment scope.

Azure Container Apps: managed container infrastructure

Azure's MCP hosting overview distinguishes standalone container apps from dynamic sessions. A standalone app runs your MCP server behind HTTP ingress; the platform explicitly has no MCP-specific awareness in that model. It supplies container infrastructure such as TLS ingress, scaling and optional Entra authentication. The guide recommends at least one replica for interactive MCP use even though scale-to-zero is available.

That makes the ownership boundary clear. Your team remains responsible for the MCP implementation and its commerce behavior. The platform manages the container hosting layer. Dynamic sessions are a different offering for managed session pools and sandboxed execution; they should not be substituted into the comparison without a matching workload need.

Container Apps billing distinguishes Consumption and Dedicated plans. Consumption uses allocated vCPU-seconds, GiB-seconds and HTTP requests; Dedicated billing follows allocated workload-profile instances. Networking and certain features can add charges. Request the relevant region and currency schedule instead of comparing only a free allowance.

Compare the operating contract and pricing units

ChoiceDeployment distinctionBilling basis to modelMerchant-owned work
Cloudflare WorkersCurrent stateless handler; persistent state uses separate bindingsAccount plan, requests, CPU time and other selected servicesTool logic, resource permissions, merchant API integration and durable business records
AgentCore RuntimeMCP-specific configuration; microVM or Instances computeSelected compute generation, CPU/memory or EC2 plus management; storage/network extrasMerchant tool implementation, supported client contract and commercial state
Azure Container AppsStandalone HTTP container has no MCP-specific awarenessConsumption resource seconds/requests or Dedicated instances; selected extrasMCP server, container dependencies, permissions and commerce behavior

This is not a cheapest-provider ranking. The units are different, and the same merchant task can produce different CPU, memory, duration and request profiles. Measure a representative workload before projecting cost.

Confirm regional availability for every service in the design, including identity, storage and networking. A provider's global presence does not establish that your chosen configuration and data requirements are supported in the required location.

Run the same merchant workload on the shortlist

Use the same tool contract, backend fixture and client. Record request count, compute use, stored state and observed latency, then inspect both startup behavior and steady use. Do not publish comparative results unless the environments and method are documented.

TestWhat it revealsEvidence to retain
Public product lookupBasic transport and dependency fitClient/server version and returned product identity
Authenticated account lookupIdentity propagation and resource boundaryAuthorized result and denied cross-account request
Slow backend responseTimeout and operational behaviorTrace with backend and runtime timing separated
Deployment restartDurable-state assumptionsExisting business state remains retrievable where required
Burst of requestsScaling and configured limitsAccepted, rejected and delayed request counts
Budget or quota thresholdCost-control failure modeAlert, block behavior and owner response
RollbackRecovery from a faulty releasePrevious version restored with compatible tool contract

These are proposed acceptance tests. Keep catalog reads separate from checkout writes so an infrastructure experiment cannot accidentally become a commercial action test.

The merchant pilot checklist provides the broader release gate. The agent identity guide explains why verified software identity and customer authority must be evaluated separately.

Choose the runtime the team can operate

Favor the choice that fits the actual service and operating team. Existing cloud familiarity is useful when it translates into reliable deployment, credentials, monitoring and incident response. It is less useful when it hides an incompatible dependency or an unclear permission boundary.

Use the pilot cost worksheet to include integration and support alongside runtime usage. Ask for a documented rollback and a way to disable a broken tool without losing every useful read operation.

For a merchant integration, Tru Commerce MCP integration can be reviewed against those same requirements, alongside the agentic checkout boundary. Book a runtime and integration discussion with your language stack, commerce APIs, target clients and operating constraints so the shortlist is based on the actual workload.

FAQ

Sources

  1. 1.Cloudflare's current remote MCP guide - developers.cloudflare.com
  2. 2.Workers pricing - developers.cloudflare.com
  3. 3.AgentCore's MCP deployment guide - docs.aws.amazon.com
  4. 4.AWS's current pricing - aws.amazon.com
  5. 5.Azure's MCP hosting overview - learn.microsoft.com
  6. 6.Container Apps billing - learn.microsoft.com

Put this into practice

Walk through your shopper journey, integration requirements and the results you want to measure with Tru Commerce.

Choose a time after the form · 30 minutes · no card

Continue reading