Skip to content

Interfaces

Four ways in

Pick the surface you reach Lessly through — by hand, from a terminal, from an agent, or from your own code.

Lessly has four interfaces. They address the same operation catalog on the same platform, so the choice depends on who is doing the work — a person at a screen, a script, an agent, or your own service.

SurfaceAddressUse it when
Product Appapp.lessly.comA person is doing the work by hand: signing up, creating a product, inviting people, issuing a key.
lessly CLI@lessly/cliThe work is scripted — from a terminal or from CI.
MCP servermcp.lessly.comAn AI agent does the work. Recommended for agents: the endpoint lists the operations the caller’s identity holds, already filtered by its permissions.
REST APIapi.lessly.comYour own code calls Lessly directly.

Registration is App-only: an account is created at sign-up, before any credential exists to authenticate the other three with.

What is shared between them

  • One operation catalog. The CLI builds its command tree from the operations your identity holds, and the MCP endpoint lists the same set as tools. An operation added on the platform appears on both without an upgrade.
  • One active product. Every surface acts on one product at a time. You select it in the app’s switcher, with lessly product select, with the MCP tool organization_product_select, or with the X-Product-Id header on a REST call.
  • Two credential kinds. A short-lived session token from signing in, and a long-lived API key that starts with lsk_dev_ and is pinned to one product. Keys are made for scripts, CI and agents — see REST API and API keys.

Next steps

Was this page helpful?
Esc

Start typing to search the docs.

navigateselect