communication
Knock MCP, CLI, and Lua Integration for AI Agents
Knock integration docs for AI agents: MCP gateway setup, Knock CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write API key auth
Knock for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
knock- route_slug
knock- package
knock- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Knock CLIHeadless setup and direct function calls. Knock MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Knock MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Knock.
Claude Code Knock MCP setup for Claude Code. Cursor Knock MCP setup for Cursor. Codex Knock MCP setup for Codex. OpenAI Agents Knock MCP setup for OpenAI Agents SDK. Claude Agent SDK Knock MCP setup for Claude Agent SDK. Vercel AI SDK Knock MCP setup for Vercel AI SDK. LangChain Knock MCP setup for LangChain. LangGraph Knock MCP setup for LangGraph. CrewAI Knock MCP setup for CrewAI. MCP clients Knock MCP setup for Generic MCP Clients.
Knock CLI Matrix
Use these pages for direct Knock CLI workflows in scripts, CI, cron, and agent wrappers.
CI Knock CLI for CI. Cron Jobs Knock CLI for cron jobs. Shell Scripts Knock CLI for shell scripts. Headless Automation Knock CLI for headless automation. Coding Agents Knock CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
knock.knock_list_workflows | Read read | 2 | List notification workflows from Knock. Returns workflow IDs and details you can use to trigger or inspect workflows. |
knock.knock_get_workflow | Read read | 1 | Get details of a specific notification workflow in Knock, including its steps and configuration. |
knock.knock_trigger_workflow | Write write | 4 | Trigger a notification workflow in Knock for one or more recipients. The workflow will execute its configured steps (email, Slack, in-app, etc.) for each recipient. |
knock.knock_list_messages | Read read | 3 | List notification messages from Knock. Optionally filter by delivery status (e.g., sent, delivered, undelivered). |
knock.knock_get_message | Read read | 1 | Get details of a specific notification message in Knock, including its content, delivery status, and channel. |
knock.knock_list_recipients | Read read | 2 | List notification recipients from Knock. Returns recipient identifiers and their preferences. |
knock.knock_get_current_user | Read read | 0 | Get the currently authenticated Knock user. Useful for verifying API credentials and inspecting account details. |