Build on Lydie
Read and write the pages of a Lydie workspace from your own code, or let an AI assistant do it over MCP.
The REST API, the MCP server and the app all run the same operations. Anything you can do in Lydie, a script or an agent can do too, and every change it makes can be undone.
- QuickstartMake a token and create, read and edit a document with curl.
- MCP serverConnect Claude, Cursor or VS Code to a workspace in one step.
- API referenceEvery endpoint, generated from the same definitions the app runs on.
Connect an AI assistant
Add the server to your client. It opens Lydie to sign in and asks which workspace to use.
claude mcp add --transport http lydie https://api.lydie.co/mcpCall the API
Create a token under Settings → Agents & API, then:
curl https://api.lydie.co/v1/workspaces \
-H "Authorization: Bearer $LYDIE_TOKEN"API reference
For agents
Every page has a Markdown version: add .md to its address.