Skip to content
~/my-app
$ loops transactional send cmnx1d95z001llilji4vapgqs \
--email "$TEST_EMAIL" \
--var firstName=Ada \
--var projectName="Q3 launch" -o json
{
"success": true
}
$ loops events send inviteSent \
--user-id usr_123 \
--props ./event-props.json -o json
{
"success": true
}
$
Test email sent and event recorded

Connect your agent

Add the Loops connector in Claude, or the MCP server in Claude Code.

Or in Claude Code
claude mcp add loops https://mcp.loops.so --scope user --transport http
In Claude Code, run /mcp to sign in.Setup guide

Install the Loops plugin in ChatGPT.

Click Install plugin, then sign in to Loops.Setup guide

Add the MCP server, then sign in when Codex asks.

codex mcp add loops --url https://mcp.loops.so
Needs Codex CLI 1.48.0 or later.Setup guide

Cursor connects through the Loops CLI and agent skills. This installs both.

curl -fsSL https://install.loops.so/wizard | sh
Then ask Cursor to set up Loops in your project.Setup guide

Add this URL as a remote MCP server, then sign in to Loops.

https://mcp.loops.so
Guides cover Amp, OpenCode and VS Code.Setup guide

Why use the Loops CLI

Run Loops from your terminal, your scripts, and your coding agent.

$ loops transactional send cmnx1d95z… --email "$TEST_EMAIL" --var name=Sam {"success": true}

Test sends in seconds

Send a real transactional email with sample data before you ship.

Send a signup event for usr_123
›loops events send signup --user-id usr_123
✓Event sent

Your agent can run it

Claude Code, Codex, and Cursor use it to add contacts, send events, and draft campaigns.

$ loops lists list -o json [ { "name": "Product updates" }, { "name": "Newsletter" } ]

Script anything

Add -o json to any command and pipe the output into scripts and CI.

my-appDefault
my-app-staging--team

Every team, one terminal

Store a key per team and pick one with a flag.