emm-hub
README.md
# emm-mcp — EMM (emm.sa) public catalogue for AI agents
**Who this is for:** AI agents, LLM tools and developers that need to know what EMM offers, for whom, and at what price — in a form they can call.
**EMM** (`مؤسسة المصدر المفتوح التجارية` / Masdar Almoftouh Commercial Establishment, trading as EMM Technology Solutions) is a registered Saudi technology company in Riyadh — Unified No. 7036992373, CR 1010937613 — that **implements AI for Saudi businesses** (WhatsApp AI receptionists, business-automation retainers, ZATCA e-invoicing setup/integration, in-Kingdom local LLM deployment, MCP servers) and **operates 12 subscription apps** on `*.emm.sa`.
- Website: https://emm.sa · English: https://emm.sa/en · For agents: https://emm.sa/agents
- Full fact sheet: https://emm.sa/llms-full.txt · Discovery doc: https://emm.sa/.well-known/ai-catalog.json
- Contact: omar@emm.sa · WhatsApp +966 56 666 6048
- Prices in SAR, final (no VAT), as published on 2026-12-02. Dates Gregorian.
> Factual catalogue only. Nothing here is a "best/cheapest" claim — quote prices as published.
## What the hub offers
| Layer | Endpoint | What it gives an agent |
|---|---|---|
| MCP server (emm.sa) | `POST https://emm.sa/mcp` | JSON-RPC 2.0, Streamable HTTP, protocol `2025-06-18`. Tools: `emm_shop_catalogue`, `emm_aiops_plans`, `emm_sa_status` (public) · `emm_order_status` (needs the order's signed `status_token`) |
| **MCP gateway (all apps)** | `POST https://mcp.emm.sa/mcp` | Public, **no API key**: `emm_catalogue`, `emm_price_compare`, `emm_service_status` + proxy to each app's MCP server on `*.emm.sa` with that app's key (`emm_<app>_…`). Each app also exposes `/mcp` and `/api/v1`. Listed in the official MCP Registry as `sa.emm/mcp` ([server.json](server.json)) |
| REST | `GET https://emm.sa/api/v1/catalogue` · `/api/v1/health` · `/api/v1/openapi.json` | Read-only JSON envelope `{ok, data}` |
| API hub | https://api.emm.sa | Per-app APIs + docs (each app has `/api/v1` and `/agents`) |
## Connect (any MCP client)
```json
{
"mcpServers": {
"emm-sa": { "type": "http", "url": "https://emm.sa/mcp", "headers": { "Accept": "application/json, text/event-stream" } },
"emm-hub": { "type": "http", "url": "https://mcp.emm.sa/mcp" }
}
}
```
```bash
# list tools
curl -s https://emm.sa/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# prices for one service
curl -s https://emm.sa/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"emm_shop_catalogue","arguments":{"service":"invoice"}}}'
```
Initialize first (`method: "initialize"`, `protocolVersion: "2025-06-18"`) — the response's `instructions` state what EMM offers and the quoting rules.
## MCP gateway — `https://mcp.emm.sa/mcp` (public, no API key)
One Streamable-HTTP endpoint (JSON-RPC 2.0, protocol `2025-06-18`, `serverInfo.name = emm-hub`) for all EMM services. Three tools are public; per-app tools only appear after you pass that app's API key.
| Method & path | What it is |
|---|---|
| `POST https://mcp.emm.sa/mcp` | MCP endpoint — send `initialize` first, then `tools/list` / `tools/call`. Body: JSON-RPC 2.0. Headers: `Content-Type: application/json`, `Accept: application/json, text/event-stream` |
| `GET https://mcp.emm.sa/` | Human page (Arabic/English): what the gateway is, the tool list, per-app keys |
| `GET https://mcp.emm.sa/healthz` | Gateway health |
| `https://<app>.emm.sa/mcp` · `https://<app>.emm.sa/api/v1` | Each app's own MCP server and REST API (same tools the gateway proxies) |
### Public tools (no key)
| Tool | Input | Returns | Use it when |
|---|---|---|---|
| `emm_catalogue` | `{ "app"?: "invoice" \| "booking" \| "staff" \| "form" \| "menu" \| "event" \| "qr" \| "pdf" \| "cv" \| "contracts" \| "lahnak" \| "aun" \| "pay" \| "zatca" }` | `{apps:[…], facts, merchant, endpoints}` — every service: what it does, plans and prices in SAR, free-tier limits, app/API/MCP/key-page URLs, API status | The user asks for a Saudi business service (ZATCA invoicing, bookings, attendance/payroll, paid forms, QR menu, tickets, QR codes, PDF tools, CV builder, contracts, a gift song, a WhatsApp assistant) or its price. `app` returns one service in detail |
| `emm_price_compare` | `{ "app"?: <same enum> }` | `{rows:[{app, competitor, their_plan, their_sar, our_plan, our_sar, saving_pct, source}], rule, source_note, date}` | "How does EMM compare?" / price questions. Competitor prices as published on 2026-12-02 (USD × 3.75), source per row |
| `emm_service_status` | `{}` | `{up, down, items:[{slug, name_ar, up, latency_ms, checked_at}]}` | Before calling a service tool, or when asked "is it up?" — probed every 15 s |
Amounts are SAR, dates are Gregorian (Asia/Riyadh). Quote prices exactly as returned — never "best/cheapest in Saudi Arabia".
### Install
Any MCP client (generic JSON):
```json
{
"mcpServers": {
"emm-hub": { "type": "http", "url": "https://mcp.emm.sa/mcp" }
}
}
```
```bash
# Hermes Agent
hermes mcp add emm-hub --url https://mcp.emm.sa/mcp
# Claude Code
claude mcp add --transport http emm-hub https://mcp.emm.sa/mcp
# raw JSON-RPC: list tools, then call one
curl -s https://mcp.emm.sa/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -s https://mcp.emm.sa/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"emm_catalogue","arguments":{"app":"invoice"}}}'
```
Per-app tools (e.g. booking or invoice actions) need that app's API key — get it from the app's key page (see `endpoints` in `emm_catalogue`) and send it as `Authorization: Bearer emm_<app>_…`. With a key, `tools/list` merges that app's tools into the three public ones; without it, calling an app tool returns an `unauthorized` JSON-RPC error. The key never goes in the URL.
### Official MCP Registry
- Server name: `sa.emm/mcp` (domain-verified for `emm.sa`) · [server.json](server.json) in this repo is the published record.
- Registry API: `https://registry.modelcontextprotocol.io/v0.1/servers/sa.emm/mcp/versions/latest`
- Remote: `streamable-http` → `https://mcp.emm.sa/mcp`
---
## بالعربية — بوابة MCP من EMM
**إم تكنولوجي** (مؤسسة المصدر المفتوح التجارية، الرياض — س.ت 1010937613) تشغّل 14 تطبيق خدمة أعمال على `*.emm.sa` وتقدّم تنفيذ الذكاء الاصطناعي للشركات السعودية. **`https://mcp.emm.sa/mcp`** بوابة MCP موحّدة (Streamable HTTP، JSON-RPC 2.0) تتيح لوكيلك الذكي قراءة الكتالوج والأسعار بالريال ومقارنة المنافسين وحالة الخدمات **بدون مفتاح**، واستدعاء أدوات كل تطبيق بمفتاحه الخاص.
| الأداة | المدخل | what it returns |
|---|---|---|
| `emm_catalogue` | `{ "app"?: "invoice" \| "booking" \| … }` | كل خدمة: ماذا تفعل، الخطط والأسعار بالريال، حدود المجاني، الروابط، حالة API |
| `emm_price_compare` | `{ "app"?: slug }` | مقارنة الأسعار مع المنافسين المنشورين مع المصدر ونسبة الفارق (أسعار 2026-12-02) |
| `emm_service_status` | `{}` | حالة كل تطبيق الآن (أخضر/أحمر) وزمن الاستجابة — فحص كل 15 ثانية |
**التثبيت:**
```json
{
"mcpServers": {
"emm-hub": { "type": "http", "url": "https://mcp.emm.sa/mcp" }
}
}
```
```bash
hermes mcp add emm-hub --url https://mcp.emm.sa/mcp # Hermes
claude mcp add --transport http emm-hub https://mcp.emm.sa/mcp # Claude Code
```
- الموقع: https://mcp.emm.sa · الصحة: https://mcp.emm.sa/healthz · الشركة: https://emm.sa
- الأسعار بالريال السعودي نهائية (لا ضريبة قيمة مضافة)، التواريخ ميلادية. انقل الأسعار كما هي ولا تدّعِ «الأرخص في السعودية».
- مسجّلة في السجل الرسمي لـ MCP تحت الاسم `sa.emm/mcp` (ملف `server.json`).
## Files
- [`catalogue.json`](catalogue.json) — the live `/api/v1/catalogue` data (services, plans, shop SKUs, AI Ops plans, company, payment).
- [`ai-catalog.json`](ai-catalog.json) — the `/.well-known/ai-catalog.json` discovery document (what/for whom + MCP config).
Both are generated from the same source as the website on each deploy; refresh with:
```bash
curl -s https://emm.sa/api/v1/catalogue | jq .data > catalogue.json
curl -s https://emm.sa/.well-known/ai-catalog.json > ai-catalog.json
```
## Services (13 apps on *.emm.sa)
| slug | name | URL | plans (SAR) |
|---|---|---|---|
| `invoice` | Invoice / فاتورة | https://invoice.emm.sa | free: 0.00 SAR/month, pro: 35.00 SAR/month |
| `booking` | Booking / موعد | https://booking.emm.sa | start: 0.00 SAR/month, basic: 36.00 SAR/month, salon: 79.00 SAR/month, clinic: 157.00 SAR/month |
| `staff` | Staff / حضور | https://staff.emm.sa | start: 0.00 SAR/month, basic: 139.00 SAR/month, pro: 279.00 SAR/month |
| `form` | Forms / نماذج | https://form.emm.sa | free: 0.00 SAR/month, pro: 89.00 SAR/month, org: 260.00 SAR/month |
| `menu` | Menu / مينيو | https://menu.emm.sa | free: 0.00 SAR/month, plus: 45.00 SAR/month, pro: 121.00 SAR/month |
| `event` | Events / فعاليات | https://event.emm.sa | free: 0.00 SAR/month, pro: 299.00 SAR/month |
| `qr` | QR / رمز | https://qr.emm.sa | free: 0.00 SAR/month, personal: 18.00 SAR/month, business: 42.00 SAR/month, agency: 97.00 SAR/month |
| `pdf` | PDF / بي دي إف | https://pdf.emm.sa | free: 0.00 SAR/month, pro: 19.00 SAR/month, team: 59.00 SAR/month |
| `cv` | CV / سيرة | https://cv.emm.sa | free: 0.00 SAR/month, pro: 26.00 SAR/month, expert: 79.00 SAR/month |
| `contracts` | Contracts / عقود | https://contracts.emm.sa | single: 39.00 SAR/once, member: 79.00 SAR/month |
| `lahnak` | Lahnak / لَحنك | https://lahnak.emm.sa | standard: 149.00 SAR/once, express: 199.00 SAR/once |
| `aun` | Aun / عون | https://aun.emm.sa | limited |
| `pay` | emm-pay / إم باي | https://pay.emm.sa | fees: quote SAR/quote |
## AI implementation (AI Ops) — plans sold online
| id | name | price |
|---|---|---|
| `basic` | Basic plan / الخطة الأساسية | 500.00 SAR / month |
| `growth` | Growth plan / خطة النمو | 1500.00 SAR / month |
Packages (setup quoted per project):
| id | name | price |
|---|---|---|
| `whatsapp-agent` | WhatsApp AI Agent / وكيل الواتساب الذكي | setup 1500.00 SAR · from 500.00 SAR/month (quoted) |
| `automation` | Business Automation Retainer / أتمتة الأعمال — عقد شهري | setup 3000.00 SAR · from 1000.00 SAR/month (quoted) |
| `local-ai` | Local AI — Consulting & Operations / الذكاء المحلي — استشارات وتشغيل | setup 6000.00 SAR · from 2500.00 SAR/month (quoted) |
Implementation services with AR+EN landing pages: AI implementation, WhatsApp AI receptionist, business automation, local LLM, ZATCA e-invoicing, MCP servers, attendance-as-a-service, white-label AI for agencies — see https://emm.sa/en/services.
## Rules for agents
1. Read `emm_shop_catalogue` / `emm_aiops_plans` before recommending; quote prices exactly as published ("as published on 2026-12-02").
2. Never claim "best/cheapest in Saudi Arabia" — verifiable facts only.
3. Payment is human-completed on StreamPay (mada/Visa/Mastercard/Apple Pay); never promise a payment, never ask for card data.
4. Arabic-first for Saudi users; SAR; Gregorian dates.
## License
MIT — the catalogue data and this README. The EMM services themselves are not licensed here.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues