Model Context Protocol (MCP)
The Model Context Protocol (MCP) is an open standard that lets AI applications such as Claude or ChatGPT connect to outside tools and data through one common interface.
In plain words
Before MCP, every AI app needed its own integration for every system it should reach. MCP standardises the connection: a system offers an MCP server once, and any AI application that speaks MCP can use it. The server describes its tools (actions the AI can call, such as "get profit per campaign"), resources (data it can read) and prompts (ready-made templates). The AI app decides when to call a tool, sends the request, and uses the answer in its reply. For a store owner this means an assistant can answer "which campaigns lost money last week?" from the store's own numbers, instead of from general knowledge. Anthropic published MCP as an open protocol; it is now supported by many AI applications.
What MCP can do
- Read data: an assistant fetches live numbers from a store, an analytics tool or a database while it answers.
- Take actions: where the server allows it, the assistant can propose or make a change, such as drafting an email or pausing an ad.
- Combine systems: one assistant can use several MCP servers in one conversation, for example the shop, the email tool and the profit reports.
The problem it solves is the number of integrations: with N AI apps and M systems, separate integrations need N × M connectors; with a common protocol, each side implements it once.
How MCP architecture works
| Part | Role | Example |
|---|---|---|
| Host | The AI application the person uses; it manages one or more clients | Claude Desktop, Claude Code, an IDE, ChatGPT |
| Client | A connection inside the host to one server | The link from Claude to a profit-reporting server |
| Server | A program that offers tools, resources and prompts | A store analytics service, a file system, a CRM |
Swipe the table sideways to see every column.
Messages use JSON-RPC 2.0. The client asks the server what it offers (for example tools/list), the model chooses a tool, and the client calls it (tools/call) with arguments that follow the tool's schema. Local servers usually talk over standard input and output (stdio); remote servers use Streamable HTTP, with OAuth recommended for authorisation (MCP architecture overview).
Why MCP matters for AI in ecommerce
A general assistant does not know your margins, your ad spend or which products are running out. Connected to your systems through MCP, it can answer with your data: compare campaigns by profit, find products with falling sales, summarise last week. Because the protocol is shared, the same connection works in different AI apps, and switching assistants does not mean rebuilding the integration.
MCP vs traditional API integrations
| MCP | Traditional API integration | |
|---|---|---|
| Built for | AI applications that choose tools themselves | Developers writing code for fixed calls |
| Discovery | The server lists its tools with descriptions and input schemas | Read the documentation and code each endpoint |
| Reuse | One server works with every MCP-capable app | A separate integration per app |
| Who decides the call | The model, within the tools offered | The developer, in code |
| Underneath | Often wraps an existing API | The API itself |
Swipe the table sideways to see every column.
MCP does not replace APIs; most MCP servers call an existing API behind the scenes. It adds a layer that AI models can understand and use without custom code.
MCP vs RAG
| MCP | RAG (retrieval-augmented generation) | |
|---|---|---|
| What it does | Calls tools and reads live data | Searches a document collection and adds matching passages to the prompt |
| Data | Structured, current (today's orders) | Mostly text that was indexed beforehand |
| Can act | Yes, if the server offers action tools | No, it only retrieves |
| Good for | Numbers, records, changes | Policies, manuals, knowledge bases |
Swipe the table sideways to see every column.
They complement each other: an assistant can use RAG for your returns policy and MCP for this week's refund rate.
Security in MCP
The protocol puts the user in control: hosts are expected to ask for consent before tools run, and remote servers authenticate clients, usually with OAuth so the user signs in and approves the access. Risks remain and are the server's and the user's to manage:
- Give each connection only the scopes it needs; read-only where possible.
- Be careful with servers from unknown sources: a tool description can carry instructions meant to mislead the model (prompt injection).
- Require approval for actions that change money or ads.
- Keep an audit log of tool calls and revoke connections you no longer use.
Limitations of MCP for merchants
- The specification is young and changing: versions come out regularly, and not every client supports every feature.
- Client support differs: some apps allow only read tools, some limit MCP to certain plans or a developer mode. In ChatGPT, remote MCP servers are added as apps in developer mode (OpenAI: developer mode).
- Answers are only as good as the data and the model: an assistant can still misread a number or call the wrong tool; check important answers in the source report.
- Latency and cost: each tool call adds time, and long results use up the model's context.
In ROASaurus
Settings › API- In Claude, ChatGPT or another MCP client, add the ROASaurus MCP server and sign in with your ROASaurus account (OAuth); or create a named API key with the mcp scope under Settings › API › API keys.
- The default connection has read tools: profit, attribution, lifetime value, cohorts, inventory and benchmarks, the same tools Ask AI uses.
- Tick the optional scopes only if you want them: actions:write lets the assistant propose ad changes to the Actions inbox, where an owner or admin approves them; actions:apply lets it apply changes right away, still within the guardrails, the kill switch and business hours.
- Only owners and admins can connect an AI app, and each optional scope is a separate checkbox; changes applied through actions:apply are in the audit log and can be rolled back.
Start freeOpen the live demo14-day trial of every feature, no credit card.
Read more
- Shopify MCP and AI
- AI for ecommerce
- Pricing strategies
- Tariffs and ecommerce
- Christmas marketing
- BFCM tracking checklist
- MCP server
Sources
- Model Context Protocol: Architecture overview
- Model Context Protocol: Specification
- OpenAI: ChatGPT developer mode
Related terms
- Answer engine optimisation (AEO)
Answer engine optimisation is the work of getting your brand and products named, and your pages cited, in the answers of AI assistants such as ChatGPT, Gemini, Claude, Perplexity and Google's AI features.
- Server-side tracking
Sending purchases to an ad platform from a server instead of from the visitor's browser. ROASaurus sends each paid order from your shop's own order data, so ad blockers cannot stop it.
- Attribution
Deciding which ads and channels get credit for a sale. Different rules (models) give different answers.
What is MCP?
MCP, the Model Context Protocol, is an open standard for connecting AI applications to tools and data. A system offers an MCP server once, and any MCP-capable AI app can use its tools.
What can MCP do?
It lets an assistant read live data from connected systems and, where the server allows it, take actions such as proposing a change. One assistant can use several servers in one conversation.
What is the difference between an MCP client and an MCP server?
The server is the program that offers tools and data, such as a reporting service. The client is the connection inside the AI app (the host) that talks to one server on the app's behalf.
Does ChatGPT support MCP?
Yes. ChatGPT can connect to remote MCP servers as apps in its developer mode; which plans have it and whether write tools are allowed is set by OpenAI. Claude supports MCP in its desktop app, on the web and in Claude Code.
How do I add an MCP server to ChatGPT?
Turn on developer mode in ChatGPT's settings, create an app with the server's public HTTPS address and complete the sign-in the server asks for. The server must be reachable from the internet, not only on your own computer.
Is MCP the same as an API?
No. An API is a set of endpoints a developer codes against. MCP is a protocol that lets AI models discover and call tools themselves; many MCP servers wrap an existing API.
Is MCP safe?
The protocol supports consent and OAuth sign-in, but safety depends on the server and the scopes you grant. Use trusted servers, grant read access unless you need more, and require approval for changes.
Is the ROASaurus MCP server read-only?
No. By default it offers read tools, and two optional scopes add more: one lets the assistant propose ad changes for approval in the Actions inbox, the other lets it apply them directly within the guardrails. Both are off unless an owner or admin grants them.
Every sale, traced to the ad that earned it
Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.