Skip to content

MCP server

The Lyvica MCP server exposes Lyvica as tools for any Model Context Protocol client. Point your agent at it and it can build and iterate on real apps — “build me a landing page for a coffee shop, then make the hero dark.”

It’s a thin wrapper over the REST API: all the logic, auth, and quota live on Lyvica’s side; the server just forwards calls using your API key.

ToolWhat it does
lyvica_create_appCreate an app from a brief and queue its build
lyvica_project_statusGet a project by id/slug — poll until READY
lyvica_send_messageSend a follow-up instruction to iterate
lyvica_list_projectsList your projects
  1. Create an API key at lyvica.com/dashboard/settings.

  2. Get the server (it lives in the mcp/ folder of the Lyvica repo) and install its dependencies:

    Terminal window
    cd mcp && npm install
  3. Register it with your MCP client. For Claude Desktop (claude_desktop_config.json):

    {
    "mcpServers": {
    "lyvica": {
    "command": "node",
    "args": ["/absolute/path/to/lyvica/mcp/index.mjs"],
    "env": { "LYVICA_API_KEY": "lyv_live_…" }
    }
    }
    }

    Cline, Cursor, and other clients use the same command, args, and env.

Env varRequiredDefault
LYVICA_API_KEYyes
LYVICA_BASE_URLnohttps://lyvica.com

A typical run: the agent calls lyvica_create_app with your brief, polls lyvica_project_status until it’s READY, then uses lyvica_send_message to refine — each app a real GitHub repo with a live preview, on your account.