Kleap

Kleap

Enables AI agents to build, edit, and publish live websites with hosting, database, auth, and domains via the Model Context Protocol.

Category
Visit Server

README

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:

<details open> <summary><b>Claude Desktop</b> — <code>claude_desktop_config.json</code></summary>

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

</details>

<details> <summary><b>Cursor</b> — <code>.cursor/mcp.json</code></summary>

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

</details>

<details> <summary><b>ChatGPT & hosted agents</b> — no local process</summary>

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

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.


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.

Links

  • Kleap: https://kleap.co · MCP & CLI page: https://kleap.co/mcp
  • Issues & security: https://github.com/Kleap-co/kleap/issues

Maintained by the Kleap team. MIT © Kleap.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured