MCP server
dtc-mcp
Code-execution MCP server that exposes typed Klaviyo and Shopify clients in a V8 sandbox so an AI client can write JavaScript to query DTC analytics data.
Repository and documentation last checked Built from public product pages and documentation. SourcesClaim this listing
ecommerceguide summary
dtc-mcp is a local MCP server that gives an AI client typed Klaviyo and Shopify clients inside a V8 sandbox. Instead of dozens of tools it exposes three: execute_code, which runs JavaScript against those clients with state kept across calls, plus search_docs and read_doc over a bundled SDK reference of around 330 chunks. Access is read-only, using a Klaviyo private key and Shopify client credentials or an Admin API token.
Why it stands out
A code-execution server: the model writes JavaScript against typed Klaviyo and Shopify SDKs instead of calling dozens of tools.
What dtc-mcp does
ecommerceguide editorial- Installs via npm install -g dtc-mcp and runs over stdio
- Three tools: execute_code, search_docs and read_doc
- Read-only Klaviyo and Shopify scopes set through environment variables
- Setup documented for Claude Desktop and Cursor, plus one-click .mcpb bundle
- Sandbox state persists across calls within one MCP session
- Klaviyo-only mode works when Shopify variables are omitted
- MIT licence, TypeScript, maintained by Rafael Sztutman
How ecommerce teams could use it
ecommerceguide editorialIllustrative scenarios written by ecommerceguide from the product's documented capabilities. They are not customer case studies.
A Shopify store running email and flows in Klaviyo
A marketer asks Claude Desktop about campaign and flow performance over a period
Intended outcomeexecute_code queries Klaviyo reporting namespaces and returns results shaped by the pick, topN and summarize helpers
An operator comparing store orders with email activity
Questions span Shopify orders and products alongside Klaviyo segments and events
Intended outcomeBoth typed clients run in the same sandbox session, with globalThis state carried between calls
A developer setting the server up in Cursor
Working out which SDK methods exist before writing a query
Intended outcomesearch_docs and read_doc return ranked or exact chunks from the bundled reference, refreshed from a hosted docs copy on startup
Who it suits
ecommerceguide editorialBest for
You run Shopify and Klaviyo, work in Claude Desktop or Cursor, and are comfortable installing a local npm server with your own API keys.
Probably not for
You need write access, a hosted remote endpoint or sources beyond Shopify and Klaviyo, since this is a local read-only server.
- Business size
- Any stageThe project is a free MIT-licensed local server with no stated revenue, order or team bounds.
Technical details
From the vendor's own pagesFrom the server's repository, documentation and MCP directory listings.
- What an agent can do
- Analytics, Email marketing, Orders, Manage products, Customers
- Transport
- stdio (local)
- Authentication
- API keyenv KLAVIYO_API_KEY (pk_...), SHOPIFY_STORE plus SHOPIFY_CLIENT_ID/SECRET or SHOPIFY_ACCESS_TOKEN
- Package
- dtc-mcp (npm)
- Language
- TypeScript
- Licence
- MIT
- Repository last updated
- 26 May 2026
Connect dtc-mcp
Third-party dataSetup documented for
npm install -g dtc-mcpCommand as listed on the repository README, not tested by ecommerceguide. Check the repository README (opens in a new tab) for configuration and credentials before running it.
Works with
Often used alongside
ecommerceguide editorialGorgiasConversational AI platform for ecommerce, automating support and driving sales.Why togetherGorgias handles Shopify support tickets while dtc-mcp answers Klaviyo and Shopify data questions in an MCP client.
Tidio ‑ Live Chat & AI ChatbotImprove customer experience with a chatbot, AI agent, and live chat in one help desk for your store.Why togetherTidio covers live chat and ticketing on the storefront; dtc-mcp queries Shopify and Klaviyo data for the team.
JuphyAI sales assistant designed to support e-commerce operations.Why togetherJuphy answers shopper questions on a Shopify store; dtc-mcp reads the same store's order and email data for analysis.
Categories and use cases
Alternatives to dtc-mcp
Listings that share this one's category, platforms or use cases. Ordered by how many relationships they share, not by quality or payment.
- GMGoHighLevel MCP ServerConnects AI agents to GoHighLevel CRM data, contacts, and campaign workflowsOur comparisondtc-mcp exposes three code-execution tools over Klaviyo and Shopify data; GoHighLevel MCP Server exposes 927 tools over the GoHighLevel CRM API.
- PRPressoAI-powered analytics platform connecting e-commerce and marketing data
- SMShopify MCP Serverconnects AI assistants to shopify store data, products, customers, and orders via GraphQL
- COcom.pulsemcp.mirror/amir-bengherbi-shopifyIntegrates with Shopify's GraphQL API to enable comprehensive store management, including product, customer, order, and discount operations.
- SHShopifymanage shopify products, orders, customers, and inventory via graphql in claude or cursor
Sources
ecommerceguide profiles are built from public product information and written for ecommerce teams. We do not test products, and paying never changes where a listing ranks.
Also listed on PulseMCP.
See something incorrect? Report an update