Skip to main content
Glama

OctaDezx MCP Server & Offline Guardrail Toolkit (octadezx-mcp v1.2.0)

cleverfox-77/octadezx-mcp MCP server

Official Model Context Protocol (MCP) server, offline deterministic customer-support verification toolkit, and CLI for OctaDezx.

octadezx-mcp operates in Dual Mode:

  • 4 Standalone Offline Deterministic Tools (Zero API Key / Zero Network Calls): Run locally via pure deterministic algorithms in lib/localTools.js to audit knowledge-base docs, catch hallucinated/unsafe AI replies pre-send, plan compound multilingual inquiries, and compute support TCO.

  • 5 Connected Cloud Workspace Tools (Optional OCTADEZX_API_KEY): Connect to your live OctaDezx workspace (https://octadezx.com/mcp) to list inbox conversations, send verified replies, verify live orders, schedule Google Calendar-aware appointments, and place interruptible voice calls.


Available Tools (9 Tools Total)

1. Standalone Offline Tools (No API Key Required)

Tool

Description

Annotations

audit_knowledge_base

Audits Markdown/text/JSON support docs or a local filePath for conflicting return/trial windows, ambiguous currency symbols, over-promising SLA claims, missing escalation rules, and prompt-injection risks; outputs a 0-100 score (A-F).

readOnlyHint: true, idempotentHint: true

verify_reply_safety

Deterministic pre-send safety verifier that checks a candidateReply against groundTruth (customerEmail, customerOrderIds, order, catalogPrices, allowedDiscountCodes, policyText) to block cross-customer privacy leaks, invented promo codes, unverified dollar amounts, and unauthorized refunds.

readOnlyHint: true, idempotentHint: true

plan_multistep_inquiry

Parses compound multilingual and code-switched messages (EN, ES, PT, FR, DE, IT, NL, PL, Banglish, Hinglish, Spanglish) into a 7-stage execution DAG (detect -> plan -> gate -> lookup -> clarify -> verify -> action) with auth gates and read-before-write policy.

readOnlyHint: true, idempotentHint: true

calculate_support_tco

Computes monthly/annual TCO comparing per-resolution AI tools (Intercom Fin $0.99/outcome, Gorgias AI, Zendesk AI) against OctaDezx flat-rate tiers (Starter $29/mo, Pro $99/mo, Advanced $199/mo) and metered Enterprise pricing.

readOnlyHint: true, idempotentHint: true

2. Cloud Workspace Tools (Requires OCTADEZX_API_KEY)

  1. octadezx_list_conversations: List open or escalated conversations across WhatsApp, Instagram, Messenger, Telegram, phone voice, and web chat.

  2. octadezx_send_customer_reply: Deliver a verified response into a customer conversation thread.

  3. octadezx_verify_order: Verify live order status and pricing against storefront catalog records.

  4. octadezx_schedule_appointment: File an appointment booking request in your connected calendar workflow.

  5. octadezx_trigger_voice_call: Place an outbound conversational phone call with live barge-in interruption.


Related MCP server: MQTT MCP Server

Quick Start (Claude Desktop, Cursor, Windsurf, Cline)

You can run the 4 offline deterministic tools immediately with zero API keys or environment variables:

{
  "mcpServers": {
    "octadezx": {
      "command": "node",
      "args": ["server.js"]
    }
  }
}

To also enable live OctaDezx Cloud workspace actions (octadezx_list_conversations, octadezx_verify_order, etc.), add your OCTADEZX_API_KEY from OctaDezx Settings:

{
  "mcpServers": {
    "octadezx": {
      "command": "node",
      "args": ["server.js"],
      "env": {
        "OCTADEZX_ENDPOINT": "https://octadezx.com/mcp",
        "OCTADEZX_API_KEY": "your_octadezx_api_key_here"
      }
    }
  }
}

CLI Usage

node server.js --help
node server.js --list-tools
node server.js audit ./docs/refund-policy.md
node server.js plan --message "Where is order #OD-4410? Also cancel #OD-4409 if not shipped."
node server.js tco --tickets 2500 --voice 250 --seats 4 --rate 0.70

Automated Tests

npm test

Runs the full node --test unit suite (test/mcp.test.js) and JSON-RPC stdio protocol smoke test (test.js) without requiring any credentials.

License: MIT

Available Tools

9 tools
audit_knowledge_baseA
Read-onlyIdempotent

Deterministically audit support documentation before indexing it into a RAG or AI customer agent. Runs completely offline with zero network calls or API key required, checking one or more Markdown, plain-text, or JSON files for conflicting policy time windows, unqualified commitments, currency ambiguity, missing headings, missing human escalation contacts, and embedded prompt-injection patterns. Returns JSON with score (0-100), grade (A-F), findings[], extractedFacts, recommendations[], and mode ('local_deterministic').

Inputs: title, content, filePath, documents.

calculate_support_tcoA
Read-onlyIdempotent

Deterministic total-cost-of-ownership (TCO) and unit-economics calculator comparing per-resolution AI support pricing (Intercom Fin at $0.99/resolution + seats, Gorgias AI automated interaction pricing, Zendesk AI) against flat-rate OctaDezx tiers (Starter $29/mo, Pro $99/mo, Advanced $199/mo) and Enterprise metered billing ($499/mo minimum). Runs completely offline with no API key, returning recommendedPlan, monthlyUsd, annualUsd, effectiveCostPerTicketUsd, and competitor savings.

Inputs: monthlyTickets (required), teamSeats, zendeskSeatUsd, intercomSeatUsd, +7 more.

octadezx_list_conversationsA
Read-onlyIdempotent

Retrieve recent or escalated customer conversations from your connected OctaDezx Cloud workspace across WhatsApp, Instagram, Facebook Messenger, Telegram, Phone Voice, and Web Widget. Use when triaging open support queues or fetching thread IDs before replying. Requires OCTADEZX_API_KEY in the environment; if unset, returns a structured 'requires_api_key' guidance payload instead of failing silently.

Inputs: limit, status.

octadezx_schedule_appointmentA

Create an appointment booking request and check Google Calendar staff busy-time availability in your OctaDezx Cloud workspace. Use after confirming service type, customer name, and callback phone number. Requires OCTADEZX_API_KEY; returns a structured 'requires_api_key' error payload when no API key is configured.

Inputs: phone (required), service (required), customerName (required), datetime.

octadezx_send_customer_replyA

Deliver a verified customer care reply into an active OctaDezx Cloud conversation thread across its originating channel (WhatsApp, Instagram, Messenger, Telegram, or Web Widget). Best paired with verify_reply_safety prior to sending. Requires OCTADEZX_API_KEY; returns a structured 'requires_api_key' error payload when unauthenticated.

Inputs: message (required), conversationId (required).

octadezx_trigger_voice_callA

Initiate an outbound conversational AI phone reminder or support follow-up call from your OctaDezx Cloud workspace with real-time human barge-in support. Only invoke after verifying consent and call purpose. Requires OCTADEZX_API_KEY; returns a structured 'requires_api_key' error payload when unauthenticated.

Inputs: reason (required), phoneNumber (required).

octadezx_verify_orderA
Read-onlyIdempotent

Look up authoritative live order fulfillment status, line items, and verified totals in your connected OctaDezx storefront integration (Shopify or WooCommerce). Use before promising refunds, answering WISMO questions, or citing order amounts. Requires OCTADEZX_API_KEY; returns a structured 'requires_api_key' error payload if unconfigured.

Inputs: orderId (required).

plan_multistep_inquiryA
Read-onlyIdempotent

Deterministically decompose a complex, multi-intent, or code-switched customer inquiry (supporting English, Spanish, Portuguese, French, German, Italian, Dutch, Polish, Banglish, Hinglish, and Spanglish) into a read-before-write 7-stage execution DAG (detect -> plan -> gate -> lookup -> clarify -> verify -> action). Runs completely offline with zero network calls or API key, extracting order IDs, emails, phones, and monetary figures while enforcing identity authentication and clarification gates before state mutations.

Inputs: message (required), localeHint, knownCustomerOrderIds, hasAuthenticatedSession.

verify_reply_safetyA
Read-onlyIdempotent

Pre-send deterministic safety and hallucination verifier for a draft AI customer support response. Runs completely offline without an API key, validating every email address, order ID, promo code, monetary figure, refund commitment, template placeholder, and punctuation rule against authoritative groundTruth records. Returns JSON with safe (boolean), riskLevel ('pass' | 'review' | 'block'), violationCount, violations[], and verifiedClaims[].

Inputs: candidateReply (required), groundTruth, strictStyle.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool targets a clearly different resource or action: conversation listing, reply sending, safety verification, order lookup, appointment booking, voice calls, inquiry planning, KB auditing, and TCO calculation. The only mild overlap is between the offline verifiers (verify_reply_safety, audit_knowledge_base, plan_multistep_inquiry), but their scopes — draft reply, documentation corpus, inquiry decomposition — are well delineated in the descriptions.

    Naming Consistency4/5

    All names use snake_case verb_noun phrasing, which is predictable. The one deviation is the split prefix convention: five tools carry the octadezx_ prefix (cloud/API operations) while four offline tools (audit_knowledge_base, verify_reply_safety, plan_multistep_inquiry, calculate_support_tco) do not, creating two visible families.

    Tool Count5/5

    Nine tools is well within the ideal 3-15 range and fits a customer-support agent surface neatly. Each tool covers a distinct stage of the support workflow (triage, verify, plan, act, analyze), with no filler tools apparent.

    Completeness3/5

    Core workflows are covered — list conversations, verify order, verify reply, send reply, book appointment, place call — plus offline planning and auditing. However, there is no way to resolve/close/assign a conversation or escalate to a human, no refund/mutation action despite heavy emphasis on refund commitments, and audit_knowledge_base has no companion indexing tool, leaving several lifecycle dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers