# Connecting AI assistants

URL: https://notifly.io/docs/connecting-ai-assistants

> Notifly ships a remote MCP server at api.notifly.io/mcp with OAuth 2.1 sign-in and every Notifly feature as a tool, served through Code Mode and scoped to your account's permissions. Works with…

Notifly runs a remote MCP (Model Context Protocol) server so Claude and other AI clients can operate your Notifly account directly — list workflows, look up subscribers, read notification history, and trigger workflows.

* **Endpoint:** `https://api.notifly.io/mcp` (Streamable HTTP transport)
* **Auth:** OAuth 2.1, built into the platform — clients sign in with a standard OAuth flow (including dynamic client registration), so there is no API-key pasting.

Pick your tool below: it opens the steps for that tool, ending in its own Add screen or a prompt to paste.

<ConnectAIPill />

## Let your coding agent set it up

Copy the sentence and paste it into Claude Code, Codex, Cursor, OpenCode or any other coding agent. It fetches [notifly.io/agent-setup/prompt.md](https://notifly.io/agent-setup/prompt.md) and runs it: adds the MCP server, stores your secret key in a git-ignored `.env`, installs the SDK and verifies the connection. Step-by-step guides for Claude Code, Codex, Cursor, OpenCode, Windsurf and VS Code + GitHub Copilot are at [notifly.io/agent-setup](https://notifly.io/agent-setup).

> Fetch and execute the appropriate instructions to set me up for Notifly from [https://notifly.io/agent-setup/prompt.md](https://notifly.io/agent-setup/prompt.md)

## Connect from any MCP client

Notifly's MCP server is a hosted Streamable HTTP endpoint with OAuth 2.1 sign-in. There is nothing to install or run: point the client at the URL below and sign in to Notifly when the browser opens. Every client that supports remote MCP servers with OAuth works; the ones below are the common ones.

```
https://api.notifly.io/mcp
```

On first use, the client walks through OAuth sign-in and a consent screen; the scopes it is granted are drawn from — and can never exceed — your own live role permissions in Notifly.

### Claude (claude.ai, Claude Desktop, Claude Code)

* **claude.ai and Claude Desktop:** open [Notifly in Claude's connector directory](https://claude.ai/directory/notifly), click *Connect*, then sign in. The connector syncs to Claude Desktop and mobile.
* **Claude Code:** `claude mcp add --transport http Notifly https://api.notifly.io/mcp` then `/mcp` to sign in.

*Installed before the rename?* Your client keeps the old lowercase `notifly` name, so `codex mcp login`, `/mcp auth` and any `mcp__notifly__*` permission rules keep using `notifly` until you remove the server and add it again as `Notifly`. Both names work.

### ChatGPT and Codex

* **ChatGPT:** Settings → Apps & Connectors → *Create* (developer mode), name it Notifly, paste the URL, authentication *OAuth*. If Notifly is in the ChatGPT plugins directory, enable it from there.
* **Codex CLI:** add to `~/.codex/config.toml`:

```toml
[mcp_servers.Notifly]
url = "https://api.notifly.io/mcp"
```

### Cursor

One click: [Add to Cursor](https://cursor.com/install-mcp?name=Notifly\&config=eyJ1cmwiOiJodHRwczovL2FwaS5ub3RpZmx5LmlvL21jcCJ9). Or in `.cursor/mcp.json`:

```json
{ "mcpServers": { "Notifly": { "url": "https://api.notifly.io/mcp" } } }
```

### VS Code and GitHub Copilot

One click: [Add to VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=Notifly\&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.notifly.io%2Fmcp%22%7D). Or run *MCP: Add Server* → *HTTP* and paste the URL, which writes to `.vscode/mcp.json`:

```json
{ "servers": { "Notifly": { "type": "http", "url": "https://api.notifly.io/mcp" } } }
```

GitHub Copilot CLI can install Notifly as a plugin instead: `copilot plugin install DevinoSolutions/mcp-servers:copilot-plugins/notifly`.

### Google Antigravity

Install the plugin from the repository (or from the Antigravity Marketplace once listed):

```bash
agy plugin install https://github.com/DevinoSolutions/mcp-servers/antigravity-plugins/notifly
```

Or add the server by hand in `~/.gemini/config/mcp_config.json` (Antigravity requires the `serverUrl` key):

```json
{ "mcpServers": { "Notifly": { "serverUrl": "https://api.notifly.io/mcp" } } }
```

### Gemini

* **Gemini app:** Settings → Connected apps → *Custom apps* → *Add a custom app*, paste the URL, then mention `@Notifly` in a chat. (Custom apps are currently limited to personal Google accounts in the US.)
* **Gemini CLI:** `gemini extensions install https://github.com/DevinoSolutions/mcp-servers` then `/mcp auth Notifly`, or add `{ "mcpServers": { "Notifly": { "httpUrl": "https://api.notifly.io/mcp" } } }` to `~/.gemini/settings.json`.

### Kiro

One click: [Add to Kiro](https://kiro.dev/launch/mcp/add?name=Notifly\&config=%7B%22url%22%3A%22https%3A%2F%2Fapi.notifly.io%2Fmcp%22%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%7D). Or in `.kiro/settings/mcp.json`:

```json
{ "mcpServers": { "Notifly": { "url": "https://api.notifly.io/mcp" } } }
```

### Perplexity, Mistral Le Chat, Grok

* **Perplexity** (Pro, Max, Enterprise): Settings → Connectors → *Custom connector*, paste the URL, authentication *OAuth*.
* **Mistral Le Chat** (all plans): Intelligence → Connectors → *Add Connector* → *Custom MCP Connector*, paste the URL.
* **Grok:** grok.com → Connectors → *New connector* → *Custom*, paste the URL.

### Other clients

* **Replit:** [Add to Replit](https://replit.com/integrations?mcp=eyJkaXNwbGF5TmFtZSI6Ik5vdGlmbHkiLCJiYXNlVXJsIjoiaHR0cHM6Ly9hcGkubm90aWZseS5pby9tY3AifQ%3D%3D), or Integrations → *Add MCP server*.
* **Devin, Windsurf, Zed, JetBrains Junie, Cline, OpenCode:** add a remote (HTTP) MCP server with the URL above; each prompts for the OAuth sign-in on first use. Cline can also install it from the [Cline marketplace entry](https://github.com/DevinoSolutions/mcp-servers/tree/main/notifly) using its `llms-install.md`.

Tokens are scoped to what you approve on the consent screen; a tool you did not grant is never shown to the assistant. Revoke access at any time under **Settings → Connected AI apps** — see [Revoking access](#revoking-access).

## Tools

The server exposes two MCP tools, `search_tools` and `execute_typescript` (Code Mode). `search_tools` lists the operations your connection can reach as typed functions. `execute_typescript` runs a short program that calls them, so a client can run several operations in one round trip. Each call goes through the same checks as a direct tool call.

Every Notifly feature is a tool, grouped here by family. Tools marked "asks to confirm" need one confirmation before they run. Use `search_tools` with a query to find the one you need.

{/* mcp-tools:start */}

**core**

| Tool                 | What it does                                                                                                                                                          |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `get_subscriber`     | Fetch one subscriber (profile, channels, data attributes) by their unique external subscriberId.                                                                      |
| `get_workflow`       | Fetch one notification workflow (steps, channels, status) by its identifier or slug.                                                                                  |
| `list_notifications` | List recent notification events (the activity feed of triggered sends: workflow, subscriber, channels, delivery status) for the connected Notifly environment.        |
| `list_organizations` | List the Notifly organizations this connection can act in, with your role and the environment it acts in for each.                                                    |
| `list_subscribers`   | Search subscribers of the connected Notifly environment by email, phone, subscriberId or name (cursor-paginated).                                                     |
| `list_topics`        | List topics (named subscriber groups used for fan-out sends) in the connected Notifly environment, filterable by key or name, cursor-paginated.                       |
| `list_workflows`     | List notification workflows in the connected Notifly environment, with optional free-text search and offset/limit pagination.                                         |
| `trigger_workflow`   | Trigger a notification workflow — this SENDS A REAL NOTIFICATION TO REAL RECIPIENTS (email/SMS/push/in-app, per the workflow) and cannot be undone. (asks to confirm) |

**account**

| Tool                        | What it does                                                                                                                                                            |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `change_email`              | Change the login email. (asks to confirm)                                                                                                                               |
| `change_password`           | Change the account password. (asks to confirm)                                                                                                                          |
| `delete_account`            | Delete the signed-in user's account. (asks to confirm)                                                                                                                  |
| `disconnect_sign_in_method` | Remove Google, GitHub or Apple as a way to sign in to the user's account, and return the methods that remain. (asks to confirm)                                         |
| `export_data`               | Export the organization's data (subscribers, workflows, preferences across environments).                                                                               |
| `get_profile`               | Show the signed-in user's profile (name, email, avatar, onboarding state).                                                                                              |
| `get_referral_summary`      | Show the user's referral programme summary (link, referrals, earnings).                                                                                                 |
| `list_sign_in_methods`      | List every way into the user's Notifly account: whether it has a password, and which of Google, GitHub and Apple are connected (with the provider username when known). |
| `set_onboarding_state`      | Show or hide the dashboard onboarding checklist and tour for this user.                                                                                                 |
| `update_notification_prefs` | Turn Notifly's in-product tips and prompts on or off for this user.                                                                                                     |
| `update_profile`            | Change the user's first name, last name or profile picture (an image URL).                                                                                              |
| `update_referral_ui_state`  | Update the referral programme UI preferences (for example dismissed banners).                                                                                           |

**agents**

| Tool                               | What it does                                                                                                                           |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `add_agent_integration`            | Attach an integration to an agent (data = \{integrationIdentifier}).                                                                   |
| `cancel_human_interaction`         | Cancel a pending human interaction so nobody is asked and no answer is awaited.                                                        |
| `configure_agent_photon_webhook`   | Register the Photon webhook for the agent.                                                                                             |
| `configure_agent_sendblue_webhook` | Register the Sendblue webhook for the agent.                                                                                           |
| `configure_agent_whatsapp_webhook` | Register the WhatsApp webhook for the agent automatically.                                                                             |
| `create_agent`                     | Create an agent (data = \{name, identifier?                                                                                            |
| `create_agent_skill`               | Create a custom skill (data = \{name, description, content}).                                                                          |
| `create_human_interaction`         | Ask a person something and wait for the answer (data = \{contact, prompt, options?                                                     |
| `create_slack_setup_link`          | Get the link that finishes Slack setup for an agent; open it with the user.                                                            |
| `delete_agent`                     | Delete an agent with its conversations and channels. (asks to confirm)                                                                 |
| `disable_agent_mcp_server`         | Disable an MCP server for an agent. (asks to confirm)                                                                                  |
| `enable_agent_mcp_server`          | Enable an MCP server for an agent (data = \{mcpId}).                                                                                   |
| `ensure_agent_provider_vault`      | Create the provider-managed credential vault for an MCP server.                                                                        |
| `generate_agent`                   | Have Notifly draft an agent from a description (data = \{prompt}).                                                                     |
| `generate_agent_mcp_oauth_url`     | Get the OAuth link that connects an agent to an MCP server; open it with the user.                                                     |
| `get_agent`                        | Show one agent with its runtime, attached channels and settings, by identifier.                                                        |
| `get_agent_conversation_usage`     | Conversation usage across agents for the billing period.                                                                               |
| `get_agent_demo_quota`             | Remaining demo messages for an agent that runs on the demo runtime.                                                                    |
| `get_agent_mcp_connection`         | Connection status of an agent's MCP server.                                                                                            |
| `get_agent_runtime_config`         | The agent's runtime config (model, instructions, skills).                                                                              |
| `get_agent_usage`                  | Usage of one agent (conversations and messages) for the current billing period.                                                        |
| `get_human_interaction`            | One human interaction with its prompt, status and the answer once given.                                                               |
| `list_agent_emoji`                 | Emoji available for agent avatars, to pick one when creating or updating an agent.                                                     |
| `list_agent_integrations`          | Channels (integrations) attached to an agent.                                                                                          |
| `list_agent_mcp_servers`           | MCP servers currently enabled for an agent, with their connection state.                                                               |
| `list_agents`                      | List the agents of this environment with their runtime and channel summary, paged.                                                     |
| `list_human_contacts`              | People the human-in-the-loop channel can reach.                                                                                        |
| `list_human_interactions`          | Human-in-the-loop interactions (questions sent to people), newest first, filterable by status.                                         |
| `migrate_agent_runtime`            | Move an agent to a different runtime (data = \{runtime}). (asks to confirm)                                                            |
| `register_agent_photon_recipient`  | Register a phone number as a recipient on the Photon shared iMessage line (data = \{phoneNumber with country code, email (optional)}). |
| `remove_agent_integration`         | Detach an integration from an agent. (asks to confirm)                                                                                 |
| `remove_agent_photon_webhooks`     | Remove the Photon webhooks for the agent (data = \{webhookUrls}). (asks to confirm)                                                    |
| `remove_agent_sendblue_webhooks`   | Remove the Sendblue webhooks for the agent (data = \{webhookUrls}). (asks to confirm)                                                  |
| `send_agent_welcome_message`       | Send the agent's welcome message (data = \{to, integrationIdentifier}).                                                                |
| `set_agent_inbox_shared`           | Share or unshare the agent's inbox (data = \{shared: boolean}).                                                                        |
| `set_agent_mcp_servers`            | Replace the agent's whole MCP server list (data = \{servers: \[.                                                                       |
| `setup_human_channel`              | Set up the human-in-the-loop channel (data = \{channel, .                                                                              |
| `test_agent_email`                 | Send a test email through the agent (data = \{to}).                                                                                    |
| `test_agent_photon_message`        | Send a Photon (iMessage) test message (data = \{subscriberId}).                                                                        |
| `test_agent_sendblue_message`      | Send a Sendblue test message (data = \{to, content}).                                                                                  |
| `test_agent_whatsapp_template`     | Send a WhatsApp template test message (data = \{to, templateName, .                                                                    |
| `update_agent`                     | Change an agent's name, description or settings.                                                                                       |
| `update_agent_bridge`              | Set the agent's bridge URL (data = \{bridgeUrl}).                                                                                      |
| `update_agent_integration`         | Change an attached integration's settings.                                                                                             |
| `update_agent_runtime_config`      | Change the agent's runtime config (data = the fields to change: model, instructions, skills).                                          |
| `verify_agent_credentials`         | Check managed-runtime credentials (data = \{provider, apiKey}) before saving them.                                                     |

**billing**

| Tool                  | What it does                                                                                                                                                                                                                        |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `billing_status`      | Show the organization's plan, renewal date, billing interval, event quota and trial state.                                                                                                                                          |
| `list_plans`          | List the plans (free, pro, team) with monthly and annual cost and included monthly events.                                                                                                                                          |
| `manage_subscription` | Change the subscription: cancel (turns off renewal on every active subscription; access runs to period end), resume, extend by N days, refund the last payment, or portal (returns a link to the billing portal). (asks to confirm) |
| `start_pro_trial`     | Start the free 14-day Pro trial for the organization, if it has not used one and has no paid plan.                                                                                                                                  |
| `upgrade_plan`        | Start an upgrade.                                                                                                                                                                                                                   |

**connections**

| Tool                               | What it does                                                                                                                   |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `claim_slack_marketplace_install`  | Attach a Slack Marketplace install to this organization (data = \{claimToken}).                                                |
| `configure_integration_webhook`    | Register Notifly's delivery-status webhook at the provider.                                                                    |
| `create_channel_connection`        | Register a chat workspace connection by hand (data = the connection fields).                                                   |
| `create_channel_endpoint`          | Link a subscriber to a chat user by hand (data = endpoint fields).                                                             |
| `create_integration`               | Add an integration (data = \{providerId, channel, name?                                                                        |
| `create_mobile_link`               | Get a link the user opens on their phone to finish connecting an integration (Telegram or another mobile-configured provider). |
| `create_vercel_integration`        | Connect a Vercel configuration (data = \{code, configurationId, .                                                              |
| `delete_channel_connection`        | Remove a chat workspace connection. (asks to confirm)                                                                          |
| `delete_channel_endpoint`          | Unlink a subscriber from a chat user. (asks to confirm)                                                                        |
| `disconnect`                       | Remove an integration (and its credentials) from the organization. (asks to confirm)                                           |
| `disconnect_sendly`                | Disconnect Sendly from an integration. (asks to confirm)                                                                       |
| `get_channel_connection`           | One chat workspace connection (secrets masked).                                                                                |
| `get_channel_endpoint`             | One link between a subscriber and a chat user, by its identifier.                                                              |
| `get_connect_links`                | Get a one-click link that finishes connecting a provider in the browser.                                                       |
| `get_in_app_status`                | Whether the in-app channel has been activated.                                                                                 |
| `get_msteams_deploy_url`           | Azure "Deploy to Azure" link for the Teams ARM template.                                                                       |
| `get_msteams_health`               | Health check of a Microsoft Teams integration.                                                                                 |
| `get_provider_limit`               | Free sending limit for a channel type (email, sms).                                                                            |
| `get_sendly_config`                | Whether Sendly connect is available and its OAuth settings.                                                                    |
| `get_vercel_integration`           | A Vercel configuration with the projects it is linked to, by configuration id.                                                 |
| `get_webhook_support_status`       | Whether a provider supports inbound delivery webhooks and if they are configured.                                              |
| `get_whatsapp_signup_availability` | Whether WhatsApp embedded signup is available for this organization.                                                           |
| `link_channel_endpoint`            | Link a subscriber to a connected chat workspace user (data = \{subscriberId, integrationIdentifier, .                          |
| `list_channel_connections`         | Chat workspace connections (Slack, Teams) with secrets masked.                                                                 |
| `list_channel_endpoints`           | Links between subscribers and chat users (who in Slack or Teams is which subscriber), paged.                                   |
| `list_connected_apps`              | List the AI apps (Claude, ChatGPT, Cursor and others) connected to this Notifly account with the permissions each holds.       |
| `list_connections`                 | List the organization's integrations (provider, channel, active and primary flags, connection status).                         |
| `list_sendly_domains`              | Sendly sending domains of a connected integration.                                                                             |
| `list_sendly_projects`             | Sendly projects reachable by a connected integration.                                                                          |
| `list_vercel_projects`             | Vercel projects a configuration can link.                                                                                      |
| `preview_slack_marketplace_claim`  | Preview which Slack workspace an install claim token connects.                                                                 |
| `reverify`                         | Re-run a provider's automatic configuration check (webhooks, tokens) for an integration.                                       |
| `revoke_connected_app`             | Disconnect an AI app by its clientId (from list\_connected\_apps). (asks to confirm)                                           |
| `set_primary_integration`          | Make an integration the primary one for its channel.                                                                           |
| `slack_quick_setup`                | Create the Slack app for an integration from a manifest (data = \{configurationToken}).                                        |
| `update_channel_connection`        | Change a chat workspace connection (data = the fields to change); secrets in the answer are masked.                            |
| `update_channel_endpoint`          | Change a link between a subscriber and a chat user (data = the fields to change).                                              |
| `update_integration`               | Change an integration (name, active, credentials, conditions).                                                                 |
| `update_vercel_integration`        | Change a Vercel configuration's linked projects.                                                                               |
| `validate_whatsapp_token`          | Check a WhatsApp Business access token (data = \{accessToken, phoneNumberId}).                                                 |

**content**

| Tool                               | What it does                                                                                     |
| ---------------------------------- | ------------------------------------------------------------------------------------------------ |
| `create_context`                   | Create a context (data = \{type, id, data}).                                                     |
| `create_environment_variable`      | Create a environment\_variable (data = the environment\_variable fields from the API reference). |
| `create_feed`                      | Create an in-app feed by name, to group in-app notifications in the inbox.                       |
| `create_layout`                    | Create a layout (data = the layout fields from the API reference).                               |
| `create_notification_group`        | Create a notification\_group (data = the notification\_group fields from the API reference).     |
| `create_tenant`                    | Create a tenant (data = the tenant fields from the API reference).                               |
| `create_workflow_override`         | Create a workflow\_override (data = the workflow\_override fields from the API reference).       |
| `delete_context`                   | Delete a context. (asks to confirm)                                                              |
| `delete_environment_variable`      | Delete a environment variable permanently. (asks to confirm)                                     |
| `delete_feed`                      | Delete a feed. (asks to confirm)                                                                 |
| `delete_layout`                    | Delete a layout permanently. (asks to confirm)                                                   |
| `delete_notification_group`        | Delete a notification group permanently. (asks to confirm)                                       |
| `delete_tenant`                    | Delete a tenant permanently. (asks to confirm)                                                   |
| `delete_workflow_override`         | Delete a workflow override permanently. (asks to confirm)                                        |
| `duplicate_layout`                 | Copy a layout under a new name (data = \{name}); the copy is not the default layout.             |
| `get_context`                      | Show one context (its type, id and stored data) by type and id.                                  |
| `get_environment_variable`         | Show one environment variable with all its fields, by its variableKey.                           |
| `get_environment_variable_usage`   | Workflows that reference an environment variable.                                                |
| `get_layout`                       | Show one layout with all its fields, by its layoutId.                                            |
| `get_layout_usage`                 | Workflows that use a layout, so you can see what a change to it affects.                         |
| `get_notification_group`           | Show one notification group with all its fields, by its id.                                      |
| `get_tenant`                       | Show one tenant with all its fields, by its identifier.                                          |
| `get_workflow_override`            | Show one workflow override with all its fields, by its overrideId.                               |
| `get_workflow_override_for_tenant` | The override of one workflow for one tenant.                                                     |
| `list_contexts`                    | List contexts (multi-tenant style data attached to triggers).                                    |
| `list_environment_variables`       | List the environment variables of this environment, paged.                                       |
| `list_feeds`                       | List the in-app feeds of this environment (used to group in-app notifications).                  |
| `list_layouts`                     | List the layouts of this environment, paged.                                                     |
| `list_notification_groups`         | List the notification groups of this environment, paged.                                         |
| `list_tenants`                     | List the tenants of this environment, paged.                                                     |
| `list_workflow_overrides`          | List the workflow overrides of this environment, paged.                                          |
| `preview_layout`                   | Render a layout with sample content (nothing is sent).                                           |
| `set_default_layout`               | Make a layout the environment default, used by steps that do not name a layout.                  |
| `set_workflow_override_for_tenant` | Create or change the override of one workflow for one tenant.                                    |
| `update_context`                   | Change a context's data; send only the fields that change in data.                               |
| `update_environment_variable`      | Change a environment variable (data = the fields to change, as in the API reference).            |
| `update_layout`                    | Change a layout (data = the fields to change, as in the API reference).                          |
| `update_notification_group`        | Change a notification group (data = the fields to change, as in the API reference).              |
| `update_tenant`                    | Change a tenant (data = the fields to change, as in the API reference).                          |
| `update_workflow_override`         | Change a workflow override (data = the fields to change, as in the API reference).               |

**environments**

| Tool                          | What it does                                                                                |
| ----------------------------- | ------------------------------------------------------------------------------------------- |
| `approve_cli_device`          | Approve a Notifly CLI login: the CLI receives this environment's API key. (asks to confirm) |
| `claim_connect_session`       | Finish a "connect" session started by a CLI or SDK (data = \{code}).                        |
| `create_domain`               | Add an email domain to the organization (data = \{name}); then publish its DNS records.     |
| `create_domain_route`         | Add an inbound route (data = \{address, type, destination}).                                |
| `create_environment`          | Create an environment in this organization (name, optional color), e.                       |
| `create_webhook_portal_token` | Create a short-lived token for the outbound-webhooks portal.                                |
| `delete_domain`               | Remove a domain and its routes. (asks to confirm)                                           |
| `delete_domain_route`         | Remove an inbound route. (asks to confirm)                                                  |
| `delete_environment`          | Delete a custom environment and everything in it. (asks to confirm)                         |
| `diagnose_domain`             | Explain what is wrong with a domain's DNS.                                                  |
| `diff_environment`            | Show what publish\_environment would change.                                                |
| `get_current_environment`     | The environment this connection works in.                                                   |
| `get_domain`                  | One domain with its DNS records and status.                                                 |
| `get_domain_auto_configure`   | Progress of the automatic DNS setup of a domain through a connected DNS provider.           |
| `get_domain_route`            | One inbound email route of a domain, by its address (the part before the @).                |
| `get_environment_tags`        | Tags used by workflows in an environment, for filtering and organizing them.                |
| `get_mx_status`               | Whether the inbound-parse MX record is set up.                                              |
| `list_domain_routes`          | Inbound email routes of a domain (address, type and destination of each).                   |
| `list_domains`                | Sending and receiving email domains of this organization, with their verification status.   |
| `list_environments`           | Environments of the organization (development, production, custom).                         |
| `publish_environment`         | Publish this environment's workflows to a target environment (data = \{resources?           |
| `start_domain_auto_configure` | Start automatic DNS setup through a connected DNS provider.                                 |
| `test_domain_route`           | Send a test message through an inbound route to check where it ends up.                     |
| `update_domain`               | Change a domain's settings (data = the fields to change, as in the API reference).          |
| `update_domain_route`         | Change an inbound email route's type or destination (data = the fields to change).          |
| `update_environment`          | Rename or recolor an environment, or change its bridge URL.                                 |
| `verify_domain`               | Re-check a domain's DNS records right now and update its verification status.               |

**events**

| Tool                             | What it does                                                                                                 |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `broadcast_event`                | Send one workflow to every subscriber (data = \{name, payload, overrides? (asks to confirm)                  |
| `cancel_trigger`                 | Cancel a delayed or digested trigger by transactionId. (asks to confirm)                                     |
| `delete_message`                 | Delete one stored message. (asks to confirm)                                                                 |
| `delete_messages_by_transaction` | Delete every message of a transaction. (asks to confirm)                                                     |
| `get_activity_charts`            | Activity chart series (sent, delivered, failed over time) for a period such as 7d or 30d.                    |
| `get_execution_details`          | Execution log lines for a notification job (notificationId, subscriberId).                                   |
| `get_notification`               | One notification (a single workflow run for a subscriber) with its jobs and their status.                    |
| `get_notification_stats`         | Sent/delivered/failed counts, or a time series when graph=true.                                              |
| `get_request_traces`             | Trace of one API request: what the platform did with it, step by step.                                       |
| `get_workflow_run`               | One workflow execution with step results.                                                                    |
| `list_messages`                  | Delivered messages (filter by channel, subscriberId, transactionId).                                         |
| `list_request_logs`              | API request log for debugging triggers: which calls arrived, with what status, newest first.                 |
| `list_workflow_runs`             | Workflow executions (filter by workflowId, subscriberId, status).                                            |
| `send_test_email`                | Send a test email to an address (data = \{to, subject, content, .                                            |
| `trigger_bulk`                   | Trigger up to 100 workflow events in one call (data = \{events: \[\{name, to, payload}]}). (asks to confirm) |

**keys**

| Tool                  | What it does                                                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `create_api_key`      | Create an additional secret API key for this environment (rolling rotation without downtime).                                        |
| `list_api_keys`       | List this environment's secret API keys, masked to the last four characters, with the MCP tiers each key may use.                    |
| `list_granted_scopes` | Show which permission tiers and scopes this connection was granted, and which client holds them.                                     |
| `request_scopes`      | Ask the user to widen this connection with more permission tiers.                                                                    |
| `revoke_api_key`      | Delete a secret API key by its hash (from list\_api\_keys). (asks to confirm)                                                        |
| `rotate_api_key`      | Replace the environment's secret key with a new one. (asks to confirm)                                                               |
| `set_api_key_tiers`   | Choose which MCP permission tiers an API key may use (read, write, destructive, billing, account, team, connections, support, keys). |

**misc**

| Tool                 | What it does                                                                           |
| -------------------- | -------------------------------------------------------------------------------------- |
| `delete_preferences` | Reset workflow-level preferences to defaults (data = \{workflowId? (asks to confirm)   |
| `get_blueprint`      | One ready-made workflow template with its steps, by id or identifier.                  |
| `get_preferences`    | Workflow-level notification preferences (channel defaults) for the environment.        |
| `get_upload_url`     | A signed URL to upload an image (logo, avatar) with a PUT; returns \{signedUrl, path}. |
| `list_blueprints`    | Ready-made workflow templates grouped by category.                                     |
| `upsert_preferences` | Set workflow-level preferences (data = \{workflowId?                                   |

**security**

| Tool                    | What it does                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------------- |
| `create_scim_directory` | Create a SCIM directory; the response includes the SCIM base URL and token once.                  |
| `delete_scim_directory` | Remove the SCIM directory. (asks to confirm)                                                      |
| `delete_sso_connection` | Remove the SSO connection; members sign in with their other methods. (asks to confirm)            |
| `export_audit_logs`     | Export the audit trail as text (first 200 KB; narrow with from/to).                               |
| `get_sso_config`        | SSO and SCIM configuration of the organization.                                                   |
| `list_audit_logs`       | Audit trail of changes (who did what), filterable by resource, action and actor.                  |
| `update_sso_settings`   | Change SSO enforcement and default role (data = \{enforce?                                        |
| `upsert_sso_connection` | Create or replace the SAML/OIDC connection (data = the connection fields from the API reference). |

**subscribers**

| Tool                                   | What it does                                                                                                                      |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `bulk_create_subscribers`              | Create up to 500 subscribers at once (data = \{subscribers: \[.                                                                   |
| `bulk_update_subscriber_notifications` | Mark all of a subscriber's notifications seen, read, archived, or read+archived (op = seen \| read \| archive \| read-archive).   |
| `bulk_update_subscriber_preferences`   | Set preferences for many workflows at once (data = \{preferences: \[.                                                             |
| `complete_notification_action`         | Mark a notification's primary/secondary action complete or revert it.                                                             |
| `count_subscriber_notifications`       | Unread and unseen notification counts for one subscriber, for badges and quick checks.                                            |
| `create_subscriber`                    | Create a subscriber (data = \{subscriberId, email?                                                                                |
| `delete_all_subscriber_notifications`  | Delete every notification of a subscriber (optionally filtered by data = \{tags, workflowIds}). (asks to confirm)                 |
| `delete_subscriber`                    | Delete a subscriber and their notifications. (asks to confirm)                                                                    |
| `delete_subscriber_credentials`        | Remove a subscriber's credentials for one provider. (asks to confirm)                                                             |
| `delete_subscriber_notification`       | Delete one notification. (asks to confirm)                                                                                        |
| `get_subscriber_preferences`           | A subscriber's global and per-workflow preferences (level = global \| template for the legacy view).                              |
| `list_subscriber_notifications`        | A subscriber's in-app notifications (filter by read/archived/tags).                                                               |
| `list_subscriber_topics`               | Topics a subscriber belongs to, so you can see which broadcast groups reach them.                                                 |
| `register_device_token`                | Add a device token for a subscriber and provider (data = \{deviceTokens: string\[]}).                                             |
| `remove_device_token`                  | Remove a device token. (asks to confirm)                                                                                          |
| `set_subscriber_credentials`           | Set or merge a subscriber's provider credentials (webhook URL, device tokens) for a provider (data = \{providerId, credentials}). |
| `set_subscriber_online_status`         | Record whether a subscriber is online (data = \{isOnline: boolean}).                                                              |
| `update_subscriber`                    | Change a subscriber's profile fields (email, phone, name, locale, custom data); send only what changes.                           |
| `update_subscriber_notification`       | read, unread, archive, unarchive, snooze or unsnooze one notification (snooze needs data = \{snoozeUntil: ISO date}).             |
| `update_subscriber_preferences`        | Set a subscriber's global or per-workflow preferences (data = \{channels?                                                         |

**support**

| Tool                    | What it does                                                                            |
| ----------------------- | --------------------------------------------------------------------------------------- |
| `create_support_ticket` | Send a support request to the Notifly team (same inbox as the in-product support form). |
| `list_support_tickets`  | List the support requests this user sent through Notifly (newest first).                |

**team**

| Tool                           | What it does                                                                                                                         |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `bulk_invite_members`          | Invite up to 25 people at once.                                                                                                      |
| `create_team`                  | Create a new organization (team) owned by the user.                                                                                  |
| `delete_team`                  | Delete the organization this call targets (pass organizationId to choose one), with all its environments and data. (asks to confirm) |
| `get_organization`             | Show the current organization (name, plan, branding, settings summary).                                                              |
| `get_organization_settings`    | Show organization settings (Notifly branding removal, default and target locales).                                                   |
| `invite_member`                | Invite someone by email with a role (org:admin, org:author or org:viewer; default viewer).                                           |
| `list_invites`                 | List pending invitations (members whose status is invited).                                                                          |
| `list_members`                 | List members of the organization with role and status (active or invited).                                                           |
| `list_my_organizations`        | List every organization the user belongs to (id, name, role).                                                                        |
| `remove_member`                | Remove a member from the organization. (asks to confirm)                                                                             |
| `rename_organization`          | Rename the current organization.                                                                                                     |
| `resend_invite`                | Resend a pending invitation email.                                                                                                   |
| `revoke_invite`                | Withdraw a pending invitation. (asks to confirm)                                                                                     |
| `update_member_role`           | Change a member's role (org:admin, org:author or org:viewer).                                                                        |
| `update_organization_branding` | Set the organization logo (an https image URL ending in jpg, png, gif or svg) and brand colors (hex, for example #1a2b3c).           |
| `update_organization_settings` | Change organization settings: removeNovuBranding, defaultLocale, targetLocales.                                                      |

**topics**

| Tool                         | What it does                                                                                              |
| ---------------------------- | --------------------------------------------------------------------------------------------------------- |
| `add_topic_subscriptions`    | Subscribe subscribers to a topic (data = \{subscriptions: \[subscriberId \| \{subscriberId, preferences?  |
| `delete_topic`               | Delete a topic and all its subscriptions. (asks to confirm)                                               |
| `get_topic`                  | One topic by its key, with its name and subscription count.                                               |
| `get_topic_subscription`     | One subscriber's subscription to a topic.                                                                 |
| `list_topic_subscriptions`   | Subscribers subscribed to a topic, newest first, paged.                                                   |
| `remove_topic_subscriptions` | Unsubscribe subscribers from a topic (data = \{subscriptions: \[. (asks to confirm)                       |
| `update_topic`               | Rename a topic.                                                                                           |
| `update_topic_subscription`  | Change a subscription's preferences (which workflows or channels the subscriber receives from the topic). |
| `upsert_topic`               | Create a topic or update its name (data = \{key, name}).                                                  |

**workflows**

| Tool                       | What it does                                                                                                              |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `apply_change`             | Promote one pending change to the production environment.                                                                 |
| `apply_changes`            | Promote several pending changes (data = \{changeIds: string\[]}).                                                         |
| `bridge_stateless`         | Stateless bridge calls with a one-off URL: op = status \| discover \| preview (preview also needs workflowId and stepId). |
| `bridge_stateless_preview` | Preview a step through a one-off bridge URL.                                                                              |
| `bridge_status`            | Health of the code-first bridge endpoint.                                                                                 |
| `bridge_sync`              | Sync workflows discovered at a bridge URL into the environment (data = \{bridgeUrl, source?                               |
| `count_changes`            | How many changes between environments are pending promotion to production.                                                |
| `create_workflow`          | Create a workflow.                                                                                                        |
| `delete_translation_group` | Delete every locale of a resource. (asks to confirm)                                                                      |
| `delete_workflow`          | Delete a workflow and its steps. (asks to confirm)                                                                        |
| `diff_bridge`              | Show what bridge\_sync would change in this environment, without applying anything.                                       |
| `disconnect_step_resolver` | Disconnect a deployed step resolver from its step. (asks to confirm)                                                      |
| `duplicate_workflow`       | Copy a workflow under a new name (data = \{name}); the copy starts inactive with the same steps.                          |
| `get_master_translations`  | The master translation JSON for a locale.                                                                                 |
| `get_step_controls`        | Read the controls (configurable values) stored for a bridge step of a workflow.                                           |
| `get_step_resolver_count`  | Number of step resolvers currently deployed in this environment.                                                          |
| `get_translation`          | One locale of a translated resource (a workflow or layout), e.                                                            |
| `get_translation_group`    | All locales of one translated resource (a workflow or layout), in one answer.                                             |
| `get_workflow_step`        | Show one step of a workflow with its controls and resolved data.                                                          |
| `get_workflow_test_data`   | Sample payload and subscriber to test a workflow with.                                                                    |
| `get_workflow_variables`   | Variables available to templates in this environment.                                                                     |
| `list_changes`             | Pending changes between environments, optionally by promoted status.                                                      |
| `list_translations`        | List translation groups (resource type, id, locales).                                                                     |
| `patch_workflow`           | Change part of a workflow: active (turn on/off), name, description, tags, severity.                                       |
| `preview_bridge_step`      | Preview a bridge-defined step with a payload; nothing is sent to any recipient.                                           |
| `preview_email_template`   | Render an email/in-app/sms/chat/push template body (channel + content + payload); nothing is sent.                        |
| `preview_workflow_step`    | Render a step with a payload and see the output (nothing is sent).                                                        |
| `save_translation`         | Create or update one locale of a resource (data = \{resourceId, resourceType, locale, content}).                          |
| `set_step_controls`        | Set the controls (configurable values) of a bridge step; data = \{variables}.                                             |
| `sync_workflow`            | Sync a workflow from another environment into this one (data = \{environmentId}).                                         |
| `test_http_request`        | Try an HTTP request step against its endpoint (data = \{url, method, headers?                                             |
| `update_workflow`          | Replace a workflow definition (full body).                                                                                |
| `validate_bridge_url`      | Check that a bridge URL answers (data = \{bridgeUrl}).                                                                    |

{/* mcp-tools:end */}

Tools are scope-filtered per request: if your token lacks the permission behind a tool, `search_tools` does not list it and calling it fails. A search that matches such a tool says which permission tier it needs, and calling it answers `SCOPE_MISSING` pointing to `request_scopes`, so the assistant can ask you to add that tier instead of concluding the tool does not exist.

An API key is a full credential for the environment: over REST it carries every permission, whoever created it, and keeps working if the person who created it is later demoted, whatever tiers are recorded on it (the tiers only narrow what the key reaches on this MCP server). So an assistant can create or rotate one (`rotate_api_key` replaces the current key; `create_api_key` adds one where additional keys are enabled for your organization) only if you granted its connection every tier. Otherwise the tool answers `SCOPE_MISSING` pointing to `request_scopes`, so the assistant can ask you to approve all tiers; grant them only to an assistant you trust with the whole environment. The key is shown once, in that tool result. Disconnecting an assistant does not yet revoke keys it made: revoke them from the API keys page.

## Safety rails around writes

Writes are guarded in layers:

* Each tool belongs to a permission tier (read, write, destructive, billing, account, team, connections, support, keys). You choose the tiers on the consent page, and a tool outside them is never shown to the assistant. An assistant that needs more asks with `request_scopes` and you approve the extra tiers on a one-click page.
* Destructive tools (deletes, mass sends, `trigger_workflow`) require a short-lived confirmation token bound to the exact call arguments, so an assistant must confirm the specific action before it runs.
* Every tool goes through the same REST layer as any other API client, so permissions, rate limits and the audit log apply unchanged.

## Revoking access

To disconnect an assistant, open **Settings → Connected AI apps** in the dashboard ([app.notifly.io/settings/connected-apps](https://app.notifly.io/settings/connected-apps)) and choose **Revoke** next to the connection. Revoking disconnects the client at once. It has to sign in again to reconnect.

## Onboarding a coding agent

For coding agents (Claude Code, Cursor, and similar), Notifly publishes step-by-step machine-readable instructions at [notifly.io/agents.md](https://notifly.io/agents.md). Paste this prompt into your agent:

```
Add an agent to my app following instructions from https://notifly.io/agents.md
```

The agent follows those instructions to wire a Notifly integration into your application.
