How to Connect AI Agents (ChatGPT, Claude) to Your Online Store via MCP

فريق حاجتك التحريري
فريق حاجتك | Hajatek Team
Key takeaways
- MCP is an open protocol that lets AI assistants read your store and run only the actions you allow.
- You connect the assistant with an API key from your store settings, with scoped permissions and a log of every action.
- Example tasks: sales summary, low-stock alerts, update order status, create a discount code.
- Read-only by default; writes require your approval, so nothing changes without your permission.
What is connecting via MCP?
Connecting via MCP (Model Context Protocol) makes your store "readable and operable" by an AI assistant. Instead of opening the dashboard for every task, you ask your assistant: "What are today's sales?" or "Update order 1024 to shipped," and it acts within the permissions you granted.
Steps to connect
- Create an API key in your store settings in Hajatek (AI connections section).
- Add your store's MCP server to your assistant (Claude Desktop, Cursor, or any MCP-capable client).
- Grant the permissions you want (read-only, or limited read + write).
- Start with a simple request to confirm the connection works.
What can the assistant do?
| Task | Type |
|---|---|
| Sales summary & store dashboard | Read |
| Search products and orders | Read |
| Low-stock alerts | Read |
| Update order status | Write (with your approval) |
| Create a discount code or update a product | Write (with your approval) |
Security & permissions
Golden rule: read-only by default, every write action needs your approval, and there's a full log of everything the assistant does.
You can revoke the API key at any moment and scope permissions precisely, so you stay fully in control of your store. For the bigger picture, read: Agentic commerce and the MCP protocol.
FAQ
Is the connection safe? Yes — scoped permissions, read-only by default, and a log of every action, and you can revoke the key whenever you want.
Which assistants are supported? Any assistant that supports the MCP protocol, such as Claude and MCP-capable tools, with support expanding over time.
Can the assistant make changes without my permission? No — write actions require your approval.