KosmoKrator

other

Recurly CLI for Shell Scripts

Use the Recurly CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write API key auth

Recurly CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The Recurly CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Recurly CLI for Shell Scripts
kosmokrator integrations:configure recurly --set api_key="$RECURLY_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call recurly.recurly_list_accounts '{"limit":1,"cursor":"example_cursor","email":"example_email","state":"example_state"}' --json

Discovery Before Execution

Agents and scripts can inspect Recurly docs and schemas before choosing a function.

kosmo integrations:docs recurly --json
kosmo integrations:docs recurly.recurly_list_accounts --json
kosmo integrations:schema recurly.recurly_list_accounts --json
kosmo integrations:search "Recurly" --json
kosmo integrations:list --json

Useful Recurly CLI Functions

FunctionTypeParametersDescription
recurly.recurly_list_accounts Read limit, cursor, email, state List billing accounts from Recurly. Supports filtering by email and state, with cursor-based pagination.
recurly.recurly_get_account Read id Get details of a specific Recurly billing account by its ID or account code.
recurly.recurly_create_account Write code, email, first_name, last_name Create a new billing account in Recurly with a unique account code, email, and name.
recurly.recurly_list_subscriptions Read limit, cursor, account_id, state List subscriptions from Recurly. Supports filtering by account and state, with cursor-based pagination.
recurly.recurly_get_subscription Read id Get details of a specific Recurly subscription by its UUID.
recurly.recurly_list_plans Read limit, cursor List billing plans from Recurly. Supports cursor-based pagination.
recurly.recurly_get_current_user Read none Verify the Recurly API connection by fetching the first account. Useful as a health check.

Automation Notes

Related Recurly CLI Pages