> ## Documentation index
> Fetch the complete documentation index at: https://novu.docs7.io/llms.txt
> Ask it with GET https://novu.docs7.io/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# Novu MCP Server

> Connect Cursor, Claude, ChatGPT, Grok, and other AI tools to the Novu MCP server to manage notifications, workflows, subscribers, agents, and conversations using natural language.

The Novu MCP Server exposes Novu's notification and agent infrastructure as tools that AI assistants can discover and use in real time. Connect your AI tool to manage subscribers, workflows, integrations, agents, conversations, and delivery activity from natural-language prompts.

<Note>
  Novu also hosts a separate **documentation MCP server** at [docs.novu.co/mcp](https://docs.novu.co/mcp) that lets AI tools search and read this documentation site. The Novu MCP Server described on this page manages your Novu account - triggers, workflows, subscribers, agents, and more.
</Note>

## About the Novu MCP server

The [Model Context Protocol (MCP)](https://modelcontextprotocol.io) is an open standard for connecting AI applications to external services. Once connected, you can prompt your AI assistant to:

- Trigger workflows for specific subscribers
- Search and inspect subscriber data
- Update subscriber notification preferences
- Debug failed notifications and delivery issues
- Analyze notification activity and logs
- Create and manage workflows
- Create and update [agents](/agents/managed-agent/overview), then connect a channel
- List [agent conversations](/agents/conversations) and inspect activity timelines

Some AI tools support both MCP and [Agent Skills](/platform/build-with-ai/skills). MCP gives your assistant live access to your Novu account, while skills instruct agents how to use Novu APIs and SDKs effectively. They're complementary - connect the MCP server for account operations and install skills for implementation guidance.

## Prerequisites

- A Novu Cloud account
- OAuth access, or a [Novu Cloud API key](https://dashboard.novu.co/settings/api-keys)
- An MCP-compatible AI tool - Cursor, Claude Code, ChatGPT, Claude Desktop, Grok, VS Code, Codex, Copilot CLI, Devin Desktop, Antigravity, or similar

## Endpoints

Novu Cloud has one MCP endpoint per region:

| Region | MCP URL |
| --- | --- |
| US | `https://mcp.novu.co/` |
| EU | `https://eu.mcp.novu.co/` |

Use the URL that matches your dashboard region - `eu.dashboard.novu.co` pairs with the EU endpoint, everything else uses US.

## Connect your AI tool

Connecting with **OAuth** is recommended - you don't copy or paste a key; your client signs you in and picks up your organization automatically. If your client doesn't support OAuth, use a [Novu Cloud API key](#api-key-fallback) instead.

<Tabs>
  <Tab title="Cursor">

Add the server to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):

```json
{
  "mcpServers": {
    "novu": {
      "url": "https://mcp.novu.co/"
    }
  }
}
```

Save the file, then open the MCP server list in Cursor's settings and select **Connect** (or **Needs login**) next to `novu` to sign in to Novu.

  </Tab>

  <Tab title="VS Code">

Run **MCP: Add Server** from the Command Palette, choose **HTTP**, and enter the MCP URL for your region. Or add it to `.vscode/mcp.json` yourself (run **MCP: Open User Configuration** to add it for every workspace):

```json
{
  "servers": {
    "novu": {
      "type": "http",
      "url": "https://mcp.novu.co/"
    }
  }
}
```

Start the server and approve the sign-in prompt when it appears. VS Code opens a browser window to sign in to Novu.

  </Tab>

  <Tab title="Claude Code">

Add the server, then sign in:

```bash
claude mcp add --transport http novu https://mcp.novu.co/
```

```bash
claude mcp login novu
```

`claude mcp login` opens your browser to sign in to Novu. On a remote or headless machine, add `--no-browser` and paste the redirect URL back when prompted. You can also run `/mcp` inside Claude Code and choose `novu` to sign in.

Add `--scope user` to the `add` command to make the server available in all your projects.

  </Tab>

  <Tab title="ChatGPT">

1. In ChatGPT on the web, open **Settings** → **Apps** → **Advanced settings** and turn on **Developer mode**. On Business, Enterprise, and Edu workspaces, an admin may need to allow it first.
2. Select **Create app**, give it a name, and enter the MCP URL for your region.
3. Choose **OAuth** as the authentication method, create the app, and sign in to Novu when prompted.

  </Tab>

  <Tab title="Claude Desktop">

Add Novu as a custom connector. It works the same way in Claude Desktop and on claude.ai:

1. Open **Customize** → **Connectors**, select **+ Add**, then **Add custom connector**.
2. Name it `Novu`, enter the MCP URL for your region, and select **Continue**.
3. Leave authentication on OAuth, select **Add**, and sign in to Novu.
4. In a chat, open the **+** menu → **Connectors** and turn Novu on.

On Team and Enterprise plans, an Owner adds the connector under **Organization settings** → **Connectors**, and members then select **Connect** on it.

  </Tab>

  <Tab title="Grok">

**On grok.com:**

1. Go to [grok.com/connectors](https://grok.com/connectors), select **New Connector**, then **Custom**.
2. Enter the MCP URL for your region and sign in to Novu when prompted.

On Grok Business and Enterprise, a team admin adds the connector first. Team members then connect their own Novu account.

**In Grok Bot:**

1. Open **Connect apps** from the sidebar and choose **Add a custom connector**.
2. Name it `Novu`, set **Type** to **Remote HTTPS**, enter the MCP URL for your region, and select **Add plugin**.
3. When the Bot asks you to **Authorize**, sign in to Novu in your browser. Then type `@` in a chat and pick Novu to use it.

  </Tab>

  <Tab title="Codex">

Add the server, then sign in:

```bash
codex mcp add novu --url https://mcp.novu.co/
```

```bash
codex mcp login novu
```

This writes the server to `~/.codex/config.toml`. Run `codex mcp list` or `/mcp` in the TUI to confirm it's connected. In the Codex desktop app or IDE extension, open **Settings** → **MCP servers** and select **Authenticate** instead.

To use an API key instead of OAuth, set it in an environment variable and point `bearer_token_env_var` at it in `~/.codex/config.toml`:

```toml
[mcp_servers.novu]
url = "https://mcp.novu.co/"
bearer_token_env_var = "NOVU_API_KEY"
```

  </Tab>

  <Tab title="Copilot CLI">

Add the server from your terminal:

```bash
copilot mcp add --transport http novu https://mcp.novu.co/
```

Or run `/mcp add` inside a Copilot CLI session, fill in the name and URL, and press **Ctrl+S** to save. The server is saved to `~/.copilot/mcp-config.json`.

Copilot CLI opens your browser to sign in to Novu the first time it connects. To sign in again later, run `/mcp auth novu`.

  </Tab>

  <Tab title="Devin Desktop">

Devin Desktop was formerly Windsurf. Add the server, then sign in:

```bash
devin mcp add novu --url https://mcp.novu.co/
```

```bash
devin mcp login novu
```

To add it by hand instead, put this in `~/.config/devin/mcp_config.json` (all projects) or `.devin/mcp_config.json` (one project):

```json
{
  "mcpServers": {
    "novu": {
      "url": "https://mcp.novu.co/",
      "transport": "http"
    }
  }
}
```

If the server later shows **Needs authentication**, open **Customize** → **MCPs** and select **Authenticate**.

  </Tab>

  <Tab title="Antigravity">

Add the server to `~/.gemini/config/mcp_config.json`, which the Antigravity app, IDE, and CLI all read. For a single workspace, use `.agents/mcp_config.json` instead. In the IDE, you can open this file from **…** → **MCP Servers** → **Manage MCP Servers** → **View raw config**.

```json
{
  "mcpServers": {
    "novu": {
      "serverUrl": "https://mcp.novu.co/"
    }
  }
}
```

To sign in, open **Customizations** → **Installed** → **MCP Servers** in the Antigravity app and select **Authenticate** next to `novu`. Sign in to Novu in your browser, paste the authorization code back into Antigravity, and select **Submit**.

<Note>
  Gemini CLI was replaced by Antigravity CLI on June 18, 2026, for unpaid and Google One users. If you still use Gemini CLI, run `gemini mcp add --transport http novu https://mcp.novu.co/`, then `/mcp auth novu` to sign in.
</Note>

  </Tab>

  <Tab title="Other">

Any MCP client that supports remote OAuth can connect with just the URL and no header:

| Setting | Value |
| --- | --- |
| **URL** | `https://mcp.novu.co/` (US) or `https://eu.mcp.novu.co/` (EU) |
| **Transport** | Streamable HTTP |
| **Authentication** | OAuth (no header), or a [Novu Cloud API key](#api-key-fallback) if your client doesn't support OAuth |

  </Tab>
</Tabs>

### API key (fallback)

Use a Novu Cloud API key for clients without OAuth support, `mcp-remote` / stdio setups, and autonomous agents. Copy your secret key from the [Novu Dashboard](https://dashboard.novu.co/settings/api-keys) and send it as a bearer token:

```json
{
  "mcpServers": {
    "novu": {
      "url": "https://mcp.novu.co/",
      "headers": {
        "Authorization": "Bearer your-novu-api-key"
      }
    }
  }
}
```

Presenting an API key skips the OAuth sign-in entirely. A key is bound to a single environment, so connect to the endpoint matching its region and there's nothing else to configure.

<Warning>
  The hosted Novu MCP endpoints connect to Novu Cloud only. They do not proxy requests to a self-hosted Novu API,
  even when you provide an API key from that instance. Novu does not currently publish a self-hosted account MCP
  server. Self-hosted users can still connect the separate read-only
  [Novu documentation MCP server](https://docs.novu.co/mcp).
</Warning>

## Environments

OAuth sessions are scoped to your organization and default to the **Development** environment. To act on a different environment (for example, Production), call `get_environments` and pass the environment's `_id` as the optional `environmentId` parameter on any tool except `whoami`, `get_step_schema` and `submit_feedback`.

API keys are already bound to one environment, so `environmentId` has no effect on API key sessions.

<Prompt description="Switch an OAuth session to a specific environment" icon="bot" actions={["copy", "cursor"]}>
List my Novu environments, then show notifications from Production (not Development).
</Prompt>

## Example prompts

After connecting the Novu MCP server, copy or open these prompts in Cursor to verify the connection and perform common tasks.

<Note>
  Replace placeholder values (for example, subscriber IDs and workflow identifiers) with values from your Novu dashboard.
</Note>

### Verify connection

<Prompt description="Test your Novu MCP connection" icon="bot" actions={["copy", "cursor"]}>
Run `whoami` to verify I'm authenticated and show my Novu region.
</Prompt>

<Prompt description="List your notification workflows" icon="bot" actions={["copy", "cursor"]}>
Show me all my notification workflows in Novu.
</Prompt>

### Subscriber management

<Prompt description="Find a subscriber by email" icon="bot" actions={["copy", "cursor"]}>
Find subscriber user@example.com in my Novu account and show their profile details.
</Prompt>

<Prompt description="Create a new subscriber" icon="bot" actions={["copy", "cursor"]}>
Create a new subscriber with subscriberId user-456, email jane@example.com, and firstName Jane in my Novu account.
</Prompt>

### Trigger and debug

<Prompt description="Trigger a workflow for a subscriber" icon="bot" actions={["copy", "cursor"]}>
Trigger my welcome-email workflow for subscriber test-user-123 with payload containing userName "Jane" and activationLink "https://app.example.com/activate".
</Prompt>

<Prompt description="Debug failed notifications" icon="bot" actions={["copy", "cursor"]}>
Show recent failed notifications in the last 24 hours and help me debug delivery issues.
</Prompt>

### Agents and conversations

<Prompt description="Create a managed agent and connect a channel" icon="bot" actions={["copy", "cursor"]}>
Create a managed Novu agent named Support Bot with a system prompt that answers product questions briefly. After it is created, connect Slack to that agent.
</Prompt>

<Prompt description="Debug an agent conversation" icon="bot" actions={["copy", "cursor"]}>
List my Novu agents, then show recent conversations for the support-bot agent and inspect the activity timeline of the latest thread.
</Prompt>

## MCP tools

Your AI assistant discovers these tools automatically when it connects, and calls the right one based on your prompt.

| Category | Tool | Description |
| --- | --- | --- |
| Auth | `whoami` | Verify the current credential and show your identity and region |
| Environments | `get_environments` | List environments - use an `_id` as the `environmentId` parameter on other tools |
| Subscribers | `create_subscriber` | Create a subscriber with name, email, phone, and custom data |
| Subscribers | `get_subscriber` | Retrieve a subscriber by `subscriberId` |
| Subscribers | `update_subscriber` | Update a subscriber's attributes |
| Subscribers | `delete_subscriber` | Delete a subscriber |
| Subscribers | `find_subscribers` | Search subscribers by email, name, phone, or ID |
| Preferences | `get_subscriber_preferences` | Get a subscriber's channel preferences |
| Preferences | `update_subscriber_preferences` | Update a subscriber's channel preferences |
| Workflows | `create_workflow` | Create a workflow, including its steps |
| Workflows | `get_workflow` | Get a workflow's full definition |
| Workflows | `get_workflows` | List all workflows |
| Workflows | `update_workflow` | Replace a workflow's full definition |
| Workflows | `get_step_schema` | Get the full schema and a valid example for one step type |
| Workflows | `add_workflow_step` | Append a step to a workflow |
| Workflows | `insert_workflow_step` | Insert a step after another step |
| Workflows | `update_workflow_step_content` | Replace one step's content (control values) |
| Workflows | `update_workflow_step_conditions` | Set or clear one step's skip condition |
| Workflows | `remove_workflow_step` | Remove a step from a workflow |
| Workflows | `move_workflow_step` | Move a step to a new position |
| Workflows | `update_workflow_payload_schema` | Add or remove workflow payload schema properties |
| Workflows | `update_workflow_metadata` | Update a workflow's name, description, tags, severity, or criticality |
| Workflows | `delete_workflow` | Delete a workflow |
| Workflows | `trigger_workflow` | Trigger a workflow for a subscriber |
| Workflows | `bulk_trigger_workflow` | Trigger multiple workflows in one call |
| Workflows | `cancel_triggered_event` | Cancel a pending triggered event |
| Agents | `create_agent` | Create an agent |
| Agents | `get_agents` | List agents with cursor pagination |
| Agents | `get_agent` | Retrieve a single agent by identifier (slug) |
| Agents | `update_agent` | Update an agent's name, status, bridge URL, or behavior |
| Agents | `connect_agent` | Connect a channel to an existing agent |
| Conversations | `get_conversations` | List agent conversations with optional filters |
| Conversations | `get_conversation_activities` | Inspect a conversation timeline |
| Notifications | `get_notification` | Get a notification with execution logs |
| Notifications | `get_notifications` | Fetch notifications with filtering |
| Integrations | `get_integrations` | List channel integrations |
| Integrations | `get_active_integrations` | List active integrations |
| Integrations | `delete_integration` | Delete an integration |
| Integrations | `set_primary_integration` | Set an integration as primary for its channel |
| Feedback | `submit_feedback` | Report a missing, broken, or confusing tool to the Novu team. Your assistant may send a report without asking you first; it describes the task and what went wrong, and recognized credentials are removed before it is stored |

<Note>
  Every tool except `whoami`, `get_step_schema` and `submit_feedback` accepts an optional `environmentId` parameter - see [Environments](#environments). Use `update_workflow` to replace a workflow's full definition, or the `*_workflow_step`, `update_workflow_payload_schema`, and `update_workflow_metadata` tools to make focused edits without resending the whole workflow. Agent tools use the agent's identifier (slug), not the Mongo `_id`. Conversation tools on this MCP server require Novu Cloud. Self-hosted Enterprise can still use Conversations in the dashboard and API, but not through `mcp.novu.co`.
</Note>

## Use multiple MCP servers

You can connect both the Novu MCP server and the [Novu documentation MCP server](https://docs.novu.co/mcp) at the same time. Each serves a different purpose:

| Server | URL | Purpose |
| --- | --- | --- |
| Novu MCP | `https://mcp.novu.co/` (US) / `https://eu.mcp.novu.co/` (EU) | Manage your Novu account - workflows, subscribers, agents, conversations, triggers |
| Novu Docs MCP | `https://docs.novu.co/mcp` | Search and read Novu documentation |

Connected MCP servers don't consume context until the AI calls a tool. Be specific in your prompts so the assistant uses the most relevant server - for example, "trigger my welcome workflow" uses the Novu MCP, while "how do I configure digest steps?" uses the Docs MCP.

## Troubleshooting

<AccordionGroup>
  <Accordion title="OAuth sign-in loop or never connects">
    Confirm the URL matches your region, and that you haven't also set an `Authorization` header - presenting a credential skips OAuth entirely. Restart your AI assistant after changing the config.
  </Accordion>

  <Accordion title="Wrong environment data">
    OAuth sessions default to Development. Call `get_environments` and pass the `_id` you want as `environmentId`.
  </Accordion>

  <Accordion title="401 after previously working">
    Your OAuth token expired or was revoked - reconnect through your client to sign in again.
  </Accordion>

  <Accordion title="Empty results or authentication errors">
    Double-check you're on the endpoint for your region (`eu.dashboard.novu.co` → `https://eu.mcp.novu.co/`), and that any API key is sent as `Authorization: Bearer your-api-key` with no extra spaces.
  </Accordion>

  <Accordion title="Conversations return 404">
    `get_conversations` and `get_conversation_activities` on this MCP server require Novu Cloud with Conversations
    enabled. They are not available through MCP on self-hosted deployments. Confirm you passed an agent
    **identifier** (slug) as `agentId`, not a Mongo `_id`.
  </Accordion>

  <Accordion title="Self-hosted Novu">
    The account-management MCP server is not currently available for self-hosted Novu. `https://mcp.novu.co/` and
    `https://eu.mcp.novu.co/` connect to Novu Cloud and do not accept a self-hosted API URL. Use the
    [Agent Toolkit](/platform/build-with-ai/agent-toolkit) with `backendUrl` set to your API, or call the REST API
    directly. You can still use the [Novu documentation MCP server](https://docs.novu.co/mcp) to search these docs.
  </Accordion>

  <Accordion title="Still not connecting">
    Restart your AI assistant after config changes. For Claude Code, run `claude mcp list`, then `claude mcp login novu` if it shows the server needs authentication. For Codex, run `codex mcp list` or `/mcp` in the TUI, then `codex mcp login novu` if needed. For Claude Desktop, check that the Novu connector is turned on for the chat.
  </Accordion>
</AccordionGroup>

## Security

- Prefer OAuth over long-lived API keys for interactive clients - OAuth tokens are short-lived and revocable.
- The server never puts credentials in URLs, and holds no ambient credentials between sessions.
- Rotate an API key from the Dashboard immediately if you suspect it's been exposed.
- Use caution when combining the Novu MCP server with other MCP servers or untrusted data in the same session, and review tool calls before approving actions that modify your data.

## Related topics

<Columns cols={2}>
  <Card title="Agent Skills" href="/platform/build-with-ai/skills">
    Give AI coding assistants implementation guidance for Novu SDKs and workflows.
  </Card>
  <Card title="Agent Toolkit" href="/platform/build-with-ai/agent-toolkit">
    Embed Novu tools inside your own AI agents with the `@novu/agent-toolkit` package.
  </Card>
  <Card title="Managed agents" href="/agents/managed-agent/overview">
    How managed agents, connectors, and channel connect work in Novu.
  </Card>
  <Card title="Agent conversations" href="/agents/conversations">
    How conversation lifecycle and activity look in the dashboard.
  </Card>
  <Card title="Novu Docs MCP" href="https://docs.novu.co/mcp">
    Connect AI tools to search and read this documentation site.
  </Card>
  <Card title="API keys" href="/platform/developer/api-keys">
    Learn how to create and manage the secret keys used for API key authentication.
  </Card>
</Columns>
