Model Context Protocol · CLI · REST API

Drive Kleap from any AI agent

Connect ChatGPT, Claude, or Cursor to Kleap and build, edit and publish real websites in natural language. The agent does the talking — Kleap hosts, deploys, and guarantees it's actually live.

The verified-live guarantee

Other tools tell the agent “it's online” the moment a deploy is requested. Kleap reports a site as published only once the new version is provably serving at its live URL — otherwise it rolls back and says “not confirmed live.” An agent can never hand your user a dead link.

One backend, two ways to connect

Local — Claude Desktop, Cursor

A tiny stdio server your client runs locally. Authenticates with your kleap_live_sk_ key.

Remote — ChatGPT & hosted agents

A hosted connector at kleap.co/api/mcp. Connect with OAuth — no local process.

Both expose the same tools and arguments — anything you write for one works on the other.

The tools your agent gets

create_appCreate a site from a prompt → returns a task
modify_appAsk the app's AI to change it → returns a task
check_taskPoll a create/modify task to completion
retry_taskResume a failed/stalled build — the agent's recovery path
publish_appPublish with the verified-live guarantee
get_publish_statusConfirm a site is actually published & live
connect_domainConnect a domain the user owns to a published app
search_domainsFind available domains (purchase stays user-confirmed)
list_appsList the apps on your account
get_appOne app's status, slug & production URL
get_creditsRemaining credit balance & plan

Set it up in 2 minutes

Pick your agent. Every path starts with one key.

1

Get your key

Go to Settings → API key and, under MCP / API access, click Generate MCP key. It looks like kleap_live_sk_…. Copy it — it's shown once.

⚠️ The other key on that page (kl_…) is for the Chrome extension only and will not authenticate the MCP.

2

Claude Desktop

Add Kleap to your claude_desktop_config.json and restart the app:

claude_desktop_config.json
{
  "mcpServers": {
    "kleap": {
      "command": "node",
      "args": ["/absolute/path/to/kleap-mcp-server.mjs"],
      "env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
    }
  }
}
2

Cursor

Same shape, in your project's .cursor/mcp.json:

.cursor/mcp.json
// .cursor/mcp.json
{
  "mcpServers": {
    "kleap": {
      "command": "node",
      "args": ["/absolute/path/to/kleap-mcp-server.mjs"],
      "env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
    }
  }
}

Verify the server starts:

shell
KLEAP_API_KEY=kleap_live_sk_... node kleap-mcp-server.mjs
# → [kleap-mcp] ready (stdio) → https://kleap.co. Tools: list_apps, ...
2

ChatGPT & hosted agents

No local process. Add a connector pointing at the remote MCP URL and authorize with OAuth (or paste your key):

remote MCP URL
https://kleap.co/api/mcp

What it feels like

YouBuild me a one-page site for my bakery and put it online.
Agent → Kleapcreate_app → check_task (builds in ~60–90s) → publish_app → get_publish_status
KleapVerified live at your-bakery.kleap.io ✅ (only after it's provably serving)

Give your agent a place to ship

Hosting, deploys, custom domains and the verified-live guarantee — handled. Your agent just builds.

Generate your MCP key
Kleap MCP server & CLI — build and publish websites from any AI agent