Set up a custom connector to pin a project or set an access level. Paste a server URL, sign in with your Iterable account, and Nova Agent takes action in that AI host.
Use this setup for Claude, ChatGPT, Claude Code, Cursor, and Visual Studio Code. For a one-step install from the directory in Claude, ChatGPT, or Cursor, read Setting up a Hosted MCP Server.
# In this article
# Before you start
- The hosted MCP server is enabled by default for all projects in your organization, except HIPAA-compliant projects. If the connection fails right after you sign in, either the project is HIPAA-compliant, or your user doesn't have access to the project.
- Copy your project ID from Settings > Project Settings when you want to pin the connector to one project.
- Google, email and password, and single sign-on all work with the same Iterable login you use in the product. Single sign-on needs a one-time admin setup. See Set up single sign-on.
# Find your server URL and client ID
Each data center has its own server URL and OAuth client ID. Use the row for the data center where your account lives:
| Data center | Server URL | Client ID |
|---|---|---|
| USDC | https://app.iterable.com/agent/mcp | o8l4hMUINxxDbLZdP4Svozn6R0xFECh2 |
| EDC | https://app.eu.iterable.com/agent/mcp | iwPRPJvp69PLg0G0p0sRbBoaXavJiaJQ |
Paste the server URL into your AI host. Enter the client ID wherever the AI host asks for OAuth credentials.
Every customer in a data center uses the same client ID. That ID is public. Leave the client secret field blank. The client ID is the only OAuth credential this server uses.
# Pin a project and limit access
Pinning a project is the recommended setup. An access level is optional.
Add query parameters to the server URL before you paste it into the AI host.
Use ? for the first parameter and & for each parameter after it.
# Pin the connection to one project
When you enter the server URL, you can append the URL with a parameter and value
to pin the project you want to access. For example, add ?projectId= and your project
ID:
https://app.iterable.com/agent/mcp?projectId=12345
Replace 12345 with your project ID. A pinned connection stays on that
project.
To work in more than one project, add the server once per project. Pin each
connection with its own projectId, and name each one clearly, such as
"Iterable Production" and "Iterable Sandbox." Many AI hosts show that name to
the agent, so a prompt such as "in my production Iterable project" uses the
matching connection. In each chat, enable only the connections for that
conversation.
If you leave projectId off a URL you provide, the agent asks you to pick a
project. That choice is saved for your account and applies to every unpinned
connection that uses the same client ID, in any AI host, until you change it or
stop using it for 30 days. To keep connections on different projects, pin each one.
# Set an access level
When you provide the server URL yourself, you can narrow what the connection
can do. If you leave the access level unset, the access your AI host requested
at sign-in applies, up to what you can do in Nova Agent. To narrow it, add one
of these parameters to the end of the URL. Use ? for the first parameter, and
then use & for additional parameters after the first one:
Add to a URL with projectId
| What the connection can do |
|---|---|
&access=read | Look up information. |
&access=write | Look up information and make changes. This level excludes sending messages, but includes canceling scheduled sends. |
&access=send | Full access, including sending messages. |
For example, this URL pins project 12345 and limits the connection to
read access:
https://app.iterable.com/agent/mcp?projectId=12345&access=read
These limits apply in addition to your Iterable permissions. The connection can take only the actions you can take in Iterable.
# Connect an AI host
These steps cover Iterable's approved AI hosts: ChatGPT, Claude, Claude Code, Cursor, and Visual Studio Code. Iterable adds hosts one at a time so it can protect customer data. See Supported AI hosts for more information.
# Connect ChatGPT
ChatGPT requires a paid plan: Plus, Pro, Business, Enterprise, or Education. Set this up on the web. After you add it, the connection also works in the ChatGPT mobile app.
Click your name, then Settings.
Go to Apps & Connectors > Advanced Settings.
Turn Developer Mode on and confirm the warning.
Go back to Settings > Apps & Connectors and click Create. (Depending on your version of ChatGPT, the button label may be Create App.)
-
Fill in the fields:
- Name: a descriptive name, such as "Iterable Production".
-
Connector URL: your server URL. On this custom connector, include
projectIdandaccesswhen you pin a project or set an access level. - Authentication: select OAuth.
- Client ID: the client ID for your data center. Leave the client secret field blank.
Check I Trust This Application and click Create.
Finish signing in when the browser opens, then return to ChatGPT.
Workspace admins can publish the connector under Workspace Settings > Apps. Members can then use it without turning on Developer Mode.
# Connect Claude
Claude works on Free, Pro, Max, Team, and Enterprise plans. The Free plan allows one custom connector. Add the connector on the web or on desktop. After you add it, the connection also works in the Claude mobile apps.
Go to Customize > Connectors. Older versions show this under Settings > Connectors.
-
Scroll to Add Custom Connector and fill in the fields:
- Name: a descriptive name, such as "Iterable Production".
- Remote MCP Server URL: your server URL.
- OAuth Client: switch from Register Automatically to Use Your Own OAuth Client, then enter the client ID for your data center. Leave the client secret field blank.
Click Add and finish signing in when Claude redirects you.
To share the connector with your team, an admin adds it the same way under Admin Settings > Connectors.
To turn it on for a chat, click + near the message box, open Connectors, and enable the Iterable connector. On this custom connector, keep a separate connector for each project when you pin them and want to use them in different chats. A directory install is one connection, and you switch projects in the chat. When a connector is missing from the list, re-authenticate it under Customize > Connectors.
# Connect Claude Code
Add the server with the client ID for your data center. Set the callback
port to 6682. That port is the redirect address registered for the client
ID. Leave the client secret unset.
This example uses the US data center. For an EU account, use the EU server
URL and client ID from the table above. Replace YOUR_PROJECT_ID with your
project ID.
claude mcp add --transport http \ --client-id o8l4hMUINxxDbLZdP4Svozn6R0xFECh2 --callback-port 6682 \ iterable-nova "https://app.iterable.com/agent/mcp?projectId=YOUR_PROJECT_ID"
iterable-nova is an example name. Use any name you like.
Add --scope user to use the server across your Claude Code projects. Add
--scope project to share it through a .mcp.json file in the repository.
In Claude Code, run /mcp to sign in. Then run claude mcp list to
confirm the connection.
# Connect Cursor
For a first install, open the link for your data center:
Cursor opens an Install MCP Server? form. These links let you edit the
server URL, and they omit the project ID. On the form, add ?projectId= and
your project ID to the URL. To limit access, add &access=read,
&access=write, or &access=send on that same URL. Then click Install.
A directory install uses the directory URL. That connection covers the
projects in your organization, and you switch projects in the chat.
To edit the configuration yourself, add this section to ~/.cursor/mcp.json
for every code repository, or to .cursor/mcp.json in a folder for that
project only. When the file already has an mcpServers object, add the
iterable-nova entry inside it.
{ "mcpServers": { "iterable-nova": { "url": "https://app.iterable.com/agent/mcp?projectId=YOUR_PROJECT_ID", "auth": { "CLIENT_ID": "o8l4hMUINxxDbLZdP4Svozn6R0xFECh2" } } } }
This example uses the US data center and the name iterable-nova. For an
EU account, use the EU server URL and client ID from the table above. Replace
YOUR_PROJECT_ID with your project ID. Use any name you like, and add an
entry for each project.
After you save, open Cursor Settings > MCP, find the server, and click Connect to sign in.
# Connect Visual Studio Code
For a first install without a pinned project, open the link for your data center:
To pin a project or set an access level, edit the configuration yourself.
Open the user mcp.json with MCP: Open User Configuration from the
Command Palette, or edit .vscode/mcp.json in a workspace folder for that
project only. When the file already has a servers object, add the entry
inside it.
{ "servers": { "iterable-nova": { "type": "http", "url": "https://app.iterable.com/agent/mcp?projectId=YOUR_PROJECT_ID", "oauth": { "clientId": "o8l4hMUINxxDbLZdP4Svozn6R0xFECh2" } } } }
This example uses the USDC and the name iterable-nova. For an
EDC account, use the EDC server URL and client ID from the table above. Replace
YOUR_PROJECT_ID with your project ID. Use any name you like, and add an
entry for each project.
After you save, run MCP: List Servers, select the server, and start it to sign in.
# Next steps
If the connection fails, read Troubleshoot a connection.
For example prompts, a comparison with the self-hosted server, and common questions, read Using the Iterable Hosted MCP Server.
For what the hosted server can do and how permissions work, read Hosted MCP Server Overview.