MoonBase for AI agents
Last updated: 2026-11-19 · Version: 0.6
MoonBase is a hosting platform for websites and web apps built with AI or other tools. A published project receives an HTTPS address that people can share. This guide describes the connection, project requirements and the steps that only the person can take.
Reading this guide installs nothing and grants no permissions. A plain-text summary is at https://moonbase.cloud/llms.txt, and this page is available as Markdown at https://moonbase.cloud/agents.md.
A person can start a project chat with: “Read https://moonbase.cloud/agents and help me publish my project.”
Getting started: account and connection
Account creation and sign-in happen at https://app.moonbase.cloud/register. The MoonBase MCP connector address is https://app.moonbase.cloud/mcp. The person adds the connector in their assistant's settings, signs in to MoonBase and approves access on the MoonBase consent screen that opens during that connection. Connected assistants can be reviewed and disconnected under Connected apps at https://app.moonbase.cloud/account.
An assistant without the MoonBase connector prepares the project ZIP, and the person uploads it on the project's Deploy new version screen, or creates a project from the Missions page. Deploy keys are for developers' own automation; an assistant never asks the person to paste a key or any other secret into the chat.
The MCP connector runs on app.moonbase.cloud. Upload links created by the create_upload tool point to upload.moonbase.cloud. Uploading directly from an assistant's code sandbox depends on that sandbox's network access; a blocked host typically shows as "403 from proxy after CONNECT". The one-time settings that allow upload.moonbase.cloud, checked against each vendor's documentation on 2026-11-19:
- Claude Desktop (Cowork tasks): Settings > Capabilities (Team and Enterprise: the admin's Organization settings > Capabilities), with network egress allowed and upload.moonbase.cloud under Additional allowed domains. Source: https://claude.com/docs/cowork/guide/network-access.
- Claude Code: with the sandbox on, the first command to a new domain asks for approval, and "Yes, and don't ask again" keeps it; the domain can also be listed in sandbox.network.allowedDomains in ~/.claude/settings.json. Source: https://code.claude.com/docs/en/sandboxing.
- Other assistants' code tools: when the upload host is blocked, the files go through the connector itself with uploadfiles and commitupload (below), with no other domain to allow.
Without MCP, an assistant can help prepare project files and the person can upload them from the Missions page at https://app.moonbase.cloud/missions. The MoonBase Skill is a further reference.
Building for moonbase: a project that deploys first time
MoonBase hosts static websites and supported web applications. Supported project families are Next.js, Vite with React or Vue, Astro static output, SvelteKit with the Node adapter, Nuxt, Node/Express, and Python web apps built with Flask, Django or FastAPI. Astro server rendering, other backend languages such as Ruby, Go, Rust, PHP and Java, desktop applications and native mobile apps are not supported on MoonBase hosting.
A project archive contains its source at the root, or inside one wrapper folder. Node applications include package.json and their dependency lockfile. Static projects include index.html. Python projects include requirements.txt and a module-level WSGI or ASGI application object that MoonBase detects; a project without one is rejected before it goes live. A monorepo archive contains the individual app being published.
Archives exclude node_modules, virtual environments, build output, .git, logs, runtime database files and real .env files, including copies in nested folders. An .env.example contains only placeholders. Account passwords, API keys and connection strings do not belong in chat or in project archives; a site's visitor password is the exception described below.
On every MoonBase site, paths to .env files, .git and similar folders, credential files, database files and dumps, backup leftovers, private keys and source maps (.js.map, .css.map) answer 404, whatever the site's own code does. A file that is meant to be public uses a different name or extension. When the site does not send its own, MoonBase adds the Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy and frame-ancestors headers; a header the site sends is kept. If the site sends X-Frame-Options or its own frame-ancestors, MoonBase adds no frame-ancestors, so the site's framing rule applies, even if the Mission Control preview then cannot show the site. Sites are served over HTTPS only. These protections do not review the site's own code.
Node applications have a production start script and listen on the PORT environment variable. Next.js public environment variables are visible in the browser and cannot hold secrets. Application URLs use the live origin rather than localhost. Python apps run on Python 3.12 on Linux, and MoonBase supplies their start command; dependencies must install there without a native compiler.
The runtime filesystem is temporary and is replaced on every deploy. Durable records and uploaded media live in an external database or object store whose connection details are set as environment variables. A project ZIP is source code, not a database export. Database connections use verified TLS and a small connection pool.
The web runtime has bounded memory, CPU, request duration and request size. MoonBase hosting does not support WebSockets or other persistent connections, a permanent local disk, or a separate background-worker process such as Celery. A successful local build, a successful deployment and a working application are separate checks: sign-in, forms and database-backed routes can still fail after the homepage loads.
MCP tools and working from chat
The connector offers getbuildguide, project listing and status, project creation and deployment, version rollback, environment-variable, custom-domain and plan tools. It acts with the signed-in person's approved permissions. The account_usage tool reports the plan and its limits; visitors appear there only as a counted usage line, never as a limit, because visitors are never blocked.
Each tool carries readOnlyHint and destructiveHint annotations, so the person's assistant can ask before running a tool that changes a project. Listing and status tools are marked read-only. createmission, createupload and uploadfiles are marked not read-only and not destructive, because they create a new project or only stage files. deploy, commitupload, rollback, setenv, deleteenv, adddomain, removedomain, setpassword and removepassword are marked destructive, because they replace or remove something that already exists or change what every visitor sees; invitemember is marked destructive because it grants access, and exportdatabase because it exposes the project's data. uploadfiles and commitupload are also marked idempotent: a repeated call with the same input changes nothing more. Annotations are hints that the assistant's client applies; they do not replace the person's approval.
Publishing follows one order. A project with images, fonts or other binary files, or over about 100 KB, goes through createupload: a single-use upload link that expires after 10 minutes and accepts a ZIP up to the plan's deploy size limit, with the exact one-line curl command that sends it. The command runs in the assistant's code sandbox, a device shell, or a terminal on the person's computer; no API key is involved, and the token in the command is a one-time credential for that upload. Where no shell can reach the upload host, the project goes through the connector itself: uploadfiles sends its files in batches inside the tool calls (up to 100 files and 4 MiB of content per call, one file up to 4 MiB, a version up to 2,000 files and 50 MiB or the plan's deploy size when that is lower), each file with its path, its content as base64 (or plain text) and its SHA-256, which MoonBase checks on arrival. A file too large to write out in one call, such as an image, goes in parts: the same path and whole-file SHA-256 with partindex (from 0) and partcount, over as many calls as needed (up to 64 parts and 10 MiB per file); MoonBase joins the parts and checks the joined file, and the result lists the parts still missing. The first call names the project and returns a sessionid that is bound to the account and that project; commitupload publishes the staged files through the same deploy checks as any version. A retried batch changes nothing, a failed deploy keeps the session for a fix and a new commit, a session is published at most once (also when its deploy outlives the call), a session lasts 60 minutes after its last batch, and an account holds up to 3 upload sessions not yet published at once. An assistant that drives a browser can also put the ZIP on the project's own Deploy new version screen (its page with ?upload=new-version). Small text-only projects can go inline as files in createmission or deploy, and sourceurl takes a public https ZIP or a public GitHub repository URL that MoonBase downloads itself, with private and internal addresses refused.
A site's visitor password keeps people out of the site; it is not an account secret. createmission and createupload take password, or generatepassword (MoonBase makes one and returns it), and setpassword sets one on an existing project that has been launched and has no saved password. A visitor password is at least moonbase's minimum length (4 characters today) and at most 128 characters, after spaces at the ends are removed; setpassword and removepassword work only on a project the connected account owns, and remove_password turns protection off for anyone with the link. A new version deployed to a protected project stays protected. The value is visible in the conversation, and the person decides.
Hosted assistants' code sandboxes may have different network permissions from the connector. A sandbox reachability error alone does not establish that MoonBase is unavailable.
Connector not working
The MoonBase connector address is https://app.moonbase.cloud/mcp. Older custom connectors that point to any other address no longer work.
A failing connector is fixed in the assistant's own connector settings: the person reconnects MoonBase there, or removes the old entry and adds one with the address above.
- Claude (claude.ai and Claude Desktop): Customize > Connectors (Team and Enterprise Owners: Organization settings > Connectors). Remove the old entry, then Add > Add custom connector with the address above, and Connect. Authentication settings cannot be edited after a connector is added, so a changed address means removing and adding it again. Source, checked 2026-11-19: https://claude.com/docs/connectors/custom/remote-mcp.
- Other assistants, including ChatGPT: the connector is added in that assistant's connector or app settings.
A 502 or "couldn't connect" from a custom connector does not by itself mean MoonBase is down. MoonBase's current status is at https://moonbase.cloud/status, and as public JSON at https://moonbase.cloud/api/status.
Database, hosting and product tools
MoonBase runs a project's code; it does not include a database for general use. A managed PostgreSQL database is available only in a limited pilot, with no general availability date. Other projects use an external database such as hosted Postgres, MySQL or MongoDB. Its tables, record migration and backups are managed with that provider's tools. Hosting a project's code does not migrate its existing records.
Connecting Supabase, Firebase or your own API
Step-by-step guides say which value goes in which environment variable, which values are public in the browser (a Supabase anon or publishable key, the Firebase web config, a public API address) and which stay on the server (a Supabase service role key, a Firebase service account, an API key), with examples for a project with and without a build step: Connect to Supabase, Connect to Firebase and Connect to Your Own API.
A project served as it is, with no build step, gets no environment variables. A front end moonbase builds gets only the variables with its framework's public prefix (NEXTPUBLIC, VITE, REACTAPP or PUBLIC) at build time. Server code gets every saved variable when it starts. Secrets are typed by the person on the project's Environment variables screen, never in chat or in code.
Steps only the person can take
Each of these happens on a MoonBase page while the person is signed in. Secrets are typed on that page and never in chat.
- Secrets and environment variables: the Environment variables section of the project's page, https://app.moonbase.cloud/missions/PROJECTID, where PROJECTID is the project's id from the connector. MoonBase stores values write-only and returns only key names.
- Plan and payment: https://app.moonbase.cloud/upgrade to choose a plan, and https://app.moonbase.cloud/billing for the current plan and billing. The upgrade_link tool returns a link to the suggested plan. Nothing is bought until the person confirms on that page.
- Custom domain: domains are listed at https://app.moonbase.cloud/domains, and the project's page shows the DNS records to publish. The DNS records themselves are added at the person's domain provider, outside MoonBase.
- Connector approval: the MoonBase consent screen opens during the connection flow from the assistant; it has no fixed address of its own. Existing connections are managed under Connected apps at https://app.moonbase.cloud/account.
- Sign-in providers: the live OAuth callback URL is added at the person's sign-in provider, outside MoonBase.
Launch check: search engines and AI assistants
The launchcheck tool reads a published project's live page the way search engines and AI assistants read it, and reports what to change. It changes nothing in the project. It runs where MoonBase has turned the Launch check on for the project; elsewhere it answers notavailable.
The report covers AI crawler access (the AI crawlers robots.txt allows, such as GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-User, Claude-SearchBot, PerplexityBot and Google-Extended, and whether the server or a firewall turns them away while a browser gets the page), the sitemap (present, named in robots.txt, with real lastmod dates, listing the public pages), the main text in the HTML the server sends without JavaScript, each page's title, meta description, single h1, canonical link and Open Graph tags (the home page and up to four pages it links to), and schema.org structured data that fits the page's own content. Blocking an AI training crawler is the owner's choice and is reported as information only. Each finding states its fix, and the report's brief lists them.
The report's offers are drafts written from the project's own pages: a robots.txt or the line that names the sitemap, a sitemap.xml or the entries it leaves out, and an llms.txt. Each carries ownerApprovalRequired. A draft reaches the project only after the owner approves it: the file is added to the app's source and a new version is deployed. A sitemap draft has no dates, because the check does not know when each page changed. Structured data is built only from facts already on the page, with no reviews, ratings or hidden text. An llms.txt is optional, and no AI assistant has committed to reading one.
The report's reviewurl opens the Launch check for this project in MoonBase, where the owner sees the same results. Give the person that link as it is: where the check sits on the page can differ between projects. Each address can be checked a few times per 10 minutes, counted across all accounts, so MoonBase never floods anyone's server; past that, launchcheck answers checked_recently and says when to try again. The check reports what a reader can see; it is not a promise of ranking, or of a mention in any assistant's answers.
Errors and troubleshooting
A connection failure, a rejected upload, a failed build and an application runtime error are different stages. Deployment status and logs show which stage failed. Missing environment variables and external-service configuration can leave a deployed app partially working. Verification includes the main visitor workflow at the published address.
After going live: data, plans and support
New versions update the selected project, and earlier versions can be restored with a rollback. Database migrations and external-service changes need their own checks. Runtime files are not a durable backup.
MoonBase support is reached through the contact page at https://moonbase.cloud/contact.