@cloudgrid-io/mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLOUDGRID_TELEMETRY | No | Set to "off" to disable error reporting via grid_report unconditionally. | |
| CLOUDGRID_QA_IDLE_MS | No | Overrides the abandoned-idle window for the QA session log. Default is 900000 (15 minutes). | 900000 |
| CLOUDGRID_QA_SLACK_WEBHOOK | No | An internal/private Slack incoming-webhook URL. When set, the local (stdio) server posts a per-session QA log. Unset by default; the feature is fully dark when unset. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
CloudGrid runs the user's web apps at a live public URL and provides the infrastructure they need: managed MongoDB, Redis, pgvector, persistent disk, and an AI gateway that needs no API key. Every tool here is grid_*.
What it does, and the requests each tool serves:
One self-contained HTML file becomes a live public URL in seconds: grid_plug with html (or path to the file). Serves "make it live", "put it online", "give me a link", "share it with friends", "plug it".
A folder with several files, a framework, or anything that needs a database, a server, scheduled jobs, or an AI model, runs as a runtime app: grid_plug with path to the folder, with a cloudgrid.yaml that declares needs (needs: { database: true }, needs: { ai: true }); read the injected env vars lazily, inside handlers. Serves "deploy this app", "add a database", "let it call an AI model without my own key".
Iterating keeps the same link: grid_plug with target_entity_id updates in place.
Sharing and access: grid_visibility sets who can see it; grid_collab grants push access; grid_pickup copies any visible app's source.
What it does not do: it is not a shell, a container or VM host, or a Kubernetes target; it does not deploy a git repository from a URL; it does not run desktop or mobile apps.
How a plug works: creating anything needs a signed-in account (a signed-out create returns needs_auth; call grid_login). Never write an API key into page source or app code — needs: { ai: true } gives the app the managed AI gateway with no key, and other keys go in grid secrets (grid_plug rejects known key shapes). A runtime build is asynchronous: poll grid_check_deploy with its entity_id until success before saying it is live. For shell steps, run the CLI as npx -y @cloudgrid-io/cli@latest <command> (never a bare grid); grid dev runs the app locally with the same services. grid_start returns a short orientation and the workflow index; grid_get_template loads workflows, templates, and reference docs.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| grid_pickupA | Pick up an app: make your OWN COPY of any app you can see (like a git fork) into a grid you can build in. It mints a NEW entity with lineage back to the source and WITHOUT the source's secrets (set your own before you plug). Plugging your copy creates/updates YOUR entity — the original is never touched. Requires sign-in. This is a FORK, not a "collab": it never grants you access to anyone else's live entity. Getting PUSH ACCESS to the SAME entity is a different operation — the grid_collab tool (or the CLI |
| grid_pullA | Pull an app to continue/edit it IN PLACE — like |
| grid_collabA | Collab: GET PUSH ACCESS to the SAME live entity that someone else owns — you become a collaborator on THAT entity, not a copy. This grants PERMISSION ONLY and fetches nothing: after it succeeds, run grid_pull to get the code, then grid_plug (with its target_entity_id) updates the SHARED entity in place (the team sees the new version and can roll it back). This is NOT a fork — it never mints a new entity and never carries forked_from lineage; if you want your OWN separate copy instead, that is grid_pickup. If the owner GATES who may join, this does NOT dead-end: it sends the owner a request for access on your behalf, and once they approve, access is live immediately — no need to re-run grid_collab. Use this — not grid_pickup — whenever the user asks to "collab" on, "join", or "get push/write access to" an app they don't own. Requires sign-in. Calls the API directly (both editions). |
| grid_create_gridA | Create a new grid (workspace) for the signed-in user — they become its admin. Use when the account has no grid yet (grid_plug returns needs_grid_create, or a plug fails with NO_ACTIVE_ORG): suggest a short slug from the user's name or app, CONFIRM it with the user (the slug is permanent and appears in URLs), create, then call grid_plug with grid: . A brand-new grid provisions in the background (~30s); grid_plug waits for readiness before deploying, so call it right away — no manual delay or polling needed. Never send the user to the console to create a grid by hand. Requires sign-in. Calls the API directly (both editions). |
| grid_noteA | Leave a one-paragraph summary of what you built this session and why, for the local edition's optional QA session log, which the CloudGrid team reads. Call it BEFORE a plug, or in a session that ends without one — a successful plug posts the log on that same call, so pass grid_plug's session_note instead. The log is dark unless the operator of this machine has set CLOUDGRID_QA_SLACK_WEBHOOK. |
| grid_plugA | Plug an app, website, game, or HTML page into CloudGrid at a live public URL. Serves requests to deploy, publish, host, ship, launch, go live, or share a working link: "give me a link", "share it with friends", "make it live", "put it online", "host this". Pass one source: |
| grid_get_app_sourceA | Retrieve the CURRENT deployed HTML of an inspiration/drop inline as text, so you can edit it and re-plug the SAME URL when you no longer have its source in context (e.g. the user asks to 'change the color' of a page — even in a fresh chat with only its URL). Pass the entity_id from the grid_plug result or the public url (or grid+slug); the session's last drop is only a fallback. Given just a URL with no session, it resolves the entity_id via the pickup contract and also returns the entity's kind, single_html, capabilities (replug/fork), and replug_handle — read those to decide whether to edit in place (single-HTML + capabilities.replug), fall back for a multi-file app/agent (use source_download_url + the local edition/CLI), or offer a copy (grid_pickup) when it isn't yours. For a multi-file or runtime (app/agent) source, use source_download_url, or grid_pull to get the files and link the folder. Reads the HTML from the API server-side; read-only, creates nothing. |
| grid_loginA | Start a CLI-free CloudGrid sign-in. Use when the user wants to log in, sign in, or authenticate, or when a plug returned needs_auth. Returns a URL to open in the browser; then call grid_login_status to finish. Uses CloudGrid's existing OAuth. |
| grid_login_statusA | Finish a sign-in started by grid_login. Polls once: if you have completed the browser sign-in, it saves your session; otherwise it tells you to finish and try again. |
| grid_visibilityA | Change who can see a CloudGrid inspiration OR runtime app/agent. Simple modes: private (only the user), grid (everyone in their grid), link (anyone with the URL — add indexed: true to be findable by search engines). Finer control via the TWO AXES instead: inside (who in the grid: private | spaces | grid) and outside (reach beyond it: none | link | public), with require_signin for a members-only link and |
| grid_check_deployA | Check whether an async runtime-app build (a deploy, which here means a plug) has finished and the app is live. Call this after grid_plug returns status "building" — repeat every ~15s until it reports success or failed, and do NOT tell the user the app is live until it does. Always pass the entity_id from the grid_plug result (or the app url): some hosts start a new session for every tool call, so the session's last plug is not always available. Pass poll_url when the grid_plug result has one. Requires sign-in (builds are owned). Calls the API directly — works on every edition, including hosted. |
| grid_list_gridsA | List the signed-in user's grids, each with slug, name, role, and provisioning status. Requires sign-in. To plug onto a brand-new grid, call grid_plug right away: it waits for the grid to be ready itself, so do not poll render_ready or wait before plugging. |
| grid_startA | A short orientation for building with CloudGrid: the account this session is signed in as and its active grid, how to choose between a single-page plug and a runtime app (and what each provides: managed database, Redis, pgvector, disk, an AI gateway with no API key), the sign-in and grid steps a first plug goes through, and the index of workflows to load with grid_get_template. Read-only, under 3,000 characters; useful once per session before the first plug. The full operating playbook is grid_get_template({kind:"doc", name:"playbook"}). |
| grid_get_templateA | Load a specific CloudGrid workflow, template, example, rule, troubleshooting note, or reference doc by name — deterministic retrieval from the bundled corpus, no network. Workflows and templates come from the index grid_start returns, e.g. grid_get_template({kind:"workflow", name:"presentation"}) then grid_get_template({kind:"template", name:"deck"}). Reference docs: cloudgrid-yaml (the manifest schema and needs: vocabulary), capability-map (which template fits a request), playbook (the full operating rules). |
| grid_reportA | Report a genuine CloudGrid failure to the CloudGrid team — ONLY with the user's explicit consent. When a build/deploy or platform call fails unexpectedly, ASK the user first; call this only after they say yes. What is sent: the short |
| grid_helloA | Create a minimal hello page and plug it into the user's grid, returning the live URL. If the user has more than one grid and |
| grid_create_projectA | Scaffold a new CloudGrid app or agent folder (cloudgrid.yaml + a web service), optionally pre-declaring resources. Wraps |
| grid_view_logsA | Tail recent logs for an entity. Does not stream; returns a snapshot. Wraps |
| grid_shareB | Set an entity's visibility and print its URL. Defaults to link (anyone with the URL). Wraps |
| grid_feedbackA | List recent feedback events for the active grid. Read-only. Wraps |
| grid_whoamiB | Show the signed-in user and active grid. Wraps |
| grid_switch_gridC | Switch the active grid. Wraps |
| grid_logoutA | Sign out and clear local credentials. Wraps |
| grid_statusC | Grid dashboard, entity detail, or deploy snapshot. Wraps |
| grid_infoC | Show metadata for a CloudGrid entity. Wraps |
| grid_getC | List CloudGrid grids, entities, or spaces. Wraps |
| grid_describe_gridA | Show a grid's detail: role, members, spaces, tier, wildcard-TLS state. Wraps |
| grid_edit_existing_appA | Continue/edit an EXISTING entity locally: download its source + cloudgrid.yaml and link the folder so your next |
| grid_renameB | Rename a CloudGrid entity's display name (slug stays the same). Wraps |
| grid_take_offlineC | Take an entity off the grid. Destructive. Wraps |
| grid_deleteA | Archive a CloudGrid inspiration. Destructive. Wraps |
| grid_rollback_deployC | Rollback an entity to a previous version. Wraps |
| grid_list_versionsB | List published versions for an entity. Wraps |
| grid_set_envC | Manage environment variables for an entity. Wraps |
| grid_set_secretA | Set or list secret names for an entity. Never returns secret values. Wraps |
| grid_scaffoldB | Scaffold service folders declared in cloudgrid.yaml (idempotent). Wraps |
| grid_diagnoseB | Run CloudGrid diagnostics on the local environment. Wraps |
| grid_get_urlA | Return the public URL for an entity. Does not open a browser. Wraps |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 38 tools
Several tools overlap heavily: grid_pull and grid_edit_existing_app both wrap `grid pull`; grid_share and grid_visibility both set visibility; and grid_get, grid_info, grid_status, grid_describe_grid, grid_list_grids, and grid_whoami all read entity/grid metadata with fuzzy boundaries. grid_hello is a special-case grid_plug, and grid_note vs grid_report both report information, so the long descriptions are compensating for genuinely confusable tools.
Nearly everything uses a predictable grid_ snake_case prefix with verb_noun or verb form (grid_create_grid, grid_list_versions, grid_check_deploy, grid_rollback_deploy). A few names are vague verbs (grid_get, grid_info, grid_status) and some are noun-style (grid_whoami, grid_pickup, grid_collab), but overall the pattern is readable and consistent.
38 tools is well above the comfortable range and includes redundant pairs (grid_pull/grid_edit_existing_app, grid_share/grid_visibility) that inflate the surface. While the platform's domain is genuinely broad (deploy, auth, env, secrets, versions, grids, templates), the count is heavy enough to burden selection.
Coverage spans auth, grid management, scaffolding, plugging/deploying, versioning/rollback, env and secrets, visibility, logs, diagnostics, and feedback, leaving few obvious dead ends. Minor gaps exist around entity deletion (only archive) and env variable removal, but agents can generally complete the lifecycle.