{"name":"page.anew/anew","title":"anew","description":"Free webpages: websites that live in the URL.","version":"1.0.2","websiteUrl":"https://anew.page","repository":{"url":"https://github.com/round/anew.page","source":"github"},"icons":[{"src":"https://anew.page/anew.png","mimeType":"image/png","sizes":["any"]},{"src":"https://anew.page/anew.svg","mimeType":"image/svg+xml","sizes":["any"]}],"remotes":[{"type":"streamable-http","url":"https://anew.page/mcp"}],"serverInfo":{"name":"anew","version":"1.0.2"},"transport":{"type":"streamable-http","endpoint":"https://anew.page/mcp"},"capabilities":["tools","prompts","resources"],"extensions":{"io.modelcontextprotocol/ui":{"mimeTypes":["text/html;profile=mcp-app"]}},"protocolVersions":["2026-07-28","2025-11-25"],"serverUrl":"https://anew.page/mcp","tools":[{"name":"anew_write","description":"Publish a web page: encode one self-contained HTML document (or fragment, or plain text) into an anew.page URL and return that URL. Use it when the user asks for a page, a site or a link they can open and share. The page is carried in the URL itself — no account, and no copy of the page is kept — so anyone who has the URL can open it; each call also starts a screenshot of the page, cached publicly for link previews. Put markup and inline CSS in html and any JavaScript in javascript as plain source; the server inserts it before </body>. Inline the page's CSS, scripts and images so it renders on its own; a webfont may load from a CDN. Each encoding path is deterministic: the same input through the same path always produces the same URL. Different paths use different Brotli encoders, though, so the same HTML may mint different — equally valid — URLs; compare pages by their decoded HTML, never by slug. Limits: a page whose URL would pass 4000 bytes, or whose HTML passes 1048576 bytes decoded, is refused with an error that states the size and the overage; apps cut longer links short when they are shared. To revise an existing anew page, its URL is its source: read it, edit that HTML, write it again. The new URL is a separate page and the original keeps working. Read it with anew_read first, then call this with the edited HTML.","inputSchema":{"type":"object","properties":{"html":{"type":"string","minLength":1,"description":"The page: HTML markup with inline CSS — a full document, a fragment, or plain text. Its JavaScript goes in javascript. Encoded into the returned URL."},"javascript":{"type":"string","minLength":1,"description":"Optional client-side JavaScript for the page, as plain source without script tags. The server inserts it immediately before </body> (or at the end when there is no body)."}},"required":["html"],"additionalProperties":false},"_meta":{"ui":{"resourceUri":"ui://anew/page-view/12"},"ui/resourceUri":"ui://anew/page-view/12","openai/toolInvocation/invoking":"Minting page…","openai/toolInvocation/invoked":"Page minted"}},{"name":"anew_read","description":"Pass an anew.page URL, get back the HTML document encoded in it, plus its canonical URL and byte size. (Two in-page tools share this name and take no arguments: the editor's reads the document open in the editor, and a rendered page's reads the page being viewed. This one takes a url and reads that page.) To revise an existing anew page, its URL is its source: read it, edit that HTML, write it again. The new URL is a separate page and the original keeps working. Read returns the author's exact bytes — no anew-injected tags, no proxied image srcs — so it re-encodes byte-for-byte. Never re-author from a rendered page, a scraped DOM, or a screenshot: each loses the author's markup, and none is faster than reading the slug. Decoding is local and exact, so any anew URL reads — the page needs no prior visit and no fetch.","inputSchema":{"type":"object","properties":{"url":{"type":"string","minLength":1,"description":"An anew.page URL, or a bare slug. Subdomain, cosmetic-prefix and #hash forms all resolve."},"format":{"type":"string","enum":["text","resource"],"default":"text","description":"How the document rides back. \"text\" (default) is one plain text block. \"resource\" is one embedded-resource block ({type:\"resource\"}, mimeType text/html) — the typed MCP form for callers that want the page tagged as HTML rather than loose text. Same bytes both ways."}},"required":["url"],"additionalProperties":false}},{"name":"anew_page","description":"Open a page in the anew editor beside the chat, so the user can edit it by hand: pass an anew.page URL to open that page, or nothing for a new blank page. The editor reports the page it holds back to the chat after every edit. Call it only when the user asks to open the editor or to edit a page themselves; anew_write and anew_read do everything else.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"An anew.page URL or bare slug to open in the editor. Omit it, or leave it empty, for a new blank page."}},"required":[],"additionalProperties":false},"_meta":{"ui":{"resourceUri":"ui://anew/editor/13"},"ui/resourceUri":"ui://anew/editor/13","openai/ui":{"entrypoints":[{"type":"thread"}]},"openai/toolInvocation/invoking":"Opening anew…","openai/toolInvocation/invoked":"anew open"}},{"name":"anew_editor","description":"Open anew from the sidebar: the editor, fullscreen, on a new blank page. Takes no arguments.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"_meta":{"ui":{"resourceUri":"ui://anew/editor/13","visibility":["app"]},"ui/resourceUri":"ui://anew/editor/13","openai/ui":{"entrypoints":[{"type":"global"}]},"openai/toolInvocation/invoking":"Opening anew…","openai/toolInvocation/invoked":"anew open"}}],"resources":[{"uri":"ui://anew/page-view/12","name":"anew-page-view","title":"anew page view","description":"Interactive card rendered after anew_write: the minted page running live (a screenshot where the host blocks frames), its title, its address with the subdomain and a readable slug editable in place, Open, Copy and Download actions that follow that address, and an Edit action that opens the page in the anew editor fullscreen.","mimeType":"text/html;profile=mcp-app","annotations":{"audience":["user"]},"_meta":{"ui":{"csp":{"resourceDomains":["https://anew.page"],"frameDomains":["https://anew.page"]},"permissions":{"clipboardWrite":{}},"prefersBorder":true},"openai/ui":{"availableDisplayModes":["inline","fullscreen"],"preferredDisplayMode":"inline"},"openai/widgetDomain":"https://anew.page","openai/widgetDescription":"Interactive card rendered after anew_write: the minted page running live (a screenshot where the host blocks frames), its title, its address with the subdomain and a readable slug editable in place, Open, Copy and Download actions that follow that address, and an Edit action that opens the page in the anew editor fullscreen."}},{"uri":"ui://anew/editor/13","name":"anew-editor","title":"anew","description":"The anew editor, fullscreen: the page is edited in place, its link follows every edit with Open, Copy and Download actions, and the chat is told which page the editor holds.","mimeType":"text/html;profile=mcp-app","annotations":{"audience":["user"]},"_meta":{"ui":{"csp":{"resourceDomains":["https://anew.page"],"frameDomains":["https://anew.page"]},"permissions":{"clipboardWrite":{}}},"openai/ui":{"availableDisplayModes":["inline","fullscreen"],"preferredDisplayMode":"fullscreen"},"openai/widgetDomain":"https://anew.page","openai/widgetDescription":"The anew editor, fullscreen: the page is edited in place, its link follows every edit with Open, Copy and Download actions, and the chat is told which page the editor holds."}}],"prompts":[{"name":"anew","title":"Compose an anew.page URL","description":"Compose content and turn it into a self-contained anew.page URL. Handles fresh single-page sites, meta-refresh redirects, and converting supplied text into a page.","arguments":[{"name":"request","description":"What to build. Examples: \"a one-pager about Brutalist architecture\", \"redirect to https://example.com\", \"turn this text into a page: ...\".","required":true}]}]}