For Developers

MCP Integration

Control your store from any AI assistant

What is MCP?

The Model Context Protocol (MCP) lets AI assistants like Claude, ChatGPT, and Cursor directly interact with your store. Check orders, update inventory, analyze sales — all through natural language.

Check orders
Update inventory
Analyze sales
Create discount codes

Get Started in 3 Steps

1

Generate MCP API Key

From your Hajatek dashboard: Settings → API & Integrations → Generate MCP Key

2

Configure Your AI Tool

Add the MCP server config to your preferred tool (see setup below)

3

Try It Out

Say to your AI assistant: "show me my store dashboard"

> show me my store dashboard

Platform Setup

Copy the configuration to your preferred AI tool

{
  "mcpServers": {
    "hajatek": {
      "url": "https://api.hajatek.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_MCP_API_KEY"
      }
    }
  }
}

File: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%/Claude/claude_desktop_config.json

Available Tools

8 tools to manage your store via AI

Access Levels

Choose the plan that fits your needs

Pro Plan

Read-only tools: dashboard, search, orders, analytics

10,000 requests/month
get_store_dashboardsearch_productsget_ordersget_low_stock_itemssummarize_sales
Business Plan

Business Plan

Read + Write tools: update orders, create discounts, edit products

Unlimited requests
update_order_statusgenerate_discount_codeupdate_product+ all read tools

Security

Designed to protect your data

Hashed API Keys

API keys are hashed and never stored in plain text.

Full Audit Trail

All MCP actions are logged in the audit trail for tracking and accountability.

Instant Revocation

Revoke access anytime from your dashboard.

Store Data Isolation

Each key only accesses its own store — complete tenant isolation.

MCP Protocol | المطورين | Hajatek