Skip to content
Skip to Content
WaaruDocs

MCP clients

Connect a client, review its permissions and verify the actions you need.

Reviewed

Connect an AI client with permissions you choose.

MCP uses OAuth. Server code can use the Node.js SDK or Developer API. See MCP tools and authoring tools for release status.

Get your server URL from Settings > Developer > MCP. If unavailable, contact Waaru Care.

Choose actions on your first connection

  1. Open the intended workspace and copy its discovered HTTPS MCP URL.
  2. Add it in a client supporting remote HTTP MCP with OAuth. Complete application setup if requested; registration grants no workspace access.
  3. Sign in to Waaru and choose the intended workspace. The two required reads are mcp:workspace:read and mcp:instances:read. Choose any optional read or write actions you need on this first review; optional choices start unchecked. Only actions allowed by your role, number access and the application and resource limits are available.
  4. Approve the intended workspace and permissions; cancel mismatches. Never paste keys or tokens into chat.
  5. Refresh tools and test get_workspace and list_instances. Check workspace and numbers. The token includes only approved choices; reconnect later only for additional actions.

Use the registered callback and reviewed client identity. Public clients need no secret. Verify authentication in your actual host; approval records alone prove no connection. See the version-specific CLI bootstrap guide.

Choose and review capabilities

Prepare choices in Settings > Developer > MCP. Bulk-select only the actions you need. A copied setup request grants nothing.

Discovery can advertise tools eligible for your role and application before approval. A visible tool still needs token permission. request_permissions opens a bounded review, subject to role, number, client and resource limits. Review the actual OAuth page and cancel a mismatched selection.

For an existing app, open Allowed actions for its exact client and workspace. A broader selection prepares a time-limited review; it does not widen a token. Reconnect with OAuth, review the pending choices, approve and refresh tools. Reconnecting without pending choices adds nothing. Narrowing access invalidates broader tokens and approval-bound previews and schedules.

Read-only observation can coexist with Logic Flow. Sends, contact changes, template edits and schedules need separate authority. Developer API-key scopes are not MCP scopes.

Claim a conversation before replying

Replies require a conversation assigned to you. Choose Claim conversations as yourself and Reply to customers during setup, or add them through Allowed actions and consent for an existing app.

  1. Find work with list_conversations. Use its conversation ID in get_conversation_assignment to check the active session, assignment revision and eligible teams.
  2. After explicit approval, call claim_conversation with that session ID, assignmentRevision as expectedRevision, an eligible teamId, confirm: true and a saved idempotency key.
  3. The claim assigns you and pauses automated handling. It sends nothing, changes no number handler and cannot take another teammate's work or transfer teams.
  4. Use the returned session ID for preview_message. Review sender, recipient and content, then approve confirm_message separately.

Recheck changed assignments. Reconcile uncertain claims with the same idempotency key. Claims require mcp:conversations:read, mcp:conversations:write and current Inbox permissions; reply authority is separate.

Review actions before confirmation

  • Replies: select one text, rich or shared-media variant in preview_message, show the complete returned review, then approve confirm_message with its previewId.
  • Templates: review content, variables and time in preview_template_message, then approve confirm_template_message.
  • Campaigns: review recipients, content, sender and time in preview_broadcast, then approve confirm_broadcast.
  • Template edits: review the complete replacement in preview_template_update, then approve confirm_template_update. This affects the shared WhatsApp account definition and may remove approval. It requires unrestricted number access; create/delete templates in the dashboard.

For the single-contact campaign workflow, preview_scheduled_template also uses confirm_broadcast. This differs from the preview_template_message / confirm_template_message pair. Follow the tool names and inputs returned for the workflow you chose. Read a confirmed campaign with get_campaign using both the reviewed instanceId and returned campaignId.

Previews do not send messages. Confirm only what you actually reviewed, using its unchanged preview ID before expiry. A tool invocation by an AI client is not, by itself, proof of a human confirmation. Verify how your chosen host presents and records that approval before using write actions.

Sending still checks current consent, recipient restrictions, sender state, quality and any required customer-service window. Template editing and campaign scheduling retain their own role and scope checks. Queued acceptance is not provider delivery or template approval. An uncertain provider result requires reconciliation, not a new preview to repeat the action blindly.

Scheduling additionally requires explicit offline_access. Review the timezone, returned UTC instant, sender, audience and rendered content. Token expiry alone does not cancel a confirmed schedule. Revocation or disconnection removes authority; reapproval does not revive cancelled commands.

Diagnose and disconnect safely

  • For missing tools, refresh discovery and check role, numbers and application limits. For a denied tool, check token scopes and Allowed actions. Repeated login is not a scope upgrade.
  • For invalid_scope or invalid_target, correct the requested permissions or resource URL. Never switch to broader credentials or request the whole issuer catalog.
  • For stale/cancelled reviews, prepare a fresh selection deliberately. Cancellation leaves existing access unchanged.
  • Disconnect the exact app in Manage connected apps. Revocation removes authority; reapproval does not revive cancelled schedules.
  • Share only redacted methods, error codes, scope names and callback host/path with support. Never share secrets, cookies, tokens, authorization codes or complete sign-in URLs.

Your client supplies its model; MCP does not enable native AI replies. Verify sign-in, consent cancellation and human confirmation before using writes. See connected apps.

Workflow setup in the next release

The authoring reference covers broadcast readiness, reviewed pause/cancel, and separate read, inactive-draft, publication and activation capabilities for Logic Flows and Automations. These additions need an environment upgrade and permission activation. Existing grants stay unchanged.

Drafts and simulations send nothing. Publication keeps a reviewed version inactive; activation separately checks the exact version and resources. Native workflow edits, provider setup and inbound-handler changes stay in the dashboard. Reviews expire after five minutes; retry an uncertain confirmation with the same preview ID. Accepted messages cannot be recalled. Company Brain and general administration are not exposed.

Incoming media tools return bounded base64 chunks. Decode in offset order and verify the file hash. They expose no storage URL and upload nothing.

Receive new-message events

The release adds whatsapp.message.received through MCP 2026-07-28 event methods in supported ChatGPT Work hosts. Delivery defaults off. Environment upgrade, permission activation and real-host acceptance remain pending.

Choose Receive new-message events separately from Read event history. Approve mcp:events:subscribe, mcp:events:read, offline_access and required workspace/number reads. Choices start unchecked. Select one allowed number; current role, number, consent and application limits apply at delivery.

Events contain identifiers, occurrence time and a conversation link, with no customer content or phone number. Content reads and replies need separate permissions. The host uses events/list, events/subscribe and events/unsubscribe; these are separate from action tools.

There is no history or backfill (cursor: null). Delivery may repeat; deduplicate by event ID. Subscriptions default to 24 hours, with a seven-day maximum. Unsubscribe, disconnect or lost access stops delivery; token expiry alone does not revoke persistent consent. Events never reply automatically or change the number’s inbound handler. Replies still require preview and explicit confirmation.

On this page