Agents
MCP, CLI, and skills
Hosted MCP server, CLI, and agent skills: every way to connect an agent.
There are three ways for an agent or a terminal to work with Audryo. Pick the first one unless you have a reason not to.
| Way | Use it for | Auth |
|---|---|---|
| Hosted MCP server | Claude (Code, desktop, web), Codex, Cursor and other MCP clients | Browser sign-in (OAuth) |
Local MCP server and CLI (audryo npm package) | CI jobs, scripts, servers, agents without a browser | Workspace API key |
| Skills | Teaching any agent Audryo's rules for API usage, email design and sending | None |
- npm: npmjs.com/package/audryo
- Source, skills and issues: github.com/Audryo/agent-toolkit
Hosted MCP server (recommended)
Start at audryo.com/mcp. Step-by-step for every client, with screenshots: Connect your agent.
https://mcp.audryo.com/mcp is a remote MCP server. The first time your agent uses it, it opens Audryo in the browser: sign in, pick the workspace, and choose what the agent may do. There is no key to create, store or rotate, and you can disconnect the agent anytime under Settings → Developer → Connected agents.
Claude Code
claude mcp add --transport http audryo https://mcp.audryo.com/mcpRun /mcp in Claude Code to sign in.
Codex
codex mcp add audryo --url https://mcp.audryo.com/mcp
codex mcp login audryoClaude app (desktop, web, mobile): Customize → Connectors → + Add → Add custom connector, paste the URL, then Connect.
Cursor and other JSON configs
{
"mcpServers": {
"audryo": { "url": "https://mcp.audryo.com/mcp" }
}
}Add the skills separately with npx skills add audryo/agent-toolkit.
Access levels on the consent screen map to the API scopes: Read (read), Draft and set up (write) and Send and go live (deliver). Sending is never preselected; when a task needs it, the agent asks you to approve it in the browser.
Beyond the tools in the catalog below, the hosted server adds create_project and connect_sending_provider (which returns a link; provider keys are never entered in chat). projectId is optional when the connected workspace has a single project. The hosted tools preview_email and preview_email_draft also display rendered email previews inside MCP Apps clients; see the preview guide.
Local MCP server and CLI (API key)
For scripts, CI jobs and servers without a browser, create an API key under Settings → Developer. Requires Node 20 or newer.
Claude Code: plugin
Installs the MCP server and all skills in one step.
export AUDRYO_API_KEY="sf_live_..."
claude plugin marketplace add Audryo/agent-toolkit
claude plugin install audryo@audryoSkills for any agent
Works with Claude Code, Codex, Cursor and other agents that read skills.
npx skills add audryo/agent-toolkitMCP server by hand
Codex
codex mcp add audryo \
--env AUDRYO_API_KEY=sf_live_... \
--env AUDRYO_PROJECT_ID=<project-id> \
-- npx -y audryo mcpClaude Code
claude mcp add audryo \
-e AUDRYO_API_KEY=sf_live_... \
-e AUDRYO_PROJECT_ID=<project-id> \
-- npx -y audryo mcpCursor and other JSON configs
{
"mcpServers": {
"audryo": {
"command": "npx",
"args": ["-y", "audryo", "mcp"],
"env": {
"AUDRYO_API_KEY": "sf_live_...",
"AUDRYO_PROJECT_ID": "<project-id>"
}
}
}
}Ask the agent to "list my Audryo journeys" to check the connection.
Environment (local server and CLI)
| Variable | Required | Default |
|---|---|---|
AUDRYO_API_KEY | yes | — |
AUDRYO_PROJECT_ID | for project tools | list with npx audryo bootstrap |
AUDRYO_API_BASE | no | https://api.audryo.com/v1 |
Skills
Skills give an agent Audryo-specific know-how before it starts working.
| Skill | Teaches the agent to |
|---|---|
| API usage | Discover endpoints, use scopes and idempotency, stop at review |
| Email authoring | Build valid email documents, upload images, render, and save as drafts |
| Sending best practices | Choose communication classes, respect consent, protect deliverability |
Install them with npx skills add audryo/agent-toolkit or the Claude Code plugin above. The source lives at github.com/Audryo/agent-toolkit.
CLI
npx audryo bootstrap
npx audryo contacts ingest contacts.json
npx audryo events ingest events.json
npx audryo emails create --title "July update" --subject "What's new in July"
npx audryo journeys list
npx audryo journeys inspect "$WORKFLOW_ID"
npx audryo campaigns draft --name "July update" --audience-id "$AUDIENCE_ID" --subject "What's new"
npx audryo delivery healthIngest files can be a plain array or { "contacts": [...] } / { "events": [...] }.
Sending commands need a deliver key and should only run when you mean it:
npx audryo journeys activate "$WORKFLOW_ID"
npx audryo transactional send --message-id "$MESSAGE_ID" \
--email amelia@example.com --idempotency-key receipt-ord_1842MCP tool catalog
| Tool | Scope | What it does |
|---|---|---|
get_manifest | read | Operating model and review policy |
get_bootstrap | read | Workspaces and projects for this token |
get_setup_context | read | First-run progress and next action |
get_product_context | read | Confirmed Foundation and brand |
get_data_context | read | Schema, coverage, readiness |
list_journeys | read | Journeys and audiences |
inspect_journey | read | Runtime, enrollments, delivery |
list_audiences / get_audience | read | Saved audiences, optional consent-aware reach |
list_contacts | read | Contacts, optional search |
list_campaigns | read | Campaign drafts and sends |
get_delivery_health | read | Sending identity and ESP status |
get_performance | read | Ranked Journeys and messages |
get_brief | read | Findings and recommended actions |
get_observation / run_observation | read | Observation snapshot |
get_plan_usage | read | Workspace plan usage |
ingest_contacts / ingest_events | write | Sync data |
preview_audience | write | Size and sample for a definition; saves nothing |
create_audience / update_audience / delete_audience | write | Manage live audiences |
suggest_audiences | write | Segments proposed from the confirmed schema |
create_journey_proposal | write | Review-only Journey |
revise_journey | write | Edit a draft graph |
propose_from_finding | write | Graph revision from a brief finding |
run_dry_run | write | No mail leaves |
create_email / create_journey_email | write | Draft message documents |
draft_campaign | write | Reviewable campaign |
get_delivery_mode | read | Sandbox or live, plus the go-live checklist |
list_sandbox_messages / get_sandbox_message | read | Emails captured in sandbox mode |
fast_forward_journey | write | Skip waits for sandbox enrollments |
activate_journey / pause_journey | deliver | Start or pause |
send_campaign / send_transactional | deliver | Customer mail |
A worked propose → dry-run loop: Agent walkthrough.
What each scope unlocks
| Scope | MCP tools and commands |
|---|---|
read | List, inspect, reports, delivery health |
write | Ingest, draft campaigns, propose Journeys, create emails |
deliver | Start or pause Journeys, send campaigns, transactional sends |