# Kleap MCP server

Build, edit, publish, and manage websites and web apps with Kleap hosting, domains, and analytics.

## Facts

- Endpoint: https://kleap.co/api/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: F (5/100, scanned 2026-12-01) · report https://gateturbo.com/report/b068c0fd-9cb9-4eb0-89f0-437607009e9b
- Tools: 35
- Category: Data & databases · source: registry
- Repository: https://github.com/kleaphq/cli
- Last probed: 2026-10-07 · first listed: 2026-09-15
- Directory page: https://gateturbo.com/mcp/kleap · this document: https://gateturbo.com/mcp/kleap.md · JSON: https://gateturbo.com/api/directory/servers/kleap

## Tools (35)

- `create_app`: Use this when the user wants a complete, hosted website or web app built from a text description (e.g. 'build me a website for X'). Kleap's 
- `modify_app`: Use this when the user wants to change or update an existing website. The AI can overwrite or remove existing content and automatically publ
- `write_files`: Write WHOLE files DIRECTLY — YOUR model generates the code, Kleap stores, builds and deploys it as-is. To change something in a file that AL
- `edit_files`: Change PART of a file without resending it — the counterpart to write_files. Give `old_string` (exact text as in the file today) and `new_st
- `generate_image`: Put a REAL photo or illustration on the site by describing it — no image bytes to send. Give a vivid `prompt` and a `public/` `path` (e.g. p
- `delete_files`: Remove pages, components or assets from a site — the counterpart to write_files. Use it when a page should no longer exist: a wrong route, a
- `list_app_files`: List the source file PATHS of an app (names only, no contents). See the project structure, then read_files to get contents before editing. A
- `read_files`: Read existing file contents so you can edit them SAFELY instead of rewriting blind (which risks breaking shared components/homepages). Loop:
- `list_apps`: Use this when the user wants to see all their websites with name, slug, preview URL, and production URL.
- `get_app`: Show a website to the user: its screenshot, name and live address. This is the ONE tool that renders the finished-site card, so call it once
- `find_app`: Resolve a website the user refers to by its ADDRESS — a custom domain ('mysite.ch'), a kleap.io URL ('mysite.kleap.io'), or a slug — to its 
- `rename_app`: Rename an app's display name. Does NOT change the URL — the live address ({slug}.kleap.io) and any links to it stay intact. (There is no too
- `get_screenshot`: Use this when the user wants to see a visual screenshot of their website. Rate-limited to 1/min per app. The returned image_url is a PNG on 
- `check_task`: Check a create/modify task. Returns quickly with the CURRENT status — report it to the user rather than calling again in the same turn; a bu
- `retry_task`: Resume a failed or stalled create/modify task from where it stopped — partial files are preserved. Use this when check_task reports 'failed'
- `get_credits`: Use this when the user asks how much usage they have left or about their plan status.
- `upgrade_plan`: Use this when the user wants a paid Kleap plan, runs out of usage, or needs a feature that requires one (custom domain, more usage). Returns
- `wake_app`: Use this when the user's website preview is sleeping (sandboxes auto-stop after 15 min). Takes ~30-60s to restart.
- `publish_app`: Use this to take a website LIVE at its public URL. Publishing is VERIFIED-LIVE: the app is only reported published once the new version is p
- `get_publish_status`: Use this to check whether a website is actually published and live. Returns the published state, the live production URL, and — once a publi
- … 15 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Kleap to your gate (https://gateturbo.com/login?next=/discovery?connect=kleap).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/kleap/claude · Claude Desktop → https://gateturbo.com/mcp/kleap/claude-desktop · ChatGPT → https://gateturbo.com/mcp/kleap/chatgpt · Codex → https://gateturbo.com/mcp/kleap/codex · Cursor → https://gateturbo.com/mcp/kleap/cursor · Windsurf → https://gateturbo.com/mcp/kleap/windsurf · VS Code → https://gateturbo.com/mcp/kleap/vscode · Gemini CLI → https://gateturbo.com/mcp/kleap/gemini-cli · OpenClaw → https://gateturbo.com/mcp/kleap/openclaw · n8n → https://gateturbo.com/mcp/kleap/n8n · A script or server → https://gateturbo.com/mcp/kleap/script

### Direct: Claude Code

Add Kleap to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http kleap https://kleap.co/api/mcp
```

### Direct: Cursor

Add Kleap to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "kleap": {
      "url": "https://kleap.co/api/mcp"
    }
  }
}
```

### Direct: VS Code

Add Kleap to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "kleap": {
      "type": "http",
      "url": "https://kleap.co/api/mcp"
    }
  }
}
```

### Direct: Codex

Add Kleap to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.kleap]
url = "https://kleap.co/api/mcp"
```

### Direct: Claude

Add Kleap as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Kleap" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://kleap.co/api/mcp
```

### Direct: ChatGPT

Add Kleap as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Kleap" with the URL below.
3. Set authentication to none.

```
https://kleap.co/api/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
