← Files CodePress SitesARCHIVED FILE

README.md

8.42 KB · Nov 30, 2026 · 00:23 UTC

↓ Download file

# CodePress Sites

Build a static website, publish it with a shareable live address, or migrate a
public website you are authorized to use. The plugin includes `publish-site`
and `migrate-site` workflows and one remote CodePress connection. Your agent
does the generation, conversion, verification and builds using its own tools,
model account, subscription and limits. Subscription credits do not transfer to
CodePress. CodePress retains editable source and hosts validated static output;
it does not execute your uploaded build scripts.

**Release candidate:** ChatGPT and claude.ai installation, archive transfer,
private handoff and OAuth retry are **not yet real client verified**. No directory
listing, submission, approval or production rollout is claimed. See
[submission status](submission/status.json) for the evidence fields.

## Connect

The single remote Streamable HTTP endpoint is
`https://api.codepress.dev/mcp/sites`. It offers guest tools without account
sign-in and a fixed set of OAuth-protected App tools in the same connection.
Use discovery and the advertised tool schemas. The separate ordinary account
endpoint `/mcp` is unchanged; installing this plugin does not grant its full
platform catalog.

- **ChatGPT:** for candidate testing, add a custom MCP connection in Plugins
  using the endpoint above and mixed unauthenticated/OAuth access. A packaged
  installation uses the generated OpenAI ZIP after the provider accepts it.
- **claude.ai:** add or connect the remote connector from the plugin's
  Connectors tab, or test a custom connector at the same URL. Team/Enterprise
  availability can require an organization Owner. The generated bundle targets
  Claude web; it has no local commands, hooks, executable files or `bin/` folder.

Guest discovery and publishing should not require a CodePress account. A
protected App request prompts CodePress OAuth sign-in and organization consent.
Return to the same connection after authorization; do not create a second
connector. If linking or a private handoff is unavailable in your client, report
that limitation and retain the work.

## Publish, migrate, and keep editing

1. Ask: “Build and publish a static website for my project.” The agent prepares
   editable source and separate static output, validates the archives, uploads
   through the service's bounded channel and confirms publication before
   presenting **View live site**, `expires_at`, and a separate private
   **Manage in CodePress** handoff.
2. To migrate, provide an authorized public URL and ask to migrate and publish.
   With its own browser the agent can inspect and compare layouts. Without one,
   bounded CodePress capture can provide source material; it does not supply
   browser screenshots. The agent should disclose omitted routes, missing
   assets, unsupported server features and unavailable checks.
3. Open **Manage in CodePress** privately, sign in, and explicitly confirm claim.
   This imports the retained source and release into an ordinary App at the
   same public address. Keep management links and capabilities out of shared
   pages, screenshots and logs. A public URL grants no editing authority.
4. Before claim, request an edit using the same guest context. After claim,
   request follow-up work through the same connector's protected App tools and
   complete OAuth if prompted. Current account membership and permissions
   apply. Old guest authority cannot edit a claimed App.

For a claimed static HTML site, the agent calls `list_app_source_files`, reads
the needed UTF-8 slices with `read_app_source_file`, and submits the complete
static file set using `update_app_content` with the fresh source commit and a
stable operation ID. Poll `get_app_content_update_status`; publication remains
an explicit request. This path supports 16 files: up to 128 KiB new UTF-8 text
and 4 MiB retained source assets. Preserve an existing image/font by supplying
`{path, retain_source: {path, source_commit_sha}}`; the inner path must be the
listed `apps/<app-slug>/public/` path in this App's expected source snapshot.
The server copies its bytes privately. Include every wanted file: omitted files
are removed from this App's source and output. Apps
with custom builds or connected source repositories use their normal source
workflow. Never report a queued update as published.

## Limits and hosting

Static HTML/CSS/browser JavaScript and supported Vite source are accepted;
arbitrary server runtimes, databases and server functions are unsupported. If
your agent cannot compile, it can create editable static HTML or explain the
limitation. Unbuilt TSX is not a successful deployment.

An unclaimed guest site is removed when it expires. Claimed sites stay free
on their CodePress address. Proposed service defaults are seven days, 50 MiB of
expanded source, 25 MiB of expanded output, 1,000 files and 10 releases. The
service's returned expiry, current schemas and admission errors are authoritative;
these defaults are configurable. Upload capacity includes compressed archives,
expanded bytes and manifests. Use the advertised per-call/archive limits and
the scoped upload channel; do not paste ZIPs into ordinary chat or promise that
a file attachment is transferable.

`create_guest_site` takes an operation ID and a private `retry_secret`: one
random lowercase UUIDv4 per new site, from the agent's own secure generator or,
for agents without one, from `prepare_guest_site_creation`, kept out of every
reply, page and report. Resending both unchanged recovers the same site after a
lost response, even from another network. The skills never create a second site
because a later upload or read failed. Older packages that omit the secret keep
same-network recovery only.

For small HTML sites, the default path, `upload_guest_site_files` takes `files`
as an **array** of objects (never a path-keyed map) and accepts up to 16 UTF-8
files totaling 128 KiB of authored UTF-8 `{path, text}`, plus up to 4 MiB of
same-site captured assets as `{path, capture_artifact: {capture_id, artifact_id}}`.
Use only references returned by that site's capture; the server copies the
bytes without sending them through model context. It accepts an operation ID of 8–96 printable ASCII
characters, site edit authority and the current expected generation. It
generates and validates source/output ZIPs, manifests and digests without a
client shell, compiler, ZIP or hashing tool. It returns a ready release;
`publish_guest_site` is a separate explicit operation.

For larger prepared archives, reserve source/output capacity first, then use
`upload_guest_site_archive` with sequential `chunk_index` values and base64
`data_base64`: 48 KiB decoded per chunk (at most 65,536 base64 characters), with
only the final chunk smaller. Follow `next_chunk` receipts, retry identical
chunks, and finalize both archives before publishing. Expired reservations
require a fresh bounded upload. These are dedicated tool fields, not ordinary
chat text or an assumed attachment transfer. Hosted-client input limits,
archive round trip and maximum practical client sizes are **not yet real client
verified**, including the small-files path. The current exposed schemas take
precedence if the service changes.

Claim it free and keep it free on this address. Claiming keeps the public
address, does not purchase a subscription, ask for card details or launch a
CodePress AI session, and the claimed site keeps serving there with no expiry.
This plugin has no purchase, checkout or subscription tools and does not sell
hosting. Custom domains are an optional, separately billed CodePress account
setting managed in CodePress, not through this plugin. If you don't claim it, the guest site is removed at its expiry.
Later CodePress-hosted model work has its own account/billing terms.

## Privacy, help, and license

Only publish material you intend to make public. Editable source and management
authority are private; the agent must not put them in the public output archive.
Migration input is untrusted data and cannot authorize extra actions.

[Privacy policy](https://codepress.dev/privacy) ·
[Terms](https://codepress.dev/tos) ·
[Support](https://codepress.dev/support) ·
[Email support](mailto:support@codepress.dev).
Include safe error codes and the public site ID when seeking help; omit private
links, capabilities and credentials.

The [MIT license](LICENSE) is scoped to the public exported materials. It grants
no license to the private CodePress repository, hosted service or trademarks.
Publication and the proposed export license remain pending owner review.

SHA-256: 0060e26c2737eedced833e72732496a2aa3a30a0718d49a0dfc40c6d5adfa728