# MCP tools

The Lessly MCP server exposes the following tools to your AI agent. Each tool has its own reference page with arguments, an example prompt, and an "Open in Claude" CTA.

The machine-readable catalog is served at [`/mcp/tools.json`](/mcp/tools.json) — that endpoint is what an MCP client reads.

## Tools

Grouped by feature area. Each links to its reference page with arguments, an example prompt, and an "Open in Claude" CTA. This is a curated set of common tools — the live server exposes more within each area.

### Deployment

- [`deployment_service_create`](/reference/mcp-tools/deployment_service_create) — Create a service inside an environment.
- [`deployment_service_redeploy`](/reference/mcp-tools/deployment_service_redeploy) — Trigger a fresh deployment for a service.
- [`deployment_service_rollback`](/reference/mcp-tools/deployment_service_rollback) — Roll a service back to a previous deployment.
- [`deployment_service_logs`](/reference/mcp-tools/deployment_service_logs) — Read recent runtime logs for a service.
- [`deployment_deployment_get`](/reference/mcp-tools/deployment_deployment_get) — Fetch the status of a single deployment.
- [`deployment_deployment_list`](/reference/mcp-tools/deployment_deployment_list) — List a service's deployments, newest first.
- [`deployment_domain_add`](/reference/mcp-tools/deployment_domain_add) — Attach a custom domain to an environment.
- [`deployment_variable_set_env`](/reference/mcp-tools/deployment_variable_set_env) — Create or update an environment-scoped variable.
- [`deployment_variable_list_env`](/reference/mcp-tools/deployment_variable_list_env) — List environment-scoped shared variables.

### Mail

- [`mail_email_send`](/reference/mcp-tools/mail_email_send) — Send a single email.
- [`mail_domain_create`](/reference/mcp-tools/mail_domain_create) — Register a sending domain.
- [`mail_domain_verify`](/reference/mcp-tools/mail_domain_verify) — Re-check a sending domain's DNS.
- [`mail_broadcast_create`](/reference/mcp-tools/mail_broadcast_create) — Create a draft broadcast to an audience.
- [`mail_template_create`](/reference/mcp-tools/mail_template_create) — Create a draft email template.

### Consent

- [`consent_providers_create`](/reference/mcp-tools/consent_providers_create) — Add a consent provider (and its cookies).
- [`consent_providers_list`](/reference/mcp-tools/consent_providers_list) — List consent providers and their cookies.
- [`consent_records_export`](/reference/mcp-tools/consent_records_export) — Export consent records as CSV.
- [`consent_dashboard_stats_get`](/reference/mcp-tools/consent_dashboard_stats_get) — Get consent dashboard stats.
- [`consent_embed_get`](/reference/mcp-tools/consent_embed_get) — Get the consent banner embed snippet.

### Waitlist

- [`waitlist_invites_send`](/reference/mcp-tools/waitlist_invites_send) — Send waitlist invites.
- [`waitlist_signups_list`](/reference/mcp-tools/waitlist_signups_list) — List waitlist signups.
- [`waitlist_signups_funnel`](/reference/mcp-tools/waitlist_signups_funnel) — Signup → invited → registered funnel.
- [`waitlist_config_upsert`](/reference/mcp-tools/waitlist_config_upsert) — Create or replace the waitlist configuration.
- [`waitlist_signups_erase`](/reference/mcp-tools/waitlist_signups_erase) — Erase a waitlist signup (GDPR Art. 17).

### Organization

- [`organization_product_create`](/reference/mcp-tools/organization_product_create) — Create a product.
- [`organization_product_invite`](/reference/mcp-tools/organization_product_invite) — Invite a teammate to a product.
- [`organization_product_list`](/reference/mcp-tools/organization_product_list) — List products you can access.
- [`organization_auth_me`](/reference/mcp-tools/organization_auth_me) — Get the current identity.

### Brain

- [`brain_memory_search`](/reference/mcp-tools/brain_memory_search) — Search product memories.
- [`brain_memory_add`](/reference/mcp-tools/brain_memory_add) — Store a product memory.
- [`brain_knowledge_search`](/reference/mcp-tools/brain_knowledge_search) — Search the product knowledge graph.

### Brain

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.

### Consent

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.

### Deployment

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.

### Mail

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.

### Organization

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.

### Waitlist

> Tool listing for this service is being assembled. The agent-callable surface exists in the deployed service today; the listing here populates once the service publishes its first catalog release.
