Skip to content

Popular searches

Connect an AI assistant (Connect AI)

Updated

Connect AI lets an AI assistant such as Claude or ChatGPT work with your Mail Niaga account. You can build lists, prepare campaign drafts, read reports and send campaigns by chat, in plain words. Mail Niaga uses MCP (Model Context Protocol). MCP is the open standard that AI assistants use to connect to other apps.

A connected assistant can only see and change the things that you can see and change. It cannot see the data of other accounts. The assistant always asks you before it sends a campaign, starts an automation or deletes anything.

Do these steps after you log in to the Mail Niaga console:

  1. In the sidebar, under INTEGRATION, click Connect AI. The How it works tab opens.

  2. Find the address in Your MCP address. Click Copy to copy this address:

    https://manage.mailniaga.com/mcp

    The Connect AI page with the How it works tab and the MCP address

  3. Click Set up your assistant to see the steps for your assistant.

These steps are the same for claude.ai and the Claude desktop app. You do not need a config file or an API token.

  1. On the Connect AI page, click Set up your assistant, then click Claude.

  2. In Claude, open Settings → Connectors. On the Team and Enterprise plans, open Organization settings → Connectors.

  3. Click Add custom connector.

  4. Paste the MCP address as the URL of the remote MCP server.

  5. Click Add. Log in to Mail Niaga, then allow the connection. See Allow the connection.

    The Set up your assistant tab with the steps for Claude and the MCP address

In Business, Enterprise and Edu workspaces, only an admin can add an MCP server. An admin can also give you permission to add one.

  1. On the Connect AI page, click Set up your assistant, then click ChatGPT.

  2. Open chatgpt.com/plugins, then click Add → Add custom MCP server.

  3. Type a name, paste the MCP address, then choose OAuth.

  4. Tick the risk check box, choose Create as a plugin, then click Connect.

  5. Log in to Mail Niaga, then allow the connection.

    The Set up your assistant tab with the steps for ChatGPT

The Set up your assistant tab also has steps for these assistants. Click the name of an assistant to see the exact steps and config:

Assistant Where to add the server How to log in
Claude Code The claude mcp add command, or the .mcp.json file Browser login (recommended), or API token
Cursor ~/.cursor/mcp.json or .cursor/mcp.json Browser login, or API token
VS Code (GitHub Copilot) The code --add-mcp command, or .vscode/mcp.json Browser login, or API token
Codex ~/.codex/config.toml The codex mcp login command
Gemini CLI The gemini mcp add command, or ~/.gemini/settings.json Browser login, or API token
Windsurf ~/.codeium/windsurf/mcp_config.json Browser login, or API token
Zed Agent Panel → Add Remote Server Browser login, or API token
Warp Settings → Agents → MCP servers → Add Browser login
Cline Cline → MCP Servers → Configure MCP Servers API token
JetBrains AI Settings → Tools → AI Assistant → Model Context Protocol (MCP) API token
OpenCode opencode.json The opencode mcp auth command
Hermes Agent ~/.hermes/config.yaml API token
Custom agent Any MCP SDK over HTTP API token

A config that uses an API token shows YOUR_API_TOKEN. Replace that text with your API token. See Get and change your API token.

When the assistant asks you to log in, your browser opens a Mail Niaga page. The page shows the name of the assistant and what the assistant can do:

  • See your campaigns, lists, contacts and reports.
  • Create and change campaigns, lists and contacts.
  • Send campaigns to your contacts.

Click Allow to connect the assistant, or click Deny to cancel. Allow only an app that you trust.

Click What it can do to see all the tools that the assistant can use. There are 42 tools in the groups Account, Lists, Contacts, Imports, Campaigns, Automations and Files. Each tool acts as you and follows the limits of your plan.

Each tool has a label:

Label What it means
Reads The tool only reads data, for example your lists or campaign statistics.
Changes The tool creates or changes data, for example a new list or a new contact.
Asks first The tool asks for your approval first, for example before it deletes a list.

The What it can do tab with the list of tools and the labels Reads, Changes and Asks first

Type in Find a tool to find a tool, or click Reads, Changes or Asks first to filter the list.

Click Things to try to see sample prompts. Click the copy icon on a prompt, then paste the prompt into your assistant.

The Things to try tab with five sample prompts

The assistant also understands prompts in Bahasa Melayu.

Do these steps to remove the access of an assistant:

  1. Click your name at the bottom of the sidebar, then click Account.

  2. In the left menu, click Connected apps. This page shows each connected app, the date of the connection (Connected) and the date when the access stops (Access ends).

    The Connected apps page in Account Settings

  3. Click Revoke on the app, then confirm.

The access of the app stops immediately. To connect again, the assistant must ask for your permission again.

This advice helps you use an AI assistant safely:

  • Ask the assistant to show you the draft first. Write “Show me the draft before sending” in your prompt. Then check the draft in the console.
  • Use the browser login if your assistant has it. Then you do not keep an API token in a config file.
  • Check Connected apps regularly. Revoke the apps that you do not use now.

Common issues

Do I need an API token to connect Claude or ChatGPT?

No. For Claude and ChatGPT, you only paste the MCP address, then log in to Mail Niaga and click Allow. Some other assistants, for example JetBrains AI, and systems without a browser need an API token.

Can an AI assistant send a campaign without my approval?

No. The assistant always asks you before it sends a campaign, starts an automation or deletes anything. Check the campaign draft before you agree.

Why can my assistant not get access to my account now?

The access of each app has an end date. See the Access ends column on the Connected apps page. The access also stops when you click Revoke. Connect the assistant again and click Allow again.

Can the assistant see the data of other accounts?

No. The assistant can only see and change the things that you can see and change in your account. Each action also follows the limits of your plan.

Was this article helpful?