AI Agent Native · MCP Protocol

Command your WhatsApp CRM directly from Claude Desktop & Cursor

The official Model Context Protocol (MCP) server for Klaros. Give LLMs controlled, safety-gated tool calling access over your self-deployed WhatsApp Business inbox.

1. Claude Desktop Setup

Add `@klaros/mcp-server` to your claude_desktop_config.json:

{
  "mcpServers": {
    "klaros": {
      "command": "npx",
      "args": ["-y", "@klaros/mcp-server"],
      "env": {
        "KLAROS_API_URL": "https://your-klaros.workers.dev",
        "KLAROS_API_KEY": "uni_agt_your_key_here",
        "KLAROS_MCP_REDACT_PII": "true"
      }
    }
  }
}

2. Cursor IDE Integration

Connect Cursor to your WhatsApp CRM tools in under 60 seconds:

  1. Open SettingsCursor SettingsMCP.
  2. Click + Add New MCP Server.
  3. Name: Klaros | Type: stdio
  4. Command: npx -y @klaros/mcp-server

Built-in Safety & Blast Radius Protection

Enterprise-grade safety layers ensure LLMs act within strict boundaries.

🔒 Edge PII Masking

When KLAROS_MCP_REDACT_PII=true is enabled, emails, phone numbers, and credit cards are automatically redacted on the client edge before reaching LLM provider servers.

🛡️ Consent & Service Window Gating

Outbound message tools hit the core Klaros engine. Messages land only if the 24-hour Meta service window is open or valid opt-in consent exists in the immutable audit ledger.