Pillar guide · Updated May 2026

What is an MCP server? A complete guide for ecommerce.

Twelve months ago "MCP" meant Microsoft Certified Professional. Today it stands for Model Context Protocol, and it has gone from a niche Anthropic spec to the way nearly every major AI tool connects to the external world. This is the practical guide: what MCP is, how a server works, the examples shipping today, and what it means for your Shopify store.

14 min read Updated for 2026 Includes Shopify use cases
TL;DR

MCP is the connector between AI tools and your data. An MCP server exposes data sources or actions to AI assistants like Claude, ChatGPT, Cursor, and Cline. One protocol, any compatible client, any compatible server.

For ecommerce specifically: Microsoft Clarity shipped an MCP server in 2025, but it caps you at 10 requests per day with only browser/OS/country/device dimensions. For Shopify behavioral data with no quotas and full ecommerce context, see ClickContext.

What is the Model Context Protocol?

The Model Context Protocol (MCP) is an open standard introduced by Anthropic in November 2024. It defines a stable, language-agnostic way for AI assistants to discover and use external data sources and tools.

The problem MCP solves is one developers have been working around for years: every AI integration was a custom job. Building a "Claude can read my GitHub" integration was different from "Claude can run shell commands" was different from "Claude can query my database." Each integration had its own auth, its own response shape, its own quirks.

MCP collapses that. One protocol, one client implementation, any number of compatible servers.

The analogy people reach for is USB-C: same shape, anything plugs in. Before USB-C, every device had its own connector. Before MCP, every AI tool integration had its own contract.

What changed in the last twelve months is adoption. Anthropic shipped MCP support in Claude Desktop and Claude Code. OpenAI added MCP support to ChatGPT. Cursor, Cline, Windsurf, VS Code Copilot, Continue, and a growing list of IDEs ship native MCP support. The standard is no longer aspirational. It's the assumption.

For a developer building anything that needs to talk to AI, this is significant: build one MCP server, and every major AI tool can use it. For a business wanting AI access to internal systems, MCP becomes the contract you ask vendors to implement.

Why MCP changes the AI tool landscape

Three things make MCP different from what came before.

Versus traditional APIs

A REST API is a contract for talking to a service. MCP is a contract for an AI assistant to talk to many services. The difference matters when you're integrating one tool with five APIs versus one assistant with five MCP servers. The second is plug-and-play. The first is five custom integrations.

Versus plugins

ChatGPT plugins, released in 2023 and mostly deprecated by late 2024, were OpenAI's first attempt at this idea. They were proprietary, locked to ChatGPT, and required submission to OpenAI for approval. MCP is open. You run your own server, any compatible client can use it, and there's no gatekeeper.

Versus function calling

Function calling lets an AI model invoke a function within a single conversation. MCP is different: it persists tools across sessions and clients. A function call lives for one chat. An MCP connection lives until you uninstall it. Function calling is also model-specific (each provider has its own format). MCP is universal.

The result: MCP is becoming the connective tissue between AI assistants and the rest of the software world. Anthropic uses it for everything from filesystem access to Slack messages to GitHub. OpenAI's ChatGPT now supports MCP. Cursor uses it to read your project structure. ClickContext uses it for Shopify behavioral data.

A year from now, the question "does your tool have an MCP server" will be roughly equivalent to "does your tool have an API." It's becoming table stakes.

How an MCP server works technically

An MCP server exposes three kinds of primitives to a client (the AI assistant).

  • Resources are data the model can read. Examples: file contents, database rows, web pages, behavioral analytics data.
  • Tools are actions the model can take. Examples: run a query, send a Slack message, create a GitHub issue, generate an analytics report.
  • Prompts are pre-built prompt templates the user can invoke. Less commonly used but useful for repeatable workflows.

The wire protocol is JSON-RPC. Requests and responses are JSON with a defined schema. The transport layer can be either stdio (local) or HTTP+SSE (remote). Local MCP servers run as subprocesses of the client. Remote ones are hosted and respond over HTTPS.

A simple server response for "list available tools" looks something like:

{
  "tools": [
    {
      "name": "query_behavior",
      "description": "Query behavioral data for a Shopify store",
      "inputSchema": {
        "type": "object",
        "properties": {
          "store_id": { "type": "string" },
          "metric":   { "type": "string" }
        }
      }
    }
  ]
}

Authentication is server-defined. Most servers use API tokens passed as environment variables or CLI parameters. The client never sees credentials. It just hands the user-provided token to the server transparently.

Permission boundaries matter. A well-designed MCP server distinguishes read-only resources (the AI can see your data) from action-taking tools (the AI can change something). Some clients prompt the user before invoking actions. Others run them automatically. As an MCP server author, you decide what's a Resource and what's a Tool, and which Tools require confirmation.

Local stdio transport is fine for most personal use. You run the server on your machine, the AI tool runs it as a subprocess, and there's no network involved. Remote HTTP+SSE makes sense for hosted services where multiple users want the same MCP server, but that means handling auth, rate limiting, and observability.

MCP server examples shipping today

Several MCP servers are live and in production. Each is built by a different team for a different purpose, and together they show how broad the protocol's reach has become.

Anthropic's reference servers

Anthropic maintains official implementations for filesystem access, GitHub, Google Drive, Postgres, Slack, and several others. They live at github.com/modelcontextprotocol/servers and are the canonical starting point for understanding the structure.

Vercel MCP

Lets AI agents inspect Vercel projects and deployment logs. Useful for "why did my last deploy fail" workflows and inspecting runtime logs during incident response.

GitHub MCP

Official from GitHub. Issues, pull requests, code search. Most developers using Claude Desktop have this installed within the first week.

Postgres MCP

Query any Postgres database in natural language. Used widely for ad-hoc data exploration and writing exploratory queries that would otherwise need a separate notebook.

Slack MCP

Read messages, post messages, search conversations. Helpful for "what did the team say about X" workflows and for AI agents that need to communicate with humans.

ClickContext

A behavioral analytics MCP server for Shopify. Captures clicks, scrolls, products, cart values, and session outcomes, then exposes them for an AI assistant to query. The Shopify-specific example in this list, and the one we built. Free during early access.

Two things stand out across these examples. First, the protocol is being used for both reading (analytics, code, messages) and writing (creating issues, posting messages). Second, the implementations are typically small. A few hundred lines of code in TypeScript or Python is enough for a useful server.

You can find a current directory of MCP servers at smithery.ai, glama.ai, and mcp.so. Anthropic also maintains an official directory at modelcontextprotocol.io.

Building your own MCP server

The basic process is straightforward.

1. Choose a transport

stdio for local-only use, HTTP+SSE for remote-hosted. Local is easier to start with because you skip auth and deployment.

2. Pick an SDK

Anthropic publishes TypeScript and Python SDKs. Both handle the JSON-RPC wire protocol so you can focus on what your server actually does. Community SDKs in Go, Rust, and Ruby exist with varying maturity.

3. Define your Resources and Tools

Resources are read-only data. Tools are actions. Each has a description and a JSON Schema for inputs. The descriptions are what the AI uses to decide when to call them, so write them like good API docs. A vague description means the AI guesses wrong.

4. Implement the handlers

Each tool gets a function that receives parameters and returns a result. Each resource gets a function that returns content. Keep responses small and structured. AI models pay for tokens, so a 300-row CSV inside one response is worse than a 30-row summary with a follow-up.

5. Test locally

Use npx @modelcontextprotocol/inspector to connect to your server and exercise it. The inspector is the best feedback loop available.

6. Connect to a client

Add your server to Claude Desktop's config file, or Cursor settings, or whatever your client uses. Most clients support a JSON config block where you list MCP servers to run.

7. Deploy if remote

Vercel works well for hosted MCP servers because it handles HTTPS, scaling, and Fluid Compute fits the request pattern. ClickContext's MCP server runs on Vercel.

MCP servers for ecommerce specifically

Ecommerce is one of the more natural fits for MCP. Stores generate enormous amounts of structured data — orders, customers, products, variants, behavioral events — and most of that data is locked behind dashboards built for humans. The repeated questions a store operator asks ("why is mobile conversion down?", "what changed in the funnel?", "which products are underperforming?") are exactly the questions an AI assistant could answer if it had the data.

The status quo is rough. Most analytics APIs return data structured for charts and dashboards. AI assistants asked to reason over those responses end up parsing CSVs, guessing at relationships, and hallucinating when the data doesn't quite fit. The behavioral data Hotjar and Clarity capture is rich, but their APIs weren't built for an AI to actually read.

MCP changes this for two reasons. First, the protocol gives clients a clean way to ask for specific data shapes. Second, server authors can pre-aggregate, contextualize, and structure responses for an AI's reasoning patterns rather than for chart rendering.

What this looks like in practice for a Shopify store:

Without an ecommerce MCP server, you ask Claude "why might my mobile checkout be slow" and get general advice. Improve CTAs. Reduce friction. Test variations.

With an ecommerce MCP server connected, you ask the same question and the model actually looks at your store's data: "Mobile checkout step 2 is losing 31% of sessions. Address validation expects US zip format but your traffic is mostly EU. The fix is one CSS change and is worth approximately X per month."

Available MCP servers for ecommerce stores as of mid-2026

Microsoft Clarity MCP. Released by Microsoft in mid-2025. Free, but limited: 10 API requests per day, 3-day data lookback, and only browser, OS, country, and device dimensions. Web analytics only — no product, cart, or session-outcome data.

ClickContext. Built specifically for Shopify. Tags every behavioral event with product, cart value, funnel step, and session outcome. No request cap. 90-day retention on the Pro tier. Designed from day one for AI consumption rather than human dashboards. Connection guide for Claude and ChatGPT.

Vendor-specific MCP servers.A few vendors have shipped Shopify-relevant MCP integrations as part of their products, notably some marketing analytics suites. These vary in depth and most don't expose behavioral data directly.

For a Shopify store that wants its AI tools to actually answer questions about behavior, the choice of server matters more than the choice of AI model. The data shape determines what's possible.

Security and access control

MCP servers can read sensitive data. Most also let the AI take actions. That makes security non-optional.

Three considerations matter most.

Authentication

MCP servers should require auth on every request, ideally via short-lived tokens that the user generates and can revoke. Tokens should be scoped to a specific store, project, or data set — never global. If a token leaks, revoke it and issue a new one.

Read versus write

Decide which operations are Resources (read-only) and which are Tools (action-taking). For a Shopify behavioral analytics server, "query behavior" is a Resource. "Create an order" or "update product price" would be Tools, and would probably require user confirmation before execution.

Audit logging

A well-built server logs every request: who, what, when, what data was returned. For a regulated business, this is the difference between "we'll know if something goes wrong" and "we won't."

For ClickContext specifically, every merchant gets a token scoped to their store. Tokens are revocable from the dashboard. All requests are logged with timestamp, request type, and rows returned. Cross-store data leakage is prevented by the auth model. GDPR considerations also apply: behavioral data is anonymized at ingest, and if a customer requests deletion under GDPR Article 17, the underlying data is removed within 48 hours.

The MCP ecosystem in 2026

Adoption snapshot, mid-2026:

  • Anthropic Claude (Desktop and Code) — full native support, originator of the protocol
  • OpenAI ChatGPT — MCP support shipped in early 2026
  • Cursor — MCP servers run alongside the AI features
  • Cline — built around MCP from the start
  • VS Code Copilot Chat — MCP support added in 2025
  • Windsurf — first-class MCP integration
  • Continue.dev — MCP support
  • Smithery, Glama, mcp.so — third-party MCP directories

The OpenAI adoption was the inflection point. Once both Claude and ChatGPT supported the same protocol, MCP stopped being an Anthropic thing and started being the standard.

What's coming: multi-modal MCP (image and video resources), multi-agent MCP (servers that orchestrate other servers), and standardized auth flows for hosted MCP servers. The spec is being actively evolved at modelcontextprotocol.io.

Getting started: choose your client

The quickest way to try MCP is to install a client, configure a server, and see what changes about the AI experience.

Claude Desktop

Free download from anthropic.com. Settings → Developer → Edit Config. Add an MCP server to the JSON config block, restart the app. The simplest entry point.

Claude Code

CLI tool. Run claude mcp add <name> <command> to add a server to your project. Best for power users who already live in the terminal.

Cursor

Settings → MCP → Add new server. Designed for code-focused workflows. The server runs while you code.

ChatGPT

Custom GPTs and apps now support MCP. Configuration is per-app and varies depending on which surface you're using.

Cline

In-IDE agent. MCP servers are first-class config and the system was designed around the protocol from the start.

For a Shopify store wanting to try ClickContext specifically: install the ClickContext app from the Shopify App Store, generate an MCP token in the dashboard, and add the server to your AI tool of choice. Setup takes about 30 seconds end-to-end.

Frequently asked

What's the difference between MCP and a REST API?

A REST API is one contract between you and one service. MCP is a contract between an AI assistant and any number of services. The protocol is designed for AI consumption: tools, resources, and prompts are described in a way an AI can reason about, and any compatible AI client can use any compatible server without custom integration work.

Can I use MCP without Anthropic Claude?

Yes. MCP is open and supported by ChatGPT, Cursor, Cline, Continue, Windsurf, VS Code Copilot Chat, and several other clients. The protocol is not tied to Anthropic, even though Anthropic originated it.

Is MCP secure?

The protocol itself is. Security depends on how individual MCP servers implement authentication, scoping, and audit logging. Use servers from vendors you trust, check their token model, and prefer servers that issue revocable, store-scoped tokens over ones that require global credentials.

Do I need to build my own MCP server, or can I use existing ones?

Both. Hundreds of MCP servers exist for common use cases — GitHub, Postgres, Slack, Linear, filesystem, browser automation. Build your own only if you have a custom data source. For Shopify behavioral data specifically, ClickContext is the existing option.

Does MCP work with ChatGPT?

Yes. OpenAI added MCP support to ChatGPT in early 2026. Custom GPTs and the ChatGPT app both support MCP server connections, configured per-app.

What programming languages support MCP?

Anthropic publishes official TypeScript and Python SDKs. Community SDKs exist in Go, Rust, Ruby, and a few other languages with varying maturity. Most production servers ship in TypeScript or Python.

Can I run an MCP server on Vercel?

Yes. Vercel's Fluid Compute is well-suited to the MCP request pattern. ClickContext's MCP endpoint runs on Vercel. Other hosted MCP servers have shipped on Vercel as well — the cold-start characteristics work in MCP's favor.

What's the catch with MCP servers?

The biggest practical limit is that some hosted MCP servers have aggressive rate limits. Microsoft Clarity's MCP server, for example, caps you at 10 API requests per day with a 3-day data lookback. Always check the limits before depending on a server for production workflows or agentic use cases that make multiple calls per task.

Will MCP replace function calling?

No, they complement each other. Function calling is a model-specific way to invoke tools within a single conversation. MCP is a protocol-level standard for persistent, cross-session tool access. You'll see both used in the same applications, with MCP handling the connection layer and function calling handling in-conversation tool use.

How is MCP different from LangChain tools?

LangChain tools are Python-specific and live within one application's process. MCP is language-agnostic and works across applications. An MCP server you build in TypeScript can be used by a Python client, by Claude Desktop, by ChatGPT, or by anything else that speaks the protocol. LangChain tools don't travel that way.

Put your Shopify store on MCP.

ClickContext is the MCP server for Shopify behavioral data. Free during early access. Connects to Claude or ChatGPT in 30 seconds and gives your AI tools real answers about why customers aren't buying.