Nanopage Developer Resources
Everything machine-readable and agent-facing that Nanopage publishes: the REST API and its OpenAPI spec, the MCP server, llms.txt, sitemap, and markdown content negotiation.
Nanopage exposes its publishing API as a Model Context Protocol server, so Claude Code, Claude Desktop, Cursor, Codex, and other AI agents can build and publish hosted websites natively.
https://api.nanopage.site/mcpStreamable HTTP · JSON-RPC 2.0 · bearer-token authpublish_websiteCreate a new site from a file bundle
publish_versionAdd a version to an existing site
list_websitesList every website in the account
get_websiteFull details for one website
list_versionsAll versions, newest first
get_job_statusLook up a publish job
suggest_slugSlug validity + availability
Mint a personal access token and grab client config snippets on the MCP interface page. Read the announcement post for a walkthrough.
The same seven operations as the MCP server, as plain HTTPS + JSON — for agents and scripts that speak REST instead of MCP. The full surface is described by an OpenAPI 3.1 spec at nanopage.site/openapi.json (also served at api.nanopage.site/openapi.json).
https://api.nanopage.site/v1JSON over HTTPS · bearer-token auth · same tokens as MCPlistWebsitesGET /v1/websitescreateWebsitePOST /v1/websitesgetWebsiteGET /v1/websites/{websiteId}listWebsiteVersionsGET /v1/websites/{websiteId}/versionscreateWebsiteVersionPOST /v1/websites/{websiteId}/versionsgetJobGET /v1/jobs/{jobId}suggestSlugGET /v1/slugs/suggest?value=…
Scopes: every personal access token carries the single scope mcp, which grants exactly these operations plus the MCP endpoint — never the dashboard, billing, domains, or admin. The scope list is published machine-readably as RFC 9728 protected-resource metadata at api.nanopage.site/.well-known/oauth-protected-resource, and the API's 401 responses point at it via WWW-Authenticate: Bearer resource_metadata="…". Mint tokens on the MCP interface page.
- openapi.json
OpenAPI 3.1 spec for the Nanopage REST API — every operation with typed schemas and operation IDs.
- llms.txt
Compact navigation index of the product and site, written for LLMs and agents.
- llms-full.txt
Complete annotated index: every use-case page, template, and blog post with descriptions.
- sitemap.xml
Every indexable page with last-modified dates.
- robots.txt
AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot…) are explicitly allowed.
- oauth-protected-resource
RFC 9728 protected-resource metadata declaring the supported API token scopes.
Core pages serve text/markdown via the Accept header (with Vary: Accept), and at explicit .md URLs. 404s return a short markdown body pointing agents at the sitemap and llms.txt.
curl -H "Accept: text/markdown" https://nanopage.site/Questions about the MCP server or agent access? Email hello@nanopage.site — every email is read.