KosmoKrator

email

Loops MCP, CLI, and Lua Integration for AI Agents

Loops integration docs for AI agents: MCP gateway setup, Loops CLI commands, Lua API reference, credentials, and function schemas.

6 functions 3 read 3 write API key auth

Loops for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
loops
route_slug
loops
package
loops
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Loops MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Loops.

Loops CLI Matrix

Use these pages for direct Loops CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
loops.loops_list_contacts Read read 2 List contacts from Loops with pagination. Returns contact records including email, name, and custom properties.
loops.loops_get_contact Read read 1 Get a single contact from Loops by their unique contact ID. Returns full contact details including email, name, and custom properties.
loops.loops_create_contact Write write 3 Create a new contact in Loops. Requires an email address. Optionally include first and last name.
loops.loops_update_contact Write write 5 Update an existing contact in Loops. Provide the contact ID and the fields to update (e.g., email, first_name, last_name, or custom properties).
loops.loops_send_event Write write 3 Send a custom event to Loops for a contact identified by email. Events can trigger automations and loops in your Loops account.
loops.loops_get_current_user Read read 0 Get the currently authenticated Loops user. Use this to verify the API connection and see account details.