peekaboop
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Peekaboop
Peekaboop publishes a local static prototype — a single HTML file, a small hand-written site, or the output of a static build — and returns a live URL such as https://my-demo-7f3k.peekaboop.page. The upload goes to a Cloudflare Worker. The machine that published does not have to stay on.
This repository is the agent install surface. It is a Claude Code plugin plus a local stdio MCP server. The server is the only part that reads the files. Nothing here is published to npm.
The server needs Node.js 20 or newer and has no runtime dependencies.
Install in Claude Code
In a Claude Code session:
/plugin marketplace add ldiazderamond/peekaboop-plugin
/plugin install peekaboop@peekaboopThe same marketplace add works from a shell:
claude plugin marketplace add ldiazderamond/peekaboop-plugin
claude plugin install peekaboop@peekaboopThe plugin registers the peekaboop stdio server from .mcp.json and the /share-preview skill. Claude Code also exposes the skill as /peekaboop:share-preview. /share-preview works when that short name is not already taken.
/share-preview
/share-preview my-demomy-demo is a preferred slug. The Worker appends a random suffix, so the public URL looks like https://my-demo-7f3k.peekaboop.page. Running /share-preview again republishes that same URL.
Related MCP server: cloudfact
Install in Cursor
Add this to ~/.cursor/mcp.json (or the project .cursor/mcp.json):
{
"mcpServers": {
"peekaboop": {
"command": "npx",
"args": ["-y", "github:ldiazderamond/peekaboop-plugin"]
}
}
}Cursor does not load Claude Code skills on its own. The publish, rotate_token, and delete_site tool descriptions tell the agent to call the MCP server instead of zipping the site itself. You can also copy skills/share-preview into the project's Cursor skills directory if you want the /share-preview instructions loaded as a skill.
Other stdio MCP clients
Any client that can spawn a stdio MCP server can use the same command:
{
"command": "npx",
"args": ["-y", "github:ldiazderamond/peekaboop-plugin"]
}From a checkout:
node bin/peekaboop.jsThe process speaks newline-delimited JSON-RPC on stdin/stdout and does not write logs to stdout. Tools:
Tool | Arguments | What it does |
| optional | Discover or take the given file/directory, zip it, upload it, and return the URL, expiry, and whether the site was created or replaced. |
| optional | Ask the Worker for a new bearer token and store it outside the project. |
| optional | Delete the remote site and the local slug record. |
What gets published
publish chooses the directory in this order:
The
pathargument, if you passed one. It must stay inside the project after both the project root and the target are canonicalized. A symlink anywhere in that path is rejected. A file publishes that file. A directory publishes the files inside it.The first unique hit among
dist/index.html,build/index.html, andout/index.html. If more than one of those exists, the tool lists them and uploads nothing.index.htmlin the project root.A single
.htmlor.htmfile anywhere else in the project. Several HTML files are listed so the agent can callpublishagain withpath.
node_modules, .git, and dotfiles are skipped, including when path names them directly. Every path segment is checked, so path: ".env" and path: "src/.env" are refused. .well-known/ is the exception, so .well-known/security.txt is included. Symlinks are rejected rather than followed when they are the requested path or a parent of it. A symlink found inside a real directory is skipped. peekaboop.json is not put in the zip. Drive-letter paths such as C:/x and C:x are refused.
v1 does not honour .gitignore. A gitignored file is still published when it is not a dotfile and does not sit under node_modules or .git. The plugin does not edit .gitignore.
A lone HTML file that is not already named index.html is stored in the zip as index.html, so the preview root renders it. Sibling assets are not included unless you pass the directory.
The zip is STORE mode (compression method 0). The Worker does not inflate. CRC-32 and sizes are written in the local file header. There is no data descriptor. File count and unpacked size are checked before file bytes are read. The zip is then built in memory and is not sent when it is over the cap: 500 files, 26,214,400 zip bytes (25 MiB), or 52,428,800 unpacked bytes (50 MiB).
Slug, token, and project file
A successful publish writes peekaboop.json in the project directory:
{
"slug": "my-demo-7f3k"
}That file is only the slug. Commit it so a teammate republishes the same URL.
The bearer token comes back on the first publish only. It is stored in $XDG_CONFIG_HOME/peekaboop/tokens.json when XDG_CONFIG_HOME is set, and otherwise in ~/.config/peekaboop/tokens.json, keyed by slug. The directory is mode 700 and the file is mode 600. It is never written into the project, and rotate_token does not return it. Print the stored token locally with:
peekaboop token
peekaboop token my-demo-7f3kIf peekaboop.json contains any other key, including a token, that key is removed and is not used as a credential.
PEEKABOOP_TOKEN, when set, overrides the token file for republish, rotate, and delete. That is the CI and teammate path. It is not sent on the first publish of a project that has no slug yet. A value left in the environment keeps overriding the file after rotate_token; update the variable to the new token. peekaboop token prints the file, not the environment variable.
If peekaboop.json has a slug and neither the environment variable nor the token file has a token, the publish is still sent. The Worker answers 401 token_required. The tool tells the agent to get the token from whoever published first, set PEEKABOOP_TOKEN, or delete peekaboop.json to publish a new site.
Environment
Variable | Default | Role |
|
| Origin of the Worker, without |
| unset | Bearer token that overrides the token file for an existing slug. |
| unset | When set, tokens are stored in |
| process working directory | Project root Claude Code gives the plugin server. |
API contract
The Worker implements the fixtures in contract/. Summary:
POST /v1/publishwithContent-Type: application/zip. OptionalX-Peekaboop-SlugandAuthorization: Bearer <token>. Response{ url, slug, token?, expiresAt, version, notice? }.tokenis present on the first publish only.notice, when present, is shown to the user.POST /v1/rotatewith the bearer token andX-Peekaboop-Slug. Response{ token }.DELETE /v1/sites/:slugwith the bearer token. Success is204with an empty body. This client treats any2xxas success.Errors are
{ "error": { "code", "message" } }with these statuses:
Status |
|
400 |
|
401 |
|
403 |
|
404 |
|
410 |
|
413 |
|
429 |
|
A preferred slug always receives a random suffix. Republishing with the token keeps the same URL. The preview goes idle 72 hours after the latest publish, and a republish before the 14-day limit revives that same URL. Only the 14-day hard cap returns 410 site_expired. Then delete peekaboop.json and publish again for a new URL. The client shows the expiresAt the server returns and does not compute the deadline itself.
Assumptions
25 MB and 50 MB are the byte counts in
contract/manifest.json: 26,214,400 and 52,428,800.DELETEsuccess in the fixture is204and an empty body. Any other2xxis also treated as success, and the body is ignored.versionis returned to the agent when the server sends it. It is not stored inpeekaboop.json.PEEKABOOP_TOKENoverrides the stored token only for a site that already has a slug. A first publish does not send it.On
site_not_foundorsite_expiredfrom delete, the local slug file and stored token are removed, and the server error is still returned.The public URL is whatever
urlthe Worker returns. This client does not build the hostname.Header names are the ones in the fixtures. HTTP treats them as case-insensitive.
v1 does not honour
.gitignore.PEEKABOOP_APIrejectshttpexcept for localhost,127.0.0.1, and::1, and rejects URLs that contain a username or password. Errors do not echo those credentials.
Develop
npm test
npm run demonpm test covers discovery, STORE-mode zips, the caps, token storage, and every error fixture against a local HTTP server. npm run demo publishes samples/hello through the stdio server to a mock that answers with the contract fixtures.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish a single HTML file as a live HTTPS site in seconds. Versioned deploys, no delete tool.
Get share links, publish and manage websites, artifacts and agents. No account needed.
Publish HTML, Markdown, sites, KV, JSON, files and forms/polls that save answers; keep owner token.
Publish web pages as live websites on Tiiny Host, and list, update or delete your sites.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenancePublish the website you built with AI to a live public URL — straight from chat, no setup. Enables deploying static sites and updating them with edit tokens.1MIT
- AlicenseAqualityBmaintenanceEnables publishing folders, HTML files, or locally/SSH-reachable apps to public Cloudflare URLs, with tools for deploying, exposing ports, managing private links, rotating keys, and inspecting logs.13MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to list, upload, download, and delete files on named static sites served by a private home lab, with token scopes controlling read-only or destructive access.Apache 2.0
- AlicenseAqualityCmaintenanceEnables an AI agent to pack a local folder and deploy it as a live static website at a public URL, with no account required for the first publish. Also supports checking site activation, listing existing sites with their status and views, and recovering access to a site whose key was lost.464 npmMIT