# Kleap MCP server

> Lets AI agents build, edit, and publish live websites with integrated hosting, databases, authentication, and domain management.

- Repository: https://github.com/kleaphq/cli
- Page: https://hostedmcp.org/servers/kleaphq/cli
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 1.1.0

## Install

### Claude Code

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

### Cursor (`~/.cursor/mcp.json`)

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

### VS Code (`.vscode/mcp.json`)

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

### Codex (`~/.codex/config.toml`)

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

### Gemini CLI (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `KLEAP_API_KEY` | no | no |  |

## Tools (3)

- `find_app`
- `generate_image`
- `get_form_submissions`

## FAQ

### How can I use Kleap with my AI agent?

You can use the CLI for shell-based agents like Claude Code, or the MCP server for native clients like Claude Desktop, Cursor, and ChatGPT.

### Does Kleap provide hosting and databases?

Yes, Kleap includes hosting, databases, authentication, and domains as part of its infrastructure.

### How do I authenticate with the MCP server?

You can connect via OAuth by adding the hosted connector URL, or by using a local CLI with a saved token or an API key.

### Can I restrict what my agent can do?

Yes, you can generate least-privilege API keys with specific scopes such as Read-only, Build, or Full access.
