Skip to main content
Give this page to Claude Code, Codex, Cursor, or your own agent when you want help wiring Loops into your app. Agents can use the Loops CLI and skills to update your code, read the right docs, and leave credentials in environment variables.
Want to set up Loops yourself? Follow the Human quickstart.

Install Loops for agents

Recommended setup

Install the Loops CLI and agent skills with one command.

Need only one part of the setup?
Then prompt your agent:
Ask your agent to use the LMX and email best practices skills when you need them.
Keep API keys in environment variables. Do not hardcode credentials in prompts, scripts, or repository files.

MCP and agent clients

Claude Code and Claude Desktop can connect directly to Loops through the Loops MCP server. For Claude Code, Codex, Cursor, or another agent with terminal access, install the Loops CLI and skills, then ask the agent to follow this page. Keep API keys in environment variables.

Use cases

  • Generate product update emails from recent GitHub releases, merged PRs, or changelog notes.
  • Sync new app users to Loops as contacts when they sign up.
  • Update contact properties when a user changes plan, role, company, or onboarding status.
  • Track product events like trial_started, plan_upgraded, invite_sent, or onboarding_completed.
  • Send transactional emails for password resets, magic links, invoices, receipts, or team invites.
  • Draft or update LMX templates for transactional and product emails.
  • Add CLI smoke tests for contact creation, event tracking, and transactional sends.
  • Review your email setup with the Loops email best practices skill.

Go deeper

Skills

MCP

CLI

API reference

Human quickstart

Last modified on August 10, 2026