Docs
/
/
Platform
Knock AI
Knock MCP server

Knock MCP server

Use the Knock MCP server to make Knock accessible to LLMs and AI agents via tool calling.

Knock ships a remote MCP server at mcp.knock.app/mcp that exposes the primitives of Knock to LLMs and AI via the Model Context Protocol (MCP) so that your AI agents can discover and use Knock via tool calling. Reach for the MCP server when you need Knock tools available inside Claude Desktop, ChatGPT, or any MCP-compatible client, or when you're building a product that needs Knock primitives behind an LLM.

Here are some examples of how you can use the MCP server in your workflow:

  • Create workflows using natural language. "Create a welcome email workflow for my B2B SaaS app."
  • Trigger a specific workflow to test your integration. "Trigger the comment-created workflow for Dennis Nedry."
  • Create a set of test user and tenant data in your account. "Create a user called Dennis Nedry and a tenant called acme-corp."

Get started

#

The Knock MCP server is a remote server—no local installation or Node.js setup is required. You connect to https://mcp.knock.app/mcp directly from your MCP client and authenticate using your Knock account via OAuth. This means your Knock credentials are managed securely through the standard sign-in flow rather than requiring a service token.

We've added setup instructions below for Cursor, Claude Desktop, and Claude Code, but the same instructions apply to any other MCP client-compatible application.

Cursor

#
  1. Go to Settings > Cursor Settings and find the "Tools & Integrations" section.
  2. Click "New MCP server" under MCP Tools.
  3. Inside your mcp.json file under the mcpServers key, add the following:
  1. When Cursor prompts you to authenticate, sign in with your Knock account.

Claude Desktop

#

Note: This setup uses mcp-remote as a local proxy, which requires Node.js 18 or higher.

  1. Open the Claude Desktop settings and find the "Developer" section.
  2. Click "Edit Config."
  3. Open your claude_desktop_config.json file in your preferred text editor.
  4. Add the following contents to the file (or add to the mcpServers section if it exists):
  1. Restart Claude Desktop. When you first use a Knock tool, you'll be prompted to sign in with your Knock account.

Claude Code

#
  1. Run the following command to add the Knock MCP server:
  1. Start Claude Code and run /mcp to authenticate with your Knock account.

Tool groups

#

When connecting to the Knock MCP server, you can choose exactly which groups of tools to enable. The MCP server exposes a curated subset of Knock capabilities — focused on managing resources and data, inspecting environments, and committing or promoting changes. Limiting the active tool groups to only what you need keeps the tool list manageable and reduces the risk of unintended changes.

GroupDescription
Manage resourcesCreate and manage notification workflows, channels, templates, email layouts, partials, and other configuration
CommitsCommit and promote changes across environments
DebugInspect environments and view sent message logs
Manage dataManage users, tenants, and object data
DocumentationSearch Knock documentation

If you need capabilities the MCP server doesn't expose — such as local file scaffolding for new resources, validating them before push, or working entirely offline against a checked-in repo — reach for the Knock CLI instead.

What tools are available?

#

The MCP server ships with tools to interact with all Knock resources. You can find the full list of available tools in the tools reference of the Knock Agent Toolkit, which the MCP server is built on top of.

Please note that at this time, the MCP server does not ship with any tools to delete resources. This is intentional to prevent the accidental deletion of resources in your Knock account.

Workflow-specific tools

#

The Knock MCP server exposes a full suite of tools for creating and managing workflows. Using the MCP server you can:

  • Create a workflow with natural language: "create a workflow that sends a welcome email to new users"
  • Create a delay or batch step within your workflow: "delay for 3 days" or "batch for 10 minutes"
  • Create an email step within your workflow: "create a credit card expiring email with a link back to the dashboard"
  • Create an SMS, push, or in-app feed step within your workflow

Using these tools you can create a complex prompt that describes one or more workflows that you'd like to create with natural language.

Workflows-as-tools

#

The Knock MCP server also supports exposing your workflows as individual tools. This gives the LLM a specific and precise interface for invoking workflow triggers, including describing the data trigger requirements for your workflows.

By default, the MCP server will not expose any workflows as tools. To opt into this behavior, contact us or refer to your MCP client's tool configuration options.

Pair with skills

#

The MCP server gives an agent the tools to operate on Knock. Skills give the agent the procedural knowledge to operate on Knock well. The two are complementary, and most teams using MCP install at least one skill alongside it.

Knock's notification-best-practices skill pairs naturally with the MCP server. It teaches an agent how to write effective notification copy across email, SMS, push, and in-app channels — guidance that applies regardless of whether the agent reaches Knock through MCP, the CLI, or the dashboard agent.

Install it with:

See the skills page for the full catalog of available skills and which surface each one complements.

#

Frequently asked questions

#

Some MCP clients will warn you about having more than 50 tools. To address this, enable only the tool groups you need for the task at hand. For example, if you're only managing user data, enable the Manage data group and leave the others disabled.

If you see an error like "The model returned an error. Try disabling MCP servers, or switch models," check which model is selected for the Cursor agent. Make sure it's explicitly set to a supported model like claude-sonnet-4 rather than relying on automatic model selection.

The remote MCP server at mcp.knock.app/mcp uses OAuth-based authentication and requires signing in with your Knock account. If you need service token-based authentication for a self-hosted or CI environment, please contact us.

New chat