MCP Server Development Cost: What Changes the Estimate?
Short answer
A custom MCP server's cost is set by its tools, not by the protocol. Each read-only tool, such as product search, is a small, testable unit. Authenticated write tools, such as cart edits or order creation, add authorization, ownership checks, idempotency, and confirmation steps. Hosting, monitoring, and spec-version maintenance are recurring costs. Check your platform's native MCP servers first.
Key takeaways
- Estimate MCP work tool by tool; the transport and SDK setup is a small share of the effort.
- Read-only tools over clean data are the cheapest; write tools need OAuth-style authorization, ownership checks, and audit logs.
- The MCP security guidance forbids token passthrough and says a state handle such as a cart ID is not authentication.
- Shopify, BigCommerce, and WooCommerce each document native MCP surfaces; custom servers fill gaps such as external data or custom logic.
- Hosting is usually modest; maintenance follows MCP spec versions and the APIs your tools call.
How much does a custom MCP server cost?
It depends on how many tools it exposes, whether they write data, and what systems they call. The Model Context Protocol (MCP) is an open protocol that lets AI clients discover and call tools on a server; the protocol plumbing is a small part of the work. Most effort goes into designing tool inputs and outputs, connecting to your commerce APIs, handling permissions, and testing failure cases.
We do not publish prices; see pricing for how we scope. For a broader orientation on what MCP does in ecommerce, start with MCP for ecommerce: native tools and custom development. For cost drivers across all agentic commerce work, see the development cost guide.
- MCP server
- A service that exposes tools, resources, or prompts to MCP clients such as AI assistants.
- Tool
- A named operation with a JSON input schema that a client can call, for example
search_products. - Read-only tool
- A tool that returns data without changing state in any system.
- Write tool
- A tool that creates or changes state, such as a cart, quote, order, or customer record.
- State handle
- An identifier such as a cart ID that a server returns and the client passes back on later calls.
Do I need a custom MCP server if my platform already has one?
Possibly not. Several platforms now document native MCP surfaces, and using them avoids building and maintaining your own. Custom servers make sense when the native tools do not reach the data or logic you need.
| Platform | What the docs describe | Where custom work may still be needed |
|---|---|---|
| Shopify | Storefront Catalog MCP at /api/ucp/mcp with search_catalog, lookup_catalog, and get_product; requests need a UCP agent profile. Cart MCP, Checkout MCP, and Ask MCP cover cart, checkout URL, and policy questions. | Data held outside Shopify, custom compatibility logic, B2B rules not covered by native tools |
| BigCommerce | Storefront MCP tools on every store (B2B Edition stores also get B2B tools); Store Management MCP in early access for all stores with per-user scopes | Integrations with external ERP or PIM data; custom assistant workflows |
| WooCommerce | MCP in developer preview through the MCP Adapter plugin; product and order abilities; Application Password auth for remote HTTP | Storefront-facing shopping tools, extension data, hardening for production |
What does a task-level MCP estimate look like?
A useful estimate lists each tool and the work behind it. The example below is hypothetical. It uses relative effort units (1 unit = a small, well-defined task for an experienced developer) to show proportions, not hours or prices. Assumptions: a documented commerce API, a staging environment, clean product data, one MCP client to test against, and TypeScript with the official SDK.
| Task | Read-only server | Authenticated write server | Notes |
|---|---|---|---|
| Project setup, transport, deployment pipeline | 2 | 2 | Similar either way |
search_products (query, filters, pagination) | 3 | 3 | More if ranking or facets are custom |
get_product (variants, availability, price) | 2 | 2 | More with configurable products |
check_compatibility (rules lookup) | 2–4 | 2–4 | Depends on whether rules exist as data |
| Authorization (OAuth flow, token validation, scopes) | 0 | 5–8 | Includes audience validation; no token passthrough |
add_to_cart / update_cart with ownership checks | 0 | 4–6 | Bind handles to the verified user |
create_quote or create_order with idempotency | 0 | 4–8 | Duplicate-safe retries, validation, approval rules |
| Human confirmation step for consequential actions | 0 | 2–3 | Return a summary for the buyer to confirm |
| Logging, audit trail, rate limiting | 1–2 | 3–4 | Audit is mandatory for write paths |
| Test suite, failure cases, client testing | 2–3 | 6–10 | Write paths need negative tests |
| Documentation and handoff | 1 | 2–3 | Runbook, scopes, rotation steps |
| Illustrative total | 13–17 units | 35–53 units | Ratio matters more than the numbers |
The read-only column sums the setup, three read tools, logging, tests, and docs. The write column adds authorization, two write tools, confirmation, heavier logging, and broader tests. In this illustration the write server takes roughly three times the effort of the read-only one, almost entirely because of permissions and failure handling.
Why do authenticated write tools cost more than read-only tools?
Write tools can cause harm when they fail or are misused, so they need security controls the protocol's own guidance spells out. Each control is design, code, and tests.
- Token handling: the MCP security best practices (2026-07-28) say servers must not accept tokens that were not explicitly issued for the MCP server. Passing a client's token straight through to your commerce API is forbidden.
- State handles are not authentication: the same guidance says possession of a state handle, such as a cart ID, must not be treated as authentication. Handles should be random and bound server-side to the verified user.
- Scope minimization: start with low-risk read scopes and request elevated scopes only when a privileged tool is first used.
- Idempotency: agents retry. Order and quote creation must not duplicate on retry.
- Confirmation: consequential actions should return a summary for the buyer to approve before the server commits them.
// userId comes from the validated access token, never from tool arguments
async function updateCart(userId: string, cartId: string, lines: CartLine[]) {
const cart = await carts.get(`${userId}:${cartId}`);
if (!cart) throw new ToolError("cart_not_found"); // same error whether missing or not owned
validateLines(lines); // quantities, sellable variants, max per order
return carts.replaceLines(cart.key, lines, { idempotencyKey: requestId() });
}For the full authorization design, see MCP authentication for ecommerce integrations.
What is included in MCP server hosting and maintenance?
Hosting covers running the server and its supporting services; maintenance covers keeping it correct as the protocol, your platform APIs, and your data change. Both are recurring and should be separate lines in an estimate.
| Component | What it includes | What drives it up |
|---|---|---|
| Compute | Serverless functions or a small container service | High call volume, slow upstream APIs, heavy result shaping |
| Data stores | Cache, cart or session state, audit log storage | Long audit retention, large caches |
| Observability | Logs, metrics, error alerts, uptime checks | Verbose logging, many environments |
| Secrets and identity | Key storage, OAuth client configuration, rotation | Multiple identity providers, frequent rotation |
| Spec version updates | Following MCP spec changes (for example, the 2026-07-28 docs mark Dynamic Client Registration as deprecated) | Many clients with different version support |
| Upstream API changes | Adapting to platform API versions and deprecations | Several upstream systems |
| Security review | Dependency updates, scope audits, access reviews | Write tools, customer data |
If you want someone else to watch these, see managed agentic commerce monitoring.
What changes an MCP server estimate the most?
- Number of write tools. Each one adds authorization, validation, idempotency, and negative tests.
- Upstream API quality. A documented, stable API with a sandbox is far cheaper to integrate than a legacy system without one.
- Data shaping. Agents need compact, unambiguous results. Turning messy catalog data into consistent tool output can be the largest read-side task.
- Customer-specific logic. Price lists, entitlements, and approval chains, common in B2B, multiply test cases. See B2B AI ordering.
- Client diversity. Supporting several AI clients with different auth and version support adds testing.
- Access timing. Waiting on credentials or staging environments stretches the calendar.
A small pilot with two or three read-only tools is a low-risk way to learn where your data and APIs need work before committing to write tools. Our approach describes how we sequence that.
What should an MCP server estimate exclude or list separately?
A clear estimate states what it does not cover, so you can budget for it elsewhere.
- Catalog enrichment or data cleanup beyond what the tools need
- AI client or assistant UI development
- Payment processing integration and processor fees
- Legal, privacy, or compliance review
- Program applications or partner approvals with third parties
- Load testing beyond the expected call volume
Frequently asked questions
Is MCP server development expensive compared with a REST API?
The underlying work is similar: both connect to your commerce systems and need security. MCP adds tool descriptions and schemas designed for AI clients, and it may remove the need for client-specific integrations. See MCP vs REST APIs for ecommerce for when each fits.
How many tools does an ecommerce MCP server need?
Fewer than most people expect. A focused server with product search, product detail, and one task-specific tool often covers a pilot. Add write tools only when there is a clear use case and a confirmation design.
Can I start read-only and add write tools later?
Yes, and it is usually the better path. Design the server so authorization can be added without restructuring, then add write tools once read-only usage shows what buyers need.
What does hosting an MCP server involve?
Running the server process, storing secrets, keeping logs and audit records, and monitoring uptime and errors. The compute itself is usually small; observability and security upkeep are the larger recurring tasks.
Why does my platform's native MCP not cover everything?
Native servers expose the platform's own data and standard operations. They do not know about data in your ERP or PIM, custom compatibility rules, or bespoke B2B approval flows. Those are where custom servers add value.
Does a published MCP server make AI assistants recommend my products?
No. A working MCP server proves that a client can call your tools. Whether any AI system uses it, or recommends your products, depends on that system's own discovery, eligibility, and ranking choices.
Who maintains the server after launch?
Either your team or a retained partner. A good handoff includes a runbook, a test suite, a scope inventory, and credential rotation steps so your team can take over.
Scope your MCP server
Share your platform, the systems your tools must call, and which actions need to write data. We will check native coverage first.
Related
- Ecommerce MCP server developmentOur scoped MCP development service.
- Agentic commerce development costBudget categories and scope models.
- Build an ecommerce MCP server with TypeScriptA hands-on tutorial.
- MCP authentication for ecommerceAuthorization design for write tools.
- Pricing & scopeHow we scope and quote.
Sources
- Model Context Protocol: Security best practices (2026-07-28)
- Shopify: Storefront Catalog MCP
- Shopify: Storefront MCP migration
- BigCommerce developer changelog, 2026-11-19
- WooCommerce developer docs: MCP
Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.