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.
curl -fsSL https://install.loops.so/wizard | sh

Need only one part of the setup?
curl -fsSL https://install.loops.so/cli | sh
Then prompt your agent:
Follow https://loops.so/docs/quickstart-agents. Set up Loops in this project.
Use env vars for credentials and show me what changed when you're done.
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

Many agent tools describe integrations as MCP, Model Context Protocol, tools, or skills. For Loops, the recommended public setup is still the same:
  1. Install the Loops CLI and skills.
  2. Open your project in Claude Code, Codex, Cursor, or another coding agent.
  3. Ask the agent to follow this page and use environment variables for API keys.
If your environment requires a separate MCP server or a private integration, contact support from the Support page.

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

CLI

API reference

Human quickstart

Last modified on July 2, 2026