Directory / Agents, IDEs & developer tools
Kleap
AI website builder MCP: create apps, edit files, connect domains, and publish. OAuth remote. Endpoint: https://kleap.co/api/mcp · Website
Live Answered an MCP handshake without credentials and listed 35 tools.
- Category
- Agents, IDEs & developer tools
- Transport
http- Source
- https://github.com/kleaphq/cli
- Endpoint
https://kleap.co/api/mcp- Reports itself as
- Kleap AI Website & App Builder 1.1.0
- Protocol
- 2025-06-18
- Tools
- 35
- Context cost
- about 9,795 tokens for the tool definitions (estimated at four characters per token)
- Tool definitions last changed
- 2026-11-12
- Handshake time
- 554 ms
- Repository
- 2 stars · last push 2026-11-09 · MIT
- Last checked
- 2026-11-26 12:37:27 UTC
- Listed since
- 2026-10-12
Health and compatibility
| Endpoint reachable | Verified | Responded in 554 ms |
|---|---|---|
| MCP handshake (initialize) | Verified | Completed without credentials |
| Tool discovery (tools/list) | Verified | 35 tools listed |
| Authentication | Verified | None needed to connect |
| Protocol version | Verified | 2025-06-18 |
| Transport | Verified | Streamable HTTP |
| Capabilities declared | Verified | resources, tools |
Last checked . Verified means the check saw it happen; it says nothing about whether the server is safe.
Recent history
100% of the last 30 daily checks reachable; median response 668 ms. Green answered, violet asked for auth, red did not answer.
Set up in your client
Claude Code
Run this in a terminal:
claude mcp add --transport http kleap https://kleap.co/api/mcpClaude Desktop
Open Settings → Connectors → Add custom connector and paste this URL:
https://kleap.co/api/mcpOr bridge it through mcp-remote in claude_desktop_config.json (needs Node.js):
{
"mcpServers": {
"kleap": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://kleap.co/api/mcp"
]
}
}
}Cursor
Or add it to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"kleap": {
"url": "https://kleap.co/api/mcp"
}
}
}VS Code
Or add it to .vscode/mcp.json:
{
"servers": {
"kleap": {
"type": "http",
"url": "https://kleap.co/api/mcp"
}
}
}Or from a terminal:
code --add-mcp '{"name": "kleap", "type": "http", "url": "https://kleap.co/api/mcp"}'Windsurf
Add it to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"kleap": {
"serverUrl": "https://kleap.co/api/mcp"
}
}
}Other clients
Most clients accept this shape. The endpoint is:
https://kleap.co/api/mcp{
"mcpServers": {
"kleap": {
"type": "http",
"url": "https://kleap.co/api/mcp"
}
}
}If it does not connect
- Restart the client after editing a config file, and keep keys out of files you commit.
- If the tools do not appear, open the client's MCP log: a 401 means the credentials were not accepted, and a timeout means the server did not answer.
Tools 35
Names, descriptions and input schemas exactly as the server returned them on 2026-11-26. This is the server author's own text. Nothing is run from this page. Labels such as read-only are declared by the server and are not verified. Raw JSON
buy_domaincan modifyexternal accessStart buying a domain: returns a Stripe checkout_url (valid 30 min) that the USER must open and pay. Nothing …
Start buying a domain: returns a Stripe checkout_url (valid 30 min) that the USER must open and pay. Nothing is bought until they complete checkout — give them the link, never say it is purchased. With app_id it is connected to that app after payment.
| Parameter | Type | Description | |
|---|---|---|---|
domain | string | required | e.g. 'mybakery.com' |
years | number | optional | 1-10, default 1 |
app_id | number | optional | App to connect it to |
registrant | object | optional | The domain OWNER (legal registrant) — can differ from the person paying. Ask the user for it; if omitted, the payer's billing details are used. |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "buy_domain",
"arguments": {
"domain": "...",
"context": "..."
}
}
}check_domaincan modifyCheck a domain's connection / DNS status for a Kleap app.
Check a domain's connection / DNS status for a Kleap app.
| Parameter | Type | Description | |
|---|---|---|---|
domain | string | required | The domain, e.g. 'mybakery.com' |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "check_domain",
"arguments": {
"domain": "...",
"context": "..."
}
}
}check_taskcan modifyCheck a create/modify task. Returns quickly with the CURRENT status — report it to the user rather than …
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 build takes 5-15 min, so the answer to 'is it ready?' is usually 'still building, here is the progress'. EXCEPTION: in a headless or one-shot run with nobody to answer (CLI, script, scheduled agent), do not stop at 'still building': call it again about every 30 seconds and stop only on completed (deployment_status deployed) or failed. The optional `wait` can shorten the hold but cannot exceed the server cap (8 seconds by default). status is one of: queued, processing, completed, failed, unknown_task (the id is unknown or aged out — that is an answer, not a failure: check the site itself with get_publish_status). On 'completed' the FILES are written; check deployment_status — 'pending' means the site is going live right now and production_url is still the PREVIOUS version, so say 'built, going live' and check once more in about a minute rather than reporting it stuck. 'deployed' means it is genuinely live. On 'failed': TASK_TIMEOUT/STALE_TASK = transient stall → retry_task (returns a NEW task_id to poll); TASK_FAILED = read error.message, retry once. (Running out of usage is not a task failure — create/modify reject up front with 402 INSUFFICIENT_CREDITS.)
| Parameter | Type | Description | |
|---|---|---|---|
task_id | string | required | The task_id returned by create_app or modify_app |
wait | number | optional | Optional. Seconds to hold the connection before returning. Capped server-side at a few seconds so the call always comes back inside a single turn — asking for more has no effect. Leave it unset. |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "check_task",
"arguments": {
"task_id": "...",
"context": "..."
}
}
}connect_domaincan modifyexternal accessConnect a domain the user ALREADY OWNS to a live Kleap app (routing + automatic TLS). The app must be live …
Connect a domain the user ALREADY OWNS to a live Kleap app (routing + automatic TLS). The app must be live first — a create_app/modify_app with deployment_status deployed already counts as published, so you do NOT need publish_app first. The user points the domain's A record to Kleap. Does not buy anything.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id (must be published) |
domain | string | required | The domain to connect, e.g. 'mybakery.com' |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "connect_domain",
"arguments": {
"app_id": 0,
"domain": "...",
"context": "..."
}
}
}connect_search_consolecan modifyUse this when the user wants to connect (or reconnect) Google Search Console for a site — typically right …
Use this when the user wants to connect (or reconnect) Google Search Console for a site — typically right after get_search_console reported connected:false. Returns a consent_url: give it to the user as a link and ask them to open it and approve access with the Google account that owns the domain in Search Console. That one approval MUST happen in a browser — Google does not allow it any other way, so never claim you can do it for them. Nothing else is needed afterwards: the Search Console property is bound to the site's custom domain automatically, and get_search_console starts answering. If requires_custom_domain is true the site has no custom domain yet: connecting Google would grant access to nothing, so connect a domain first (connect_domain) and publish. Already connected? It returns a consent_url too, but hand that over ONLY to switch Google account; otherwise just read the numbers.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id to connect Search Console for |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "connect_search_console",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}create_appcan modifyexternal accessUse this when the user wants a complete, hosted website or web app built from a text description (e.g. 'build …
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 AI builds AND auto-deploys the whole site; this takes a few minutes (typically 5 to 15 min). Returns a build_url instantly so the user can watch it build live. In a widget client (ChatGPT Apps) the preview above shows real-time progress and reveals the final live URL by itself, so you do NOT need to block or keep polling check_task. With NO widget (CLI, script, scheduled or one-shot run) nobody sees that preview and the site does not exist yet: call check_task with the returned task_id about every 30 seconds and stop only on completed (deployment_status deployed) or failed, then get_app for the live URL. Prefer this over write_files for full-site creation.
| Parameter | Type | Description | |
|---|---|---|---|
prompt | string | required | Detailed description of the website to build |
visibility | string | optional | Controls discovery listing: public = discoverable, personal = unlisted. Both may be deployed to a publicly reachable URL; personal does not add access control. One of: public, personal |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "create_app",
"arguments": {
"prompt": "...",
"context": "..."
}
}
}delete_database_rowscan modifydestructiveDelete the rows matching where (required, non-empty, exact matches, e.g. {"id":42}). Permanent. Returns how …
Delete the rows matching where (required, non-empty, exact matches, e.g. {"id":42}). Permanent. Returns how many were deleted.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
table | string | required | Table name (public schema) |
where | object | required | Which rows (required) |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "delete_database_rows",
"arguments": {
"app_id": 0,
"table": "...",
"where": {},
"context": "..."
}
}
}delete_filescan modifydestructiveRemove pages, components or assets from a site — the counterpart to write_files. Use it when a page should no …
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 duplicate, an outdated landing page, an image nobody references. Do NOT overwrite the file with empty content instead: that leaves a URL answering 200 with nothing, which is worse for SEO than a clean 404. Deleting a binary also removes its stored bytes. Paths Kleap owns (astro.config.mjs, package.json, tsconfig.json…) are refused — the build lays its own copy back down, so removing them changes nothing. The homepage (src/pages/index.astro) is refused too: a site with no homepage is broken — write a new one instead, writing replaces it. Returns which paths were actually deleted and which did not exist. The pages STAY LIVE until you call publish_app.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
paths | string[] | required | Project-relative paths to delete, e.g. ["src/pages/old.astro", "public/images/unused.png"] |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "delete_files",
"arguments": {
"app_id": 0,
"paths": [],
"context": "..."
}
}
}edit_filescan modifydestructiveChange PART of a file without resending it — the counterpart to write_files. Give `old_string` (exact text as …
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_string`; Kleap reads, replaces, stores. Nothing else moves. Use it whenever the file exists and only a line, block or URL changes: resending a 30KB layout to fix one line wastes tokens and risks corrupting the rest. read_files first, copy the text EXACTLY. `old_string` must appear once — otherwise the error names the count; add context or pass replace_all:true. Edits are validated together: if any is invalid, nothing is written. Across files the writes are sequential — a late failure names what was already applied. new_string "" deletes the match. Not for new files or binaries. Then publish_app.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
edits | object[] | required | Edits, in order. Validated before any write. |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "edit_files",
"arguments": {
"app_id": 0,
"edits": [],
"context": "..."
}
}
}find_appread-onlyResolve a website the user refers to by its ADDRESS — a custom domain ('mysite.ch'), a kleap.io URL …
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 app_id. Use this FIRST whenever the user names a site by its address instead of an app_id (e.g. 'edit mysite.ch'), then pass the returned app_id to get_app / modify_app / publish_app. ADDRESS TO SHOW THE USER: site_url. When the owner has connected a domain, custom_domain is set and site_url is that domain — say THAT, never the {slug}.kleap.io host, which is the internal address they did not choose.
| Parameter | Type | Description | |
|---|---|---|---|
query | string | required | A domain, full URL, or slug — e.g. 'mysite.ch', 'https://mysite.ch', or 'mysite.kleap.io' |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "find_app",
"arguments": {
"query": "...",
"context": "..."
}
}
}generate_imagecan modifydestructivePut a REAL photo or illustration on the site by describing it — no image bytes to send. Give a vivid `prompt` …
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. public/hero.jpg); Kleap generates it with Cloudflare FLUX.2 and stores it as a proper binary asset, exactly like write_files with encoding:"base64" but with NO base64 to transmit (a real image's base64 is too big for a model to emit reliably — this is the ONLY dependable way to add a generated picture). Use it for hero photos, section illustrations, onboarding images, OG images, or to replace a broken/ugly image. Square 768×768 by default; pass width/height (256–1440) for other ratios; hd:true uses the premium model (sharper, slower). ⚠️ To REPLACE an existing image, generate to a NEW filename (e.g. hero-2.jpg) and point the markup at it — overwriting the same path can be served stale from CDN/R2 cache. After it returns, call publish_app to deploy it live.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
path | string | required | public/ image path to create, ending .png/.jpg/.jpeg/.webp (e.g. public/hero.jpg). Use a NEW name to replace an image. |
prompt | string | required | Vivid description of the image to generate (subject, mood, lighting, style). |
width | number | optional | Pixel width 256–1440 (default 768). |
height | number | optional | Pixel height 256–1440 (default 768). |
hd | boolean | optional | true = premium model (flux-2-dev): sharper, slower. Default = fast klein model. |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "generate_image",
"arguments": {
"app_id": 0,
"path": "...",
"prompt": "...",
"context": "..."
}
}
}get_analyticsread-onlyUse this when the user asks about traffic, visitors, or which pages/referrers are performing on their …
Use this when the user asks about traffic, visitors, or which pages/referrers are performing on their PUBLISHED site. Backed by the same analytics as the Kleap dashboard's Visitors view. Returns zeroed data with configured:false if the app has never been published (analytics is set up automatically on publish). Requires the analytics:read scope — sessions connected BEFORE this tool shipped don't have it: on INSUFFICIENT_SCOPE the connection has NOT expired: it was authorized before this tool existed and needs one re-authorization to add the scope. Say that, never that it expired.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id to fetch analytics for |
period | string | optional | Time window: '7d' (default), '30d', or '90d' One of: 7d, 30d, 90d |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_analytics",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_appread-onlyShow a website to the user: its screenshot, name and live address. This is the ONE tool that renders the …
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 after a build or edit has finished and deployed (check_task says deployment_status deployed) — that is what lets the user SEE what was built. Also use it for plain details: name, slug, URLs, creation date, status, published_at (when the live version went up, null = never published) and has_unpublished_changes (true = some file was edited after the last publish, so publish_app would ship it; call this BEFORE publishing work you did not write; a file deleted since the last publish is not detected; null = cannot be told for a legacy Next.js app). ADDRESS TO SHOW: site_url. If custom_domain is set, the owner connected that domain and it IS their site's address — never hand them the {slug}.kleap.io host instead, they did not choose it. Never call this while a build is still running: it would show the previous version as if it were the new one.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_app",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_creditsread-onlyUse this when the user asks how much usage they have left or about their plan status.
Use this when the user asks how much usage they have left or about their plan status.
| Parameter | Type | Description | |
|---|---|---|---|
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_credits",
"arguments": {
"context": "..."
}
}
}get_database_schemaread-onlyThe app's Kleap Database (Postgres): its tables, row counts and columns. Call it before reading or writing …
The app's Kleap Database (Postgres): its tables, row counts and columns. Call it before reading or writing rows. provisioned:false means the app has no database yet — create one with modify_app (describe the data to store).
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_database_schema",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_form_submissionsread-onlyUse this when the user asks who filled out their contact form, or wants to see/export leads from their live …
Use this when the user asks who filled out their contact form, or wants to see/export leads from their live site. Returns submissions from any <form> built with KleapForm on the app, newest first. Empty list is normal for a brand new site with no visitors yet. Requires the forms:read scope (submissions contain visitor PII) — sessions connected BEFORE this tool shipped don't have it: on INSUFFICIENT_SCOPE the connection has NOT expired: it was authorized before this tool existed and needs one re-authorization to add the scope. Say that, never that it expired.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id to fetch submissions for |
limit | number | optional | Max rows to return (default 20, max 100) |
since | string | optional | Only return submissions at/after this ISO 8601 date, e.g. '2026-06-01T00:00:00Z' |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_form_submissions",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_publish_statusread-onlyCheck whether the site is published and return its live URL and latest report: broken_links, dead_nav_links, …
Check whether the site is published and return its live URL and latest report: broken_links, dead_nav_links, incoherent_pages, checks, design_gate, live_verified and SEO coverage. report.checked:true means a report was produced; report.audit_ran:false means the link, form and design audit did not run for this deploy, so findings are unavailable. Do NOT describe a publish as clean unless the audit ran. Read the report and offer fixes for findings, including forms that submit into the void, buttons do nothing, and hand-rolled auth. If audit_ran is false, run seo_audit on production_url. status is one of: published, deploying, not_published, unknown_app. This is the current state; do not poll repeatedly.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID to check |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_publish_status",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_screenshotcan modifyUse this when the user wants to see a visual screenshot of their website. Rate-limited to 1/min per app. The …
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 the asset host — render it as an image () and nothing else. It is NOT the website's address, so never present it to the user as their site link, and never open, fetch or web-search it: the site's own address is production_url from get_app / find_app.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_screenshot",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}get_search_consoleread-onlyUse this when the user asks how their site does IN GOOGLE SEARCH — queries they rank for, impressions, …
Use this when the user asks how their site does IN GOOGLE SEARCH — queries they rank for, impressions, clicks, CTR, average position. Real Search Console data from their own property, not an estimate. Returns totals plus top queries and top pages. It lags ~2 days, so the newest days are always incomplete — say so rather than reporting a drop. If connected is false, call connect_search_console(app_id) — it returns a consent_url to hand the owner, and that IS the whole setup: the property matching the site's domain is bound automatically as soon as they approve. Do NOT send them hunting through Kleap's settings. If site_selected is false the message names the cause — read it, do not guess: the site has no custom domain (connect_domain first — a {slug}.kleap.io host can never be a Search Console property), or the Google account has no VERIFIED property for that domain yet (add and verify it, then read again — Kleap binds it). For all-source visitors use get_analytics. Requires the analytics:read scope — on INSUFFICIENT_SCOPE the connection has NOT expired: it was authorized before this tool existed and needs one re-authorization to add the scope. Say that, never that it expired.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id to fetch search data for |
period | string | optional | Time window: '28d' (default, the window Search Console itself shows), '7d', '30d' or '90d' One of: 7d, 28d, 30d, 90d |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "get_search_console",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}insert_database_rowscan modifyInsert up to 500 rows into one table of the app's database. Returns the inserted rows (with generated …
Insert up to 500 rows into one table of the app's database. Returns the inserted rows (with generated ids/defaults).
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
table | string | required | Table name (public schema) |
rows | object[] | required | Rows: column → value |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "insert_database_rows",
"arguments": {
"app_id": 0,
"table": "...",
"rows": [],
"context": "..."
}
}
}list_app_filesread-onlyList the source file PATHS of an app (names only, no contents). See the project structure, then read_files to …
List the source file PATHS of an app (names only, no contents). See the project structure, then read_files to get contents before editing. Astro: src/pages/*.astro, src/data/*.json, src/components/*.astro, public/*.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "list_app_files",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}list_appsread-onlyUse this when the user wants to see all their websites with name, slug, preview URL, and production URL.
Use this when the user wants to see all their websites with name, slug, preview URL, and production URL.
| Parameter | Type | Description | |
|---|---|---|---|
limit | number | optional | Number of apps to return (max 100) |
offset | number | optional | Pagination offset |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "list_apps",
"arguments": {
"context": "..."
}
}
}modify_appcan modifydestructiveexternal accessUse this when the user wants to change or update an existing website. The AI can overwrite or remove existing …
Use this when the user wants to change or update an existing website. The AI can overwrite or remove existing content and automatically publishes the result to the live site. This uses Kleap usage. Needs the app_id — if the user named the site by its address (e.g. 'mysite.ch'), call find_app first to get the app_id.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID to modify |
message | string | required | What to change (e.g. 'Change colors to blue, add a contact form') |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "modify_app",
"arguments": {
"app_id": 0,
"message": "...",
"context": "..."
}
}
}publish_appcan modifydestructiveexternal accessUse this to take a website LIVE at its public URL. Publishing is VERIFIED-LIVE: the app is only reported …
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 provably serving — otherwise it reports 'not confirmed live', never a false 'it is online'. Publishing also AUDITS the built site: every internal link on every page (menu entries to a page never written are the #1 case), pages whose content contradicts the link leading to them, and JSON-LD/sitemap/robots coverage. Most deploys land in under a minute, so this call WAITS a bounded time and returns that `report` here when it does — read it before calling the launch a success, and if it lists findings, FIX THEM (write the missing page, or remove the dead link) before you answer, as you would a build error. On a slower deploy it returns 'publishing' with no report; then do not poll get_publish_status in a loop inside one turn — check once when the user asks again.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID to publish |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "publish_app",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}query_database_rowsread-onlyRead rows from one table of the app's database. where = exact matches, e.g. {"status":"new"}. Max 500 rows …
Read rows from one table of the app's database. where = exact matches, e.g. {"status":"new"}. Max 500 rows per call; page with offset while has_more is true.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
table | string | required | Table name (public schema) |
where | object | optional | Column equalities |
order_by | string | optional | Column to sort by |
order | string | optional | asc (default) or desc |
limit | number | optional | 1-500, default 100 |
offset | number | optional | |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "query_database_rows",
"arguments": {
"app_id": 0,
"table": "...",
"context": "..."
}
}
}read_filesread-onlyRead existing file contents so you can edit them SAFELY instead of rewriting blind (which risks breaking …
Read existing file contents so you can edit them SAFELY instead of rewriting blind (which risks breaking shared components/homepages). Loop: list_app_files → read_files → edit_files (change just the lines that must change) → publish_app; use write_files instead only when you are writing a whole new file. Use it to fix headers/footers, wrong phone numbers, broken links, dead forms. Works with a Read-only key. Returns { files: [{ path, content, type, bytes, truncated?, returned_bytes? }], missing }. Text is capped at 256 KiB per file and 1 MiB per call; truncated files are explicitly marked, and files beyond the call budget must be read separately.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
paths | string[] | required | Project-relative paths to read, from list_app_files (e.g. ['src/components/Header.astro','src/components/Footer.astro']) |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "read_files",
"arguments": {
"app_id": 0,
"paths": [],
"context": "..."
}
}
}rename_appcan modifyRename an app's display name. Does NOT change the URL — the live address ({slug}.kleap.io) and any links to …
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 tool to delete the entire app; delete_files removes selected source files.)
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID to rename |
name | string | required | The new display name |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "rename_app",
"arguments": {
"app_id": 0,
"name": "...",
"context": "..."
}
}
}retry_taskcan modifydestructiveexternal accessResume a failed or stalled create/modify task from where it stopped — partial files are preserved. Use this …
Resume a failed or stalled create/modify task from where it stopped — partial files are preserved. Use this when check_task reports 'failed' instead of starting a brand-new create_app. Returns a NEW task_id — poll check_task on that NEW id (not the original). Budget: retry TASK_TIMEOUT/STALE_TASK up to TWICE; retry TASK_FAILED only ONCE; then stop and tell the user. NEVER retry a non-transient error (402 INSUFFICIENT_CREDITS = out of usage, a rejected prompt).
| Parameter | Type | Description | |
|---|---|---|---|
task_id | string | required | The failed task_id to resume (from create_app/modify_app) |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "retry_task",
"arguments": {
"task_id": "...",
"context": "..."
}
}
}run_database_sqlcan modifydestructiveRun SQL on the app's database (owner-level, needs database:write), values as $1, $2 in params. Rows capped at …
Run SQL on the app's database (owner-level, needs database:write), values as $1, $2 in params. Rows capped at 500 / 5 MB. A table left without row-level security is rolled back (RLS_REQUIRED). To just read rows, prefer query_database_rows.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
sql | string | required | The SQL statement |
params | array | optional | Values for $1, $2, … |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "run_database_sql",
"arguments": {
"app_id": 0,
"sql": "...",
"context": "..."
}
}
}search_domainsread-onlyexternal accessSearch for available domains for a site (e.g. 'mybakery'). Returns available names across TLDs. To buy one, …
Search for available domains for a site (e.g. 'mybakery'). Returns available names across TLDs. To buy one, call buy_domain — it returns a checkout link the user pays. Use connect_domain for a domain the user already owns.
| Parameter | Type | Description | |
|---|---|---|---|
query | string | required | Base name to search, without a TLD (e.g. 'mybakery') |
tlds | string[] | optional | Optional TLDs to check, e.g. ['.com', '.io', '.ch'] |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "search_domains",
"arguments": {
"query": "...",
"context": "..."
}
}
}seo_auditread-onlyexternal accessFree SEO check of ONE public website URL, on Kleap or not (no app_id, no usage consumed, no AI call). Reads …
Free SEO check of ONE public website URL, on Kleap or not (no app_id, no usage consumed, no AI call). Reads up to 12 pages plus sitemap.xml and robots.txt and checks title, meta description, h1, canonical, viewport, lang, og:image, JSON-LD, image alt, thin content, noindex and dead internal links. Returns score.percent out of 100 (a Kleap checklist, not a Google metric), top3 fixes and every finding with its page, impact (1-10) and fix. For a Kleap site apply fixes with read_files, edit_files, publish_app, then run it again.
| Parameter | Type | Description | |
|---|---|---|---|
url | string | required | Public site address, e.g. 'https://example.com' or 'example.com' |
max_pages | integer | optional | Pages to read, homepage first (default 12, max 25) |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "seo_audit",
"arguments": {
"url": "...",
"context": "..."
}
}
}update_database_rowscan modifydestructiveUpdate the rows matching where (required, non-empty, exact matches, e.g. {"id":42}) with the values in set. …
Update the rows matching where (required, non-empty, exact matches, e.g. {"id":42}) with the values in set. Returns the updated rows.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app id |
table | string | required | Table name (public schema) |
where | object | required | Which rows (required) |
set | object | required | New values: column → value |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "update_database_rows",
"arguments": {
"app_id": 0,
"table": "...",
"where": {},
"set": {},
"context": "..."
}
}
}upgrade_planread-onlyexternal accessUse this when the user wants a paid Kleap plan, runs out of usage, or needs a feature that requires one …
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 an upgrade_url the USER must open and pay — nothing is charged before that, so never say they are subscribed. plan: 'monthly' (default) or 'annual'; 'credits' (legacy name) buys extra usage for users who already have a paid plan. Do not quote a price: the page shows it in the user's currency.
| Parameter | Type | Description | |
|---|---|---|---|
plan | string | optional | Default monthly One of: monthly, annual, credits |
app_id | number | optional | The site this upgrade is for (shown on the checkout) |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "upgrade_plan",
"arguments": {
"context": "..."
}
}
}wake_appcan modifyUse this when the user's website preview is sleeping (sandboxes auto-stop after 15 min). Takes ~30-60s to …
Use this when the user's website preview is sleeping (sandboxes auto-stop after 15 min). Takes ~30-60s to restart.
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID to wake up |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "wake_app",
"arguments": {
"app_id": 0,
"context": "..."
}
}
}write_filescan modifydestructiveWrite WHOLE files DIRECTLY — YOUR model generates the code, Kleap stores, builds and deploys it as-is. To …
Write WHOLE files DIRECTLY — YOUR model generates the code, Kleap stores, builds and deploys it as-is. To change something in a file that ALREADY EXISTS, use edit_files instead (read_files → edit_files): it replaces just the lines you name, while write_files makes you retype the entire file and silently drops whatever you leave out — on a 30KB shared layout that is how headers and footers get wiped. No Kleap-AI step, so what ships is byte-for-byte what you wrote — the right choice when a phrase, a URL or a schema must be exact. Publishing still audits the result (see publish_app). Best for scaffolding exact pages/components — e.g. programmatic-SEO routes. Astro paths (src/pages/*.astro, src/data/*.json, src/components/*.astro, public/*). Overwrites by path. NPM PACKAGES: do not write package.json (the build replaces it) — the build installs whatever your code IMPORTS, so `import { jsPDF } from "jspdf";` is all it takes. Supported on import: @tiptap/*, jspdf, pdf-lib, html2canvas, papaparse, file-saver, jszip, @ffmpeg/*, howler, wavesurfer.js, browser-image-compression, react-dropzone, recharts, chart.js, d3, @tanstack/*, react-hook-form, three, @react-three/*, leaflet, maplibre-gl, gsap, framer-motion, zustand, date-fns, react-markdown, axios, socket.io-client, radix-ui/*, next-themes, lucide-react, @tabler/*, openai, @ai-sdk/*; anything else is refused at build with a message naming it. A client-side router is never the answer — a route is a FILE (src/pages/about.astro → …
| Parameter | Type | Description | |
|---|---|---|---|
app_id | number | required | The app ID |
files | object[] | required | Files to write/overwrite: [{ path, content, encoding? }] |
context | string | required | Why this call, in one short sentence. Used to improve the connector; never include credentials or personal data. |
Example call (required arguments only, placeholder values):
{
"method": "tools/call",
"params": {
"name": "write_files",
"arguments": {
"app_id": 0,
"files": [],
"context": "..."
}
}
}Resources 3
App Preview WidgetPreview widget for app creation and modificationApp Preview Widget (previous address)Preview widget for app creation and modificationApp Card WidgetCard grid widget for listing apps
Badge
Maintain this server? Put its live status in your README:
[](https://mcp.aianytime.net/s/kleap/)Edit this entry · Report a problem
More in Agents, IDEs & developer tools
Checks record what a server answered, not whether it is safe. A listing is not a security audit; read a server's source and permissions before you connect it. Add a server · JSON · llms.txt · llms-full.txt
Browse: Agents, IDEs & developer tools · Search & discovery · Knowledge, memory & context · Media & generation · Security · Finance & markets · Marketing, content & social · Cloud, ops & data · Commerce, travel & logistics · Work & productivity · No account needed · Local servers