SendMQ MCP integration

Use Model Context Protocol to look up SendMQ documentation or connect an assistant to your workspace.

Public documentation MCP

Add the URL below to a client that supports Streamable HTTP. It provides public integration guidance and API references without a key. For tools that read or change a workspace, configure the workspace server below.

MCP server URL
https://sendmq.com/mcp

For local development, connect to http://localhost:3000/mcp.

Workspace MCP over stdio

  1. Clone the SendMQ repository, then run npm ci in web-console with Node.js 20.9 or newer.
  2. Set SENDMQ_API_KEY in the MCP subprocess environment using your client’s secret management. Use a key with jobs:read, schedules:read, and usage:read for all read tools.
  3. Add a stdio server in your client and replace the sample script path with the absolute path to your clone.
Example client configuration
{
  "mcpServers": {
    "sendmq-workspace": {
      "command": "node",
      "args": [
        "/absolute/path/to/sendmq/web-console/scripts/sendmq-mcp.mjs"
      ]
    }
  }
}

The default API origin is https://sendmq.com. Set SENDMQ_API_URL=http://localhost:8080 in the subprocess environment to use a local Go API.

Workspace operations

By default, workspace tools can list and inspect jobs, inspect attempts, read usage, and list schedules. With jobs:read, use sendmq_list_agent_actions to find follow-ups by ticket, agent run, or delivery status, then pass the returned job ID to sendmq_get_job or sendmq_get_job_attempts.

Set SENDMQ_MCP_ENABLE_WRITES=true in the MCP process environment and grant the scope for the tool you want to use.

  • sendmq_enqueue_job requires jobs:write.
  • sendmq_create_schedule requires schedules:write.
  • sendmq_publish_webhook requires webhooks:write.
  • sendmq_schedule_follow_up requires jobs:write and SENDMQ_MCP_FOLLOW_UP_URL set to your public HTTPS support endpoint. For bearer authentication at that endpoint, set SENDMQ_MCP_FOLLOW_UP_TOKEN in the MCP process environment.

Confirm destinations, event payloads, and schedules in your MCP client before triggering delivery. For a submission retry, reuse the original arguments and idempotency key with the enqueue, publish, or follow-up tool.