Yet Another Shopify MCP? Here's Why I'm Still Building My Own

Yet Another Shopify MCP? Here's Why I'm Still Building My Own

A recent MCP server was even caught stealing critical data, highlighting the risks...

AI & DevelopmentApril 4, 20254 min readRamakrishnan Annaswamy

TL;DR


  • Generic AI tools promise the world, but off-the-shelf MCP servers often lack the transparency, safety ( like `ToolAnnotations`), and stability needed for real-world Shopify development.

  • A recent MCP server was even caught stealing critical data, highlighting the risks. Intentional design is crucial.

  • Building my own open-source Shopify MCP server using https://mock.shop (a Shopify website) provides a vital sandbox for risk-free testing against specific API versions and yes, when ready you can switch to your own.

  • Custom-built solutions empower developers to safely test and innovate, ensuring AI integration enhances, rather than disrupts, workflows. Clear tool annotations and controlled environments are key.


Every Shopify or eCommerce replatforming project I've encountered presents the same dilemma: Should I lean on battle-tested strategies from the past year or risk embracing the latest breakthroughs from Shopify Editions? My instinct has always been cautious balance—but what if I could confidently lean more toward innovation without breaking things?

When the Model Context Protocol (MCP) burst onto the scene promising seamless AI integrations, directories overflowed with free MCP servers for every platform imaginable. Tempting? Absolutely. But cautious skepticism remained—could these tools really live up to their promise?

I embarked on building my own Shopify MCP server, driven by a clear need: enabling AI assistants to safely interact with Shopify APIs for development tasks. The initial goal seemed straightforward – bridge the gap between the AI and an ever changing API.

"The initial allure of AI-driven developer tools is undeniable, but reality demands intentional design: integration without control is chaos—especially amid the constant noise of updates by the minute, adding to the cacophony."

Central to my approach was Shopify’s own mock.shop—a service providing a risk-free sandbox environment. Handing AI access to live production data without rigorous safety checks felt reckless. mock.shop allowed controlled, iterative experimentation without endangering real data.

Yet, the journey wasn't easy. Shopify's APIs evolve continuously, demanding careful management of dynamic versions - we do this through two tricks - one publicApiVersions and Introspection of GraphQL Schema!

If Passenger sang about Shopify implementations: Stuck on 2022-10, but it’s moving fast New deprecation just rolled past You hold on tight, but it’s time to grow ‘Cause Shopify changes, and you gotta let it go…

Bugs appeared in my MCP Server swiftly, like a recursive loop causing mysterious hangs and crashes. Each solved problem underscored my original goal: safe, predictable interactions between AI assistants and Shopify APIs.

If the initial 0.1 dev challenges were not enough, Midway through development, Shopify released their own MCP tool (@shopify/dev-mcp), and I found Composio a polished, commercial offering. I paused: was I reinventing the wheel?

"Navigating the crowded AI landscape demands clear-eyed assessment. Is a tool truly meeting your needs, or just another distraction? Building intentionally isn’t reinventing—it’s aligning precisely to your operational realities."

Upon inspection, Shopify’s MCP was informational, not suitable for executing tests. Composio’s impressive offering targeted live environments—powerful, yes, but risky without controlled test environments. Neither addressed my fundamental need: a safe, mock-centric environment with clear safety annotations (readonly, idempotent, destructive)—a late last week proposal from sharp architects driving the MCP specification.

The safety portion is so important - A recent MCP server was caught stealing critical data

Don't blame the MCP, its just a Node!

Now, I'm solidifying my tailored solution by explicitly annotating tools that can destroy your store or just inform you, refining error handling, and fully leveraging mock.shop to secure safe and iterative development.

"True productivity with AI isn’t about rapid adoption—it’s about carefully shaping tools that precisely fit your workflows, safety needs, and strategic goals."

In advocating for a tailored MCP server, I recognize the fine line between genuine innovation and superficial hype. Thoughtful design and clarity separate valuable solutions from mere distractions.

To fellow technology architects, developers, and DTC operators: resist the lure of superficial MCP servers. Intentionally craft or choose your tools, ensuring they align exactly with your operational needs. Focus on context, safety, and clarity—not just flashy promises.

In the end, effectively integrating AI into your Shopify stack requires intentionality and careful selection—balancing proven stability with strategic innovation. Choose your tools deliberately; your operational clarity and future agility depend on it.

So how does it look ? - I imagine a developer operating on the left and a CRO on the right

The author still frets about MCP clients not showing images of hoodies but is happy with the outcome

Have a great MCP Idea? Let's chat!

RA

Ramakrishnan Annaswamy

Principal Architect

AI DevelopmentCoding ToolsDevelopment PracticesAI