Authentication
Every request must carry the account’s API key, which is generated within the Dashboard under API Keys. Send it in either header:
The server forwards the key to the REST API on each call and never stores it. Each request is handled in isolation with its own key, so one connection never sees another account’s data.
Clients that cannot set a header, such as the Claude.ai and Claude Desktop connector, connect through OAuth instead. The server shows a page asking for the API key, and that key becomes the client’s access token. The key is sealed in transit during the handshake and is not stored.
Connecting a Client
Claude.ai and Claude Desktop
Open Settings, go to Connectors, choose Add custom connector and enterhttps://mcp.aimtell.com/mcp. Claude opens the Connect your Aimtell account page, where the API key is pasted once.
Claude Code
Cursor, Windsurf and Other Clients
Add the server to the client’s MCP configuration, such asmcp.json in Cursor:
Raw JSON-RPC
The server speaks standard MCP over HTTP, so it can also be called directly. Requests must accept bothapplication/json and text/event-stream.
Confirming Writes
Every tool that creates or changes something takes an optionalconfirm argument and runs in two steps:
- Call without
confirm. Nothing is written. The tool returns a plain-language summary of exactly what would happen, ending in a confirmation token. - Call again with identical arguments plus
confirmset to that token. The change goes through.
create_campaign, create_draft_campaign, create_draft_triggered_campaign, create_draft_rss_campaign, update_draft, upsert_welcome_campaign, create_segment and track_subscriber_attribute.
Sending Safeguards
create_campaigndefaultsstatusto1(draft), so omitting it never sends.- The
create_draft_*tools take nostatusargument and always save a draft. update_draftonly changes campaigns that are still drafts, refuses A/B test drafts, and takes nostatusorschedule_date, so it can never schedule or send a campaign.- Triggered and RSS drafts must be activated in the dashboard.

