Introduction
The two ways other software works with Laziness today, the MCP server and flow webhooks.
Laziness has no REST API yet. Other software reaches it in two ways: as an MCP server that AI clients such as Claude Desktop and Cursor sign in to, and through webhook links that start your flows. Both act as you, under your plan's limits, and neither can do anything you have not allowed.
The MCP server
Laziness is an MCP server at https://app.laziness.ai/api/mcp. An MCP client signs in with OAuth 2.1, you allow it on a consent page, and from then on it can use your tools that only read: searching your earlier chats, your documents, and your data tables. It cannot post, send, change, or delete anything.
Read Connect an MCP client to set it up.
Flow webhooks
A flow can start from a webhook trigger. Its settings make a secret link; anything that can send an HTTP request (a form, a script, another service's webhook) posts to that link, and the flow runs as you with the request's body as its input. A run started this way always asks you before any action, whatever your approval mode.
Read Run a flow from outside to set it up.
What is not here yet
- No REST API for chats, documents, flows, or settings.
- No API keys: the MCP server signs in with OAuth, and a webhook link is its own secret.
- No write access for MCP clients.
The API changelog lists every change to what is described here.
Limits
Each way has limits of its own, listed in Errors and limits.