Docs
Quickstart: Cursor
You need: Cursor, and an API key in LG_API_KEY.
Get a key. Sign up at https://app.restolayer.com/sign-up. An owner creates a key in Settings → API keys and picks its scopes:
gateway:readto read keys, credits and usage, plusgateway:writeto change them. Keep it in an environment variable, never in a file you commit:export LG_API_KEY=lg_live_…Add the server to
.cursor/mcp.jsonin the project (or~/.cursor/mcp.jsonfor every project):{ "mcpServers": { "restolayer": { "url": "https://manage.restolayer.com/mcp", "headers": { "Authorization": "Bearer ${env:LG_API_KEY}" } } } }- Check it. Open Settings → MCP and confirm the server shows its tools, then: Check it works: ask the assistant "Who am I in Restolayer?" It calls
lg_whoamiand answers with your organization, role and scopes.
Next: task recipes and a snippet for Cursor rules.