webprompter.ai — Static Sites & Custom Domains for Coding Agents is an MCP server published by ai.webprompter, hosted at mcp.webprompter.ai. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 12 tools, including create_site, list_sites, get_deployment_rules, create_deploy_upload, commit_deploy_upload.
Deploy static sites and connect custom domains from Claude, Cursor, or any MCP agent.
1 connections through 5 shared values. Tap any node.
Create a new site owned by the caller. Site name must be lowercase letters/digits/hyphens, 1-64 chars. Returns { site } only. Read server instructions and call get_deployment_rules before building a zip or deploying.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Site slug |
{
"name": "create_site",
"description": "Create a new site owned by the caller. Site name must be lowercase letters/digits/hyphens, 1-64 chars. Returns { site } only. Read server instructions and call get_deployment_rules before building a zip or deploying.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Site slug"
}
},
"additionalProperties": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List all sites owned by the authenticated caller, including deploy URLs, custom domain status, and bandwidth usage (with warning at 80% and shutdown message when the custom domain is suspended).
No parameters.
{
"name": "list_sites",
"description": "List all sites owned by the authenticated caller, including deploy URLs, custom domain status, and bandwidth usage (with warning at 80% and shutdown message when the custom domain is suspended).",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}REQUIRED before deploy: returns platform deploy rules + a site-scoped checklist, example URLs for this site_id, and a short-lived deploy_ack_token. Call after create_site or list_sites. Pass the token to create_deploy_upload and commit_deploy_upload.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | Site UUID from create_site / list_sites |
{
"name": "get_deployment_rules",
"description": "REQUIRED before deploy: returns platform deploy rules + a site-scoped checklist, example URLs for this site_id, and a short-lived deploy_ack_token. Call after create_site or list_sites. Pass the token to create_deploy_upload and commit_deploy_upload.",
"inputSchema": {
"type": "object",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string",
"description": "Site UUID from create_site / list_sites"
}
},
"additionalProperties": false
}
}Start a staging deploy: request presigned PUT URL for the zip. Use promote_staging_to_prod to go live on production. Requires deploy_ack_token from get_deployment_rules when MCP_ENFORCE_DEPLOY_ACK is on. Pass the same token to commit_deploy_upload. Returns upload_id; PUT the zip then commit_deploy_upload.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | |
| sha256_hex | string | Optional SHA-256 digest hex for upload integrity verification. |
| size_bytes * | number | Expected zip size in bytes. |
| deploy_ack_token | string | From get_deployment_rules.deploy_ack_token (required when MCP_ENFORCE_DEPLOY_ACK is true). |
{
"name": "create_deploy_upload",
"description": "Start a staging deploy: request presigned PUT URL for the zip. Use promote_staging_to_prod to go live on production. Requires deploy_ack_token from get_deployment_rules when MCP_ENFORCE_DEPLOY_ACK is on. Pass the same token to commit_deploy_upload. Returns upload_id; PUT the zip then commit_deploy_upload.",
"inputSchema": {
"type": "object",
"required": [
"site_id",
"size_bytes"
],
"properties": {
"site_id": {
"type": "string"
},
"sha256_hex": {
"type": "string",
"description": "Optional SHA-256 digest hex for upload integrity verification."
},
"size_bytes": {
"type": "number",
"description": "Expected zip size in bytes."
},
"deploy_ack_token": {
"type": "string",
"description": "From get_deployment_rules.deploy_ack_token (required when MCP_ENFORCE_DEPLOY_ACK is true)."
}
},
"additionalProperties": false
}
}Finalize deploy after PUT using upload_id. Pass the same deploy_ack_token from get_deployment_rules for this site as on create_deploy_upload when MCP_ENFORCE_DEPLOY_ACK is on.
| Parameter | Type | Description |
|---|---|---|
| upload_id * | string | |
| deploy_ack_token | string | From get_deployment_rules.deploy_ack_token (required when MCP_ENFORCE_DEPLOY_ACK is true). |
{
"name": "commit_deploy_upload",
"description": "Finalize deploy after PUT using upload_id. Pass the same deploy_ack_token from get_deployment_rules for this site as on create_deploy_upload when MCP_ENFORCE_DEPLOY_ACK is on.",
"inputSchema": {
"type": "object",
"required": [
"upload_id"
],
"properties": {
"upload_id": {
"type": "string"
},
"deploy_ack_token": {
"type": "string",
"description": "From get_deployment_rules.deploy_ack_token (required when MCP_ENFORCE_DEPLOY_ACK is true)."
}
},
"additionalProperties": false
}
}List deployments for a site, optionally filtered to one environment. Excludes pruned (deleted) versions. Only the current deployment plus 5 previous versions per environment are retained.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | |
| environment | string | one of ["staging","prod"] |
{
"name": "list_deployments",
"description": "List deployments for a site, optionally filtered to one environment. Excludes pruned (deleted) versions. Only the current deployment plus 5 previous versions per environment are retained.",
"inputSchema": {
"type": "object",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string"
},
"environment": {
"enum": [
"staging",
"prod"
],
"type": "string"
}
},
"additionalProperties": false
}
}Promote the current staging deployment to production (the only way to go live on prod). Copies the active staging artifact into a new prod version. Requires an active current staging deployment; does not accept a zip.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string |
{
"name": "promote_staging_to_prod",
"description": "Promote the current staging deployment to production (the only way to go live on prod). Copies the active staging artifact into a new prod version. Requires an active current staging deployment; does not accept a zip.",
"inputSchema": {
"type": "object",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string"
}
},
"additionalProperties": false
}
}Promote a previous deployment back to current for its environment.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | |
| deployment_id * | string |
{
"name": "rollback_deployment",
"description": "Promote a previous deployment back to current for its environment.",
"inputSchema": {
"type": "object",
"required": [
"site_id",
"deployment_id"
],
"properties": {
"site_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
},
"additionalProperties": false
}
}Download a deployment version as a zip (presigned GET URL, expires in ~15 minutes). Use list_deployments to find deployment_id. Omits cleanUrls materialized copies when possible and includes static-hosting.json for editing and redeploying to staging.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | |
| deployment_id * | string |
{
"name": "download_deployment",
"description": "Download a deployment version as a zip (presigned GET URL, expires in ~15 minutes). Use list_deployments to find deployment_id. Omits cleanUrls materialized copies when possible and includes static-hosting.json for editing and redeploying to staging.",
"inputSchema": {
"type": "object",
"required": [
"site_id",
"deployment_id"
],
"properties": {
"site_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
},
"additionalProperties": false
}
}Attach an externally owned domain to a site's live prod deployment. Returns ACM DNS validation CNAMEs (apex + www). Requires active prod deploy and an active domain subscription (subscribe in console first).
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | |
| hostname * | string | Apex hostname (e.g. example.com) |
{
"name": "connect_custom_domain",
"description": "Attach an externally owned domain to a site's live prod deployment. Returns ACM DNS validation CNAMEs (apex + www). Requires active prod deploy and an active domain subscription (subscribe in console first).",
"inputSchema": {
"type": "object",
"required": [
"site_id",
"hostname"
],
"properties": {
"site_id": {
"type": "string"
},
"hostname": {
"type": "string",
"description": "Apex hostname (e.g. example.com)"
}
},
"additionalProperties": false
}
}Poll custom domain setup progress; triggers one processing tick. Returns steps and dns_records (cert validation + routing).
| Parameter | Type | Description |
|---|---|---|
| site_id * | string |
{
"name": "get_custom_domain_status",
"description": "Poll custom domain setup progress; triggers one processing tick. Returns steps and dns_records (cert validation + routing).",
"inputSchema": {
"type": "object",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string"
}
},
"additionalProperties": false
}
}Remove custom domain connection for a site (best-effort CloudFront disable + ACM delete).
| Parameter | Type | Description |
|---|---|---|
| site_id * | string |
{
"name": "disconnect_custom_domain",
"description": "Remove custom domain connection for a site (best-effort CloudFront disable + ACM delete).",
"inputSchema": {
"type": "object",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string"
}
},
"additionalProperties": false
}
}# Static site deploy contract — READ BEFORE building a zip or calling deploy tools rules_version: 1 ## URLs and HTML - Files are served under a path prefix: `/sites/{site_id}/{staging|prod}/current/`. - Use RELATIVE `href` / `src` (no leading `/`) so assets resolve under that prefix. - **cleanUrls trap:** If `static-hosting.json` materializes `somepath/index.html`, the browser URL is `.../somepath/`. Relative `app.js` then resolves to `.../somepath/app.js`, not the zip root. Fix with `../app.js` / `../style.css` in that HTML, link to `.html` instead of `path/`, or duplicate assets under `somepath/`. ## Zip contents - `index.html` at zip root is required. - Max zip size: 52428800 bytes (~50 MiB). - Optional zip root `static-hosting.json`: cleanUrls, preflight.forbidRootRelative, navigationFallback (declares **SPA** vs **MPA** routing; the file itself is **not** uploaded to S3, but its routing intent is honored by the CDN). - **SPA** (history-mode router) → set `navigationFallback.enabled: true`. Extensionless paths under the site prefix render the shell HTML (`navigationFallback.rewrite`, default `/index.html`); list path patterns under `navigationFallback.exclude` to skip the shell. - **MPA** (multi-page) → omit `navigationFallback` or set `enabled: false`. Extensionless paths resolve to `{path}.html`; unknown extensions are passed through to origin (may 404). - With **no** `static-hosting.json` in the zip, routing defaults to **SPA** for backward compatibility. ## MCP workflow (order matters) 1. `create_site` or `list_sites` → obtain `site_id`. 2. **`get_deployment_rules`** with that `site_id` → read the full JSON; copy **`deploy_ack_token`**. 3. Build the zip following the rules above, then `create_deploy_upload` + `commit_deploy_upload` (always staging) — pass the same **`deploy_ack_token`** on both. 4. When staging looks good, call **`promote_staging_to_prod`** to go live on production. 5. To edit an older version: **`list_deployments`** → **`download_deployment`** (presigned zip) → change files → redeploy to staging. 6. Only the current deployment plus **5 previous versions** per environment are kept; older versions are marked **deleted** (artifacts removed, history row retained). ## Custom domain (BYO DNS, prod only) - Requires an **active prod** deployment and an **active domain subscription** (subscribe in the web console first; deploys are free). - `connect_custom_domain` → add returned **cert_validation** CNAMEs at your DNS host (apex + www). - Poll `get_custom_domain_status` until status is `active` (typically 10–30 minutes). - When status reaches `awaiting_routing_dns`, add **routing** DNS: point apex (ALIAS/A) and www (CNAME) to the CloudFront domain shown. - `disconnect_custom_domain` removes the connection (best-effort CDN/ACM cleanup). ## When deploy returns 400 - Parse tool error JSON: **`details.agent_fix`** and **`details.violation`**; fix the artifact and retry (do not recreate the site unless the slug was wrong). --- Authentication required. To use the webprompter MCP server: 1. Create an account at https://webprompter.ai/console#signup 2. Log in and create an API key in the "API keys" panel 3. Add it to mcp.json under headers["X-Api-Key"] as your raw key: wpk_live_... Sign up: https://webprompter.ai/console#signup Console: https://webprompter.ai/console
Names, descriptions and schemas were written by the server and are shown as data.