Skip to main content
Glama

Kleap — website infrastructure for AI agents

npm MCP node license

Your agent builds. Kleap ships it live. Let any AI agent — Claude, ChatGPT, Cursor — build, edit and publish real, live websites for you. Hosting, database, auth and domains included.

An alternative to Lovable / v0 / Bolt — except it's driven by your agent, and every publish comes with the verified-live guarantee: a site is only ever reported online once it is provably serving — never a hallucinated dead link.

This is a thin Model Context Protocol server that wraps Kleap's public REST API. No secrets live in this package — it reads your own KLEAP_API_KEY from the environment and talks only to kleap.co.


Quick start

1. Get an API key — at kleap.coSettings → API key → MCP / API access → Generate MCP key (kleap_live_sk_...).

2. Add Kleap to your AI client:

{
  "mcpServers": {
    "kleap": {
      "command": "npx",
      "args": ["-y", "github:Kleap-co/kleap"],
      "env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
    }
  }
}
{
  "mcpServers": {
    "kleap": {
      "command": "npx",
      "args": ["-y", "github:Kleap-co/kleap"],
      "env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
    }
  }
}

Add the hosted connector at https://kleap.co/api/mcp and authorize with OAuth (or paste your kleap_live_sk_ key).

Once published to npm, the install shortens to "args": ["-y", "kleap"].

3. Restart the client and just ask:

"Build me a one-page site for my bakery, publish it, and give me the live URL." "Add a contact form to my site and redeploy." "Change the headline to 'Roasted slow' and publish."

Works with any MCP-compatible agent: Claude · ChatGPT · Cursor · Claude Code · Codex.


Related MCP server: DOOMSCROLLR MCP Server

Tools

Buildcreate_app · modify_app · check_task · retry_task Publish & domainspublish_app · get_publish_status · search_domains · check_domain · connect_domain Accountlist_apps · get_app · list_app_files · get_credits

Tool

What it does

create_app

Create a site from a prompt → returns a task

modify_app

Ask the app's AI to change it → returns a task

check_task

Poll a create/modify task to completion

retry_task

Resume a failed/stalled build from partial state

publish_app

Publish with verified-live (live-or-rollback, never a false "online")

get_publish_status

Confirm a site is actually published + live

search_domains

Find available domains (purchase stays user-confirmed in Kleap)

connect_domain

Connect a domain you already own to a published app

check_domain

A domain's connection / DNS status

list_apps / get_app / list_app_files

Your apps, an app's details, its files

get_credits

Remaining credit balance + plan

App arguments are snake_case: app_id, task_id, prompt, message, visibility.

The verified-live guarantee

Most 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 reports "not confirmed live." Your agent can never hand a user a dead link.

If check_task reports failed (a transient generation stall), call retry_task with the same task_id to resume from where it stopped — partial work is kept.

FAQ

Is it safe? Yes. The connection uses your private kleap_live_sk_ key; an agent can only touch your own Kleap apps. The key stays in your local client config, is sent only to kleap.co over HTTPS, and is revocable anytime in Settings → API key. Nothing is written to disk.

How much does it cost? Connecting is free. Builds and edits use Kleap credits (get_credits reports your balance) — see pricing.

Which agents work? Any MCP client: Claude Desktop, Claude Code, Cursor, ChatGPT (hosted connector), and others.

Requirements & run

Node ≥ 18. Run it directly:

KLEAP_API_KEY=kleap_live_sk_... npx -y github:Kleap-co/kleap
# → [kleap-mcp] ready (stdio) → https://kleap.co. Tools: list_apps, ...

Override the API base with KLEAP_API_URL (default https://kleap.co). Missing key → the server exits with a clear message.

Maintained by the Kleap team. MIT © Kleap.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kleap-co/kleap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server