m190 avatar

Knock MCP by usefulapi

m190/usefulapi-mcp

Read and trigger Knock notifications: users, messages, delivery logs, workflow runs, and tenants.

CCM score
67 of 100
GitHub stars
1
tools
13
transport
HTTP
last updated
Nov 25, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads data with knock_list_users, knock_get_message_content, knock_list_message_delivery_logs, and knock_list_workflow_recipient_runs, filterable by channel, status, or time range
  • Triggers and cancels with knock_trigger_workflow and knock_cancel_workflow; triggering sends real email, SMS, push, or in-app notifications, and sent runs cannot be recalled
  • Requires a Knock API key and runs as a hosted server with authorization handled once, so no local install is needed
  • Designed for support teams debugging why a notification did or did not arrive, and for developers testing workflows

Install

$ npx -y add-mcp https://knock.usefulapi.io/mcp --name knock -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http knock https://knock.usefulapi.io/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 13 tools

Verified live against the running server on Nov 25, 2026.

knock_list_usersList users in the current Knock environment, newest first unless ordered otherwise. Use it to find a user id before other calls. Knock API: GET /v1/users.3 params

List users in the current Knock environment, newest first unless ordered otherwise. Use it to find a user id before other calls. Knock API: GET /v1/users.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
page_sizeinteger
Items per page (Knock default 50).
knock_get_userGet one Knock user by id: name, email, phone number, timezone and timestamps. Knock API: GET /v1/users/{user_id}.1 params

Get one Knock user by id: name, email, phone number, timezone and timestamps. Knock API: GET /v1/users/{user_id}.

Parameters* required
user_id*string
The user id.
knock_list_user_messagesList the in-app and channel messages sent to one user, filterable by channel, status, workflow run and insertion time. Knock API: GET /v1/users/{user_id}/messages.9 params

List the in-app and channel messages sent to one user, filterable by channel, status, workflow run and insertion time. Knock API: GET /v1/users/{user_id}/messages.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
channel_idstring
Only messages from this channel id.
inserted_at.gtestring
Inserted at or after this ISO 8601 time.
inserted_at.ltestring
Inserted at or before this ISO 8601 time.
page_sizeinteger
Items per page (Knock default 50).
statusstring
Only messages with this status (for example delivered, sent, undelivered).
user_id*string
The user id.
workflow_run_idstring
Only messages from this workflow run id.
knock_list_messagesList messages across the environment, filterable by channel, status, source, tenant, workflow run and insertion time. Knock API: GET /v1/messages.10 params

List messages across the environment, filterable by channel, status, source, tenant, workflow run and insertion time. Knock API: GET /v1/messages.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
channel_idstring
Only messages from this channel id.
inserted_at.gtestring
Inserted at or after this ISO 8601 time.
inserted_at.ltestring
Inserted at or before this ISO 8601 time.
page_sizeinteger
Items per page (Knock default 50).
sourcestring
Only messages from this source (for example a workflow key).
statusstring
Only messages with this status.
tenantstring
Only messages for this tenant id.
workflow_run_idstring
Only messages from this workflow run id.
knock_get_messageGet one message by id: channel, status, recipient, workflow, engagement timestamps (seen, read, interacted, archived). Knock API: GET /v1/messages/{message_id}.1 params

Get one message by id: channel, status, recipient, workflow, engagement timestamps (seen, read, interacted, archived). Knock API: GET /v1/messages/{message_id}.

Parameters* required
message_id*string
The message id.
knock_get_message_contentGet the rendered content (subject, body, and channel data) of one message. Knock API: GET /v1/messages/{message_id}/content.1 params

Get the rendered content (subject, body, and channel data) of one message. Knock API: GET /v1/messages/{message_id}/content.

Parameters* required
message_id*string
The message id.
knock_list_message_delivery_logsList the delivery attempts and provider responses for one message, to see why a delivery failed. Knock API: GET /v1/messages/{message_id}/delivery_logs.4 params

List the delivery attempts and provider responses for one message, to see why a delivery failed. Knock API: GET /v1/messages/{message_id}/delivery_logs.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
message_id*string
The message id.
page_sizeinteger
Items per page (Knock default 50).
knock_list_workflow_recipient_runsList workflow runs per recipient, filterable by workflow key, status, recipient, tenant, errors and time range. Use it to check whether a triggered workflow ran for a user. Knock API: GET /v1/workflow_recipient_runs.10 params

List workflow runs per recipient, filterable by workflow key, status, recipient, tenant, errors and time range. Use it to check whether a triggered workflow ran for a user. Knock API: GET /v1/workflow_recipient_runs.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
ending_atstring
Runs ending at or before this ISO 8601 time.
has_errorsboolean
true = only runs with errors.
page_sizeinteger
Items per page (Knock default 50).
recipientstring
Only runs for this recipient user id.
starting_atstring
Runs starting at or after this ISO 8601 time.
statusstring
Only runs with this status.
tenantstring
Only runs for this tenant id.
workflowstring
Only runs of this workflow key.
knock_get_workflow_recipient_runGet one workflow recipient run with its events, to see each step a workflow ran for one recipient. Knock API: GET /v1/workflow_recipient_runs/{id}.1 params

Get one workflow recipient run with its events, to see each step a workflow ran for one recipient. Knock API: GET /v1/workflow_recipient_runs/{id}.

Parameters* required
id*string
The workflow recipient run id.
knock_list_tenantsList tenants (groups of users, such as customer accounts) in the current environment. Knock API: GET /v1/tenants.5 params

List tenants (groups of users, such as customer accounts) in the current environment. Knock API: GET /v1/tenants.

Parameters* required
afterstring
Cursor: next page after this value (use page_info.after from the last response).
beforestring
Cursor: previous page before this value (use page_info.before).
namestring
Only tenants with this name.
page_sizeinteger
Items per page (Knock default 50).
tenant_idstring
Only the tenant with this id.
knock_get_tenantGet one tenant by id: name and settings. Knock API: GET /v1/tenants/{id}.1 params

Get one tenant by id: name and settings. Knock API: GET /v1/tenants/{id}.

Parameters* required
id*string
The tenant id.
knock_trigger_workflowRun a Knock workflow for the given recipients. This SENDS real notifications through the channels the workflow defines (email, SMS, push, in-app). Set cancellation_key to cancel the run later. Knock API: POST /v1/workflows/{key}/trigger.6 params

Run a Knock workflow for the given recipients. This SENDS real notifications through the channels the workflow defines (email, SMS, push, in-app). Set cancellation_key to cancel the run later. Knock API: POST /v1/workflows/{key}/trigger.

Parameters* required
actorvalue
The user or object that caused the event.
cancellation_keystring
Key to cancel this run later with knock_cancel_workflow.
dataobject
Data passed into the workflow run (max 10 MB).
key*string
The workflow key (from the Knock dashboard).
recipients*array
Up to 1,000 recipients.
tenantstring
Tenant id, to use tenant-level overrides.
knock_cancel_workflowCancel queued runs of a workflow that match a cancellation_key set when the run was triggered. Runs already sent cannot be recalled. Knock API: POST /v1/workflows/{key}/cancel.3 params

Cancel queued runs of a workflow that match a cancellation_key set when the run was triggered. Runs already sent cannot be recalled. Knock API: POST /v1/workflows/{key}/cancel.

Parameters* required
cancellation_key*string
The cancellation key used when the run was triggered.
key*string
The workflow key.
recipientsarray
Only cancel for these recipients (default: all recipients of the key).

Readme

usefulapi

Hosted MCP servers for the tools you already use — connect from Claude, Cursor, or any MCP client. No local install, no key-juggling: authorize once and go.

Portal: https://usefulapi.io

Servers


View the full README on GitHub

Details

Repository
github.com/m190/usefulapi-mcp
Website
usefulapi.io/knock
Categories
Email & Messaging, Workflow Automation
Transport
HTTP
Registry
MCP registry, active
Prompts
6
Tools verified
Nov 25, 2026

More from m190

All 30

Similar to Knock MCP by usefulapi

More Email & Messaging