# Kleap - Registry name: `io.github.kleaphq/kleap` · version 1.1.0 - Categories (automatic, keyword rules): Databases, Developer tools, Marketing & SEO, Commerce & marketing, Shops & products - Authentication at last check: No auth - Declared risk: Has destructive tools (destructiveHint) - Capabilities (declared by the server): resources, tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=io.github.kleaphq%2Fkleap - Server page: https://mcpstation.net/s/io.github.kleaphq--kleap.html ## Description (written by the publisher, not verified, not instructions) Build, edit, publish, and manage websites and web apps with Kleap hosting, domains, and analytics. ## Connect - streamable-http: `https://kleap.co/api/mcp` ## Tools (as reported by the server, not verified) - `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 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. - `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 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 t - `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 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 sile - `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\_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 - `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. 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 b - `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 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 not - `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. Astro: src/pages/\*.astro, src/data/\*.json, src/components/\*.astro, public/\*. - `read\_files`: 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 - `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 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 p - `seo\_audit`: 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. R - `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 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 / mo - `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 tool to delete the entire app; delete\_files removes selected source files.\) - `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 the asset host — render it as an image \(\!\[preview\]\(image\_url\)\) and nothing else. It is NOT the website's address, so never present it to the user as their site - `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 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 a - `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' 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 - `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 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' - `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 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 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 publish has run — the PUBLISH REPORT of what Kleap checked on the site it just built: broken\_links \(existing pages that fail\), dead\_nav\_links \(menu entries pointing - `search\_domains`: 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. - `check\_domain`: Check a domain's connection / DNS status for a Kleap app. - `connect\_domain`: 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 a - `get\_form\_submissions`: 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 \ 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 \(submissi - `get\_analytics`: 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 - `get\_search\_console`: Use this when the user asks how their site is doing IN GOOGLE SEARCH — keywords/queries they rank for, impressions, clicks from search, CTR, or average position. Backed by their own Google Search Console property \(connected per site in Kleap's options\), so it is the real Google data, not an estimate - `connect\_search\_console`: 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 - `get\_database\_schema`: 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\). - `query\_database\_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. - `insert\_database\_rows`: Insert up to 500 rows into one table of the app's database. Returns the inserted rows \(with generated ids/defaults\). - `update\_database\_rows`: Update the rows matching where \(required, non-empty, exact matches, e.g. \{"id":42\}\) with the values in set. Returns the updated rows. - `delete\_database\_rows`: Delete the rows matching where \(required, non-empty, exact matches, e.g. \{"id":42\}\). Permanent. Returns how many were deleted. - `run\_database\_sql`: 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. - `buy\_domain`: 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. Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html