instanode-mcp
OfficialProvides S3-compatible storage backed by DigitalOcean Spaces, returning endpoint, access keys, and a prefix.
Allows deploying containers by uploading a Dockerfile and source code as a base64 gzip tarball, returning a public URL.
Provisions a MongoDB database with a per-resource user and DB-scoped role, returning a connection string.
Provisions a Redis cache with an ACL-scoped user and namespace, returning a connection string.
Provides a team vault for storing and rotating secrets, which can be referenced in deployments using vault:// references.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@instanode-mcp create a postgres database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
instanode-mcp
MCP server for instanode.dev. Lets AI coding agents (Claude Code, Cursor, Windsurf, Continue, etc.) provision the full bundle of ephemeral developer infrastructure over HTTPS — no Docker, no signup required for the free anonymous tier.
One tool call per resource type, each returning a drop-in connection string:
Postgres (
create_postgres) →postgres://...with pgvector pre-installedRedis (
create_cache) →redis://...with ACL-scoped user + namespaceMongoDB (
create_nosql) →mongodb://...with role scoped to the DBNATS JetStream (
create_queue) →nats://...with scoped subject namespaceS3-compatible storage (
create_storage) → endpoint + keys + prefix (backed by DigitalOcean Spaces)Webhook receiver (
create_webhook) → public URL that stores every inbound requestContainer deployment (
create_deploy) → upload a base64 gzip tarball (Dockerfile + source), get back a public URL in ~30s. Bind any of the resources above by passing their tokens asresource_bindings— the API resolves tokens to connection URLs server-side.Multi-service stack (
create_stack) → declare 1..N services in aninstant.yamlmanifest, ship them as a bundle in a single MCP call. Anonymous callers get a 6h-TTL stack with a live URL on*.deployment.instanode.dev— no card required. Cross-service refs (service://<name>) resolve cluster-internally at deploy time. Poll status withget_stack.
Every anonymous resource auto-expires in 24h. The provision response carries
a note and upgrade field — the MCP server surfaces both verbatim so the
agent can show the user the exact CTA + claim URL needed to keep the
resource permanently. Run claim_resource on the returned upgrade_jwt to
get the dashboard claim URL.
Install
Claude Code
claude mcp add instanode -- npx -y instanode-mcp@latestTo authenticate (unlock paid-tier limits and the account-management tools):
claude mcp add instanode \
--env INSTANODE_TOKEN=<paste from https://instanode.dev/dashboard> \
-- npx -y instanode-mcp@latestCursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"instanode": {
"command": "npx",
"args": ["-y", "instanode-mcp@latest"],
"env": {
"INSTANODE_TOKEN": "<optional — paste from dashboard for paid tier>"
}
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"instanode": {
"command": "npx",
"args": ["-y", "instanode-mcp@latest"],
"env": {
"INSTANODE_TOKEN": "<optional>"
}
}
}
}Continue.dev
Add to your ~/.continue/config.yaml:
mcpServers:
- name: instanode
command: npx
args: ["-y", "instanode-mcp@latest"]
env:
INSTANODE_TOKEN: "<optional>"For a drop-in CLAUDE.md / .cursorrules that tells the agent exactly when
to reach for this MCP, see https://instanode.dev/agent.html.
Related MCP server: @manybases/mcp
Environment
Variable | Required | Default | Purpose |
| No | — | Bearer JWT minted at https://instanode.dev/dashboard. Required for |
| No |
| Override the API base URL. Only set this for local development against a k3s cluster. |
| No |
| Override the dashboard host that |
Tools
Tool | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Helper — turn an |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Container deployment (create_deploy)
Deploying is a single multipart/form-data POST with a base64-encoded gzip tarball of the project (Dockerfile + source). The MCP tool handles the encoding plumbing; the agent's job is just to construct the tarball.
Building the tarball (any language):
import base64, subprocess
tar = subprocess.check_output(["tar", "czf", "-", "-C", project_dir, "."])
tarball_base64 = base64.b64encode(tar).decode()import { execFileSync } from "node:child_process";
const tar = execFileSync("tar", ["czf", "-", "-C", projectDir, "."]);
const tarball_base64 = tar.toString("base64");Cap: 50 MB after decode. Honor .dockerignore — only ship what
docker build needs. The name field is required (1–64 chars,
letters/numbers/spaces/dashes) — it's the human-readable label shown
on the dashboard.
Binding provisioned resources:
Provision the resources first with create_postgres / create_cache / etc.
to get their tokens (UUIDs), then pass the tokens as resource_bindings:
{
"tarball_base64": "...",
"name": "my-app",
"port": 8080,
"resource_bindings": {
"DATABASE_URL": "<token from create_postgres>",
"REDIS_URL": "<token from create_cache>"
}
}The agent passes resource tokens (not connection URLs); the API
resolves each token to its connection URL server-side at deploy time. The
MCP server never pre-resolves tokens — pre-resolving would round-trip every
binding through GET /credentials and embed raw secrets into the tool
params, which the agent host may log.
Polling:
create_deploy returns status="building" immediately. Poll
get_deployment({ id: deploy_id }) every few seconds until status flips to
"running" (typical: ~30s). At that point the url field is the live URL.
Updating an existing deployment (same URL, new build)
To ship v2 of an app you already deployed without changing the URL or
app_id, call create_deploy again with the same name plus
redeploy: true:
{
"tarball_base64": "...",
"name": "my-app",
"redeploy": true
}The api finds the existing deployment by (team_id, name) and updates it
in place — same app_id, same *.deployment.instanode.dev URL, status
flips back to building while the new image rolls out.
Without redeploy: true, calling create_deploy with a name you've used
before mints a new app_id and a new URL (the legacy behaviour).
This is the trap that caused the AGENT-UX issue where agents ended up
with two live deployments + two URLs for the same app.
The standalone redeploy tool (by id, not name) still works and also
requires a tarball_base64 — the api never reuses the original tarball.
Prefer the create_deploy({ name, redeploy: true }) path when you have
the name; use redeploy({ id, tarball_base64 }) when you only have the
deploy id.
Private deploys
Set private: true and pass allowed_ips to restrict access to specific IPs
or CIDR blocks at the Ingress. Useful when the agent is asked to deploy a
CRM, internal dashboard, or staging app that should only be reachable by the
user.
Pro tier or higher required. Hobby callers will see HTTP 402 with an
agent_action field — the MCP server surfaces the upgrade URL so the agent
can prompt the user to upgrade.
Example prompt (paste into Claude Code):
"Deploy my CRM as a private app, only accessible from 1.2.3.4 and my office subnet 10.0.0.0/8"
The agent will then call:
{
"tarball_base64": "...",
"name": "my-crm",
"private": true,
"allowed_ips": ["1.2.3.4", "10.0.0.0/8"]
}get_deployment and list_deployments surface private + allowed_ips
back to the agent so it can confirm the policy to the user. To turn a
private deploy public, redeploy without the flags.
How anonymous → claimed works
Every create_* tool returns three fields the agent should treat as
load-bearing:
token— the resource UUID (used forclaim_tokenanddelete_resource).note— a one-sentence human-readable CTA, already mentions the upgrade URL.upgrade— the full claim URL (https://instanode.dev/start?t=<jwt>). The user clicks it, signs in with GitHub/Google or a magic link, and the resource is attached to their account.
upgrade_jwt is also returned for callers that want to build their own UI
around the claim flow. The claim_resource tool accepts that JWT and
returns the same dashboard URL — useful if the agent wants to re-surface the
claim URL later in the conversation after the original response has scrolled
out of context.
Example agent interactions
1. "I need a Postgres for this project"
You: Claude, I need a Postgres database for this project.
Claude: calls
create_postgres({ name: "my-side-project" })Returns a
connection_urllikepostgres://usr_a1b2:...@pg.instanode.dev:5432/db_a1b2?sslmode=require, plusnote: "Works for 24h free. Claim to keep — from $9/mo: https://instanode.dev/start?t=...".Claude then: writes
DATABASE_URL=...to.env, adds.envto.gitignore, runs the migrations, and shows the user the claim URL verbatim so they know how to keep the database past 24h.
2. "Spin up a Redis cache for rate limiting"
You: Add a Redis cache so I can rate-limit my API.
Claude: calls
create_cache({ name: "api-ratelimit" })Returns a
connection_urllikeredis://usr_b2c3:...@redis.instanode.dev:6379/0.
3. "Set up a webhook to catch Stripe events"
You: Give me a webhook URL I can point Stripe at.
Claude: calls
create_webhook({ name: "stripe-sandbox" })Returns a
receive_urlthat captures every request.curl $receive_urlpulls back the stored log.
4. "Object storage for user uploads"
You: I need S3-compatible storage for uploaded avatars.
Claude: calls
create_storage({ name: "user-avatars" })Returns endpoint, access key, secret key, and prefix. Claude wires the AWS SDK with the returned credentials.
5. "Make last night's database permanent"
You: I want to keep the database you made yesterday past 24h.
Claude (no INSTANODE_TOKEN): calls
claim_resource({ upgrade_jwt: "<the upgrade_jwt from yesterday's response>" })→ shows you the dashboard claim URL. You click it, sign in, the resource is attached.Claude (with INSTANODE_TOKEN): calls
claim_token({ token: "a1b2c3d4-..." })→ resource is now linked to the authenticated account, no browser round-trip needed.
Authentication
The anonymous tier works without any setup. To unlock paid limits, permanent
resources, and the account-management tools (list_resources,
delete_resource, claim_token, get_api_token):
Sign up at https://instanode.dev with GitHub.
Visit the dashboard and copy your bearer token.
Set it as
INSTANODE_TOKENin the MCP server'senvblock (see examples above).
Rotate any time by calling get_api_token, which mints a fresh Personal Access Token via POST /api/v1/auth/api-keys. PATs are revocation-based (not time-bound). NOTE: PATs cannot mint other PATs — get_api_token requires a user-session token (sign in via the dashboard), not an existing PAT, otherwise the API returns 403.
Development
npm install
npm run build
# Integration test (optional — requires a running instanode.dev server.
# For local k8s, port-forward first: kubectl port-forward -n instant svc/instant-api 8080:8080):
INSTANODE_API_URL=http://localhost:8080 npm testLicense
MIT — (c) instanode.dev
Available Tools
31 toolsclaim_resourceA
Turn an anonymous resource's upgrade JWT into the API claim URL the agent should direct the user to. NO API call — pure helper: builds https://api.instanode.dev/start?t= from the JWT the create_* tools return in the 'upgrade_jwt' field. /start issues a 302 redirect to the dashboard's /claim page, which drives the email login.
Use this when:
You just provisioned an anonymous resource via create_postgres / create_cache / etc.
The user wants to keep it past 24h (upgrade to a paid plan, or just claim it on a free authenticated account so it's visible on their dashboard).
You want to give them a single clickable URL rather than a long JWT string.
The MCP server cannot complete the claim for the user — it requires a browser session for OAuth login. Show the URL and tell the user to click it.
If you (the agent) already have the user's email and the upgrade JWT, use 'claim_token' instead to claim programmatically (POST /claim).
Inputs: upgrade_jwt (required).
claim_tokenA
Convert an anonymous upgrade JWT into a claimed team programmatically (POST /claim). Same flow the dashboard's /claim page drives — but lets an agent that already knows the user's email skip the browser round-trip.
The 'upgrade_jwt' is the JWT returned in the upgrade_jwt field of any create_* tool response (NOT the per-resource UUID token). It can also be extracted from the 't=' query param of the upgrade URL.
On success the API creates (or attaches to) the user's team, links every anonymous resource issued under that JWT, and returns a 24h session token. The session token isn't returned to the agent here — use 'get_api_token' or have the user mint one in the dashboard to authenticate future MCP calls.
If you don't have the user's email yet, use 'claim_resource' instead to get a URL the user can click in their browser.
Inputs: email (required), upgrade_jwt (required).
create_cacheA
Provision a fresh Redis cache on instanode.dev (POST /cache/new).
Returns a redis:// connection URL backed by a per-resource ACL user with a scoped key namespace — multiple tenants share the same Redis cluster safely. Drop in as REDIS_URL with any Redis client (ioredis, node-redis, go-redis, etc.).
Without INSTANODE_TOKEN: anonymous tier — 5 MB, 24h TTL. The response carries 'note' + 'upgrade' (claim URL) — surface both verbatim. With INSTANODE_TOKEN (paid): hobby 50 MB / hobby_plus 50 MB / pro 512 MB / growth 1024 MB / team 1536 MB (per api/plans.yaml), permanent.
Cleanup: anonymous resources auto-expire after 24h — there is no on-demand delete for anonymous tokens, by design. On a paid tier, call delete_resource to tear down on demand.
The 'name' field is required.
Inputs: name (required), env.
create_deployA
Create a new deploy — OR set redeploy: true to update an existing deployment with the same name (preserves app_id + URL). Optionally set private: true + allowed_ips: ['1.2.3.4', '10.0.0.0/8'] to restrict access to specific IPs. Deploying requires a paid plan: Hobby tier or higher (Hobby = 1 app, Hobby Plus = 2, Pro = 10, Growth = 50, Team = 100 — per api/plans.yaml deployments_apps); anonymous and free tiers cannot deploy and get HTTP 402. The PRIVATE-deploy option (private: true + allowed_ips) additionally requires Pro tier or higher. Useful when an agent is asked to deploy a CRM, internal dashboard, or staging app that should only be reachable by the user.
Deploys a containerized application on instanode.dev (POST /deploy/new).
The agent base64-encodes a gzip tarball of the user's project (must contain a Dockerfile at the root), passes it as 'tarball_base64', and the API builds + deploys + returns a public URL in ~30s. Build is asynchronous: the initial response carries status="building"; poll 'get_deployment' with the returned 'deploy_id' until status becomes "running" or "failed".
In-place update (redeploy:true): when you ship v2 of an existing app, pass the SAME 'name' plus 'redeploy: true'. The api updates that deployment in place — same app_id, same *.deployment.instanode.dev URL — instead of minting a fresh one. Default behaviour (redeploy omitted or false) always creates a new deployment and a new URL. This closes the AGENT-UX trap where shipping v2 with the same name left two live deployments + two URLs.
Tarball construction (agent side, runtime depends on language): tar = subprocess.check_output(["tar", "czf", "-", "-C", project_dir, "."]) tarball_base64 = base64.b64encode(tar).decode() Cap: 50 MB after base64 decode. Include only what 'docker build' needs; respect .dockerignore.
Resource bindings: pass 'resource_bindings' as a map of env var name → resource token (UUID), e.g. { "DATABASE_URL": "", "REDIS_URL": "" } The API resolves each token to its connection URL server-side and injects the resolved URL into the container at deploy time. The MCP server does NOT pre-resolve tokens — that would round-trip every binding through GET /credentials and embed raw secrets in the tool params, which the agent host may log.
Env vars: 'env_vars' takes plaintext values or vault://env/KEY refs (the vault is per-team, per-env; rotate without redeploying). 'env_vars' and 'resource_bindings' are merged before being sent to the API; on collision, 'resource_bindings' wins.
The 'name' field is required (the human-readable label shown on the dashboard).
Private deploys: set 'private: true' AND pass 'allowed_ips' (IPs or CIDR blocks) to restrict access at the Ingress. Pro tier or higher is required — hobby tier returns 402 with an agent_action prompting the user to upgrade. The two fields are coupled (T17 P2): allowed_ips without private:true is silently dropped by the api (the deploy stays publicly reachable), and private:true with an empty allowed_ips is a 400. The MCP client rejects both shapes locally with a clear error before the upload.
Tarball cap: 50 MiB after base64 decode. The MCP client enforces this client-side (T17 P2) — an oversized payload fails fast with a "shrink the tarball" hint instead of being uploaded and rejected server-side.
Requires INSTANODE_TOKEN (anonymous tier cannot deploy).
Inputs: name (required), tarball_base64 (required), env, port, +5 more.
create_leadA
Submit an enterprise contact / interest form to instanode.dev (POST /api/v1/leads).
Use this when the user needs capacity or features beyond the Pro tier — dedicated infrastructure, SAML/SSO, SOC 2 compliance, a custom SLA, or any other Enterprise-tier requirement. It directly reaches the instanode.dev team and is faster than a cold email.
Only 'email' is required. Providing 'company' and 'use_case' gives the team context to respond with an accurate quote without a back-and-forth.
No INSTANODE_TOKEN needed — anonymous callers are accepted. When called with a valid bearer token the lead is automatically linked to the caller's team so the sales team can see the account's current usage.
Returns the UUID of the created lead record on success.
Inputs: email (required), company, use_case, contact_name.
create_nosqlA
Provision a fresh MongoDB database on instanode.dev (POST /nosql/new).
Returns a mongodb:// connection URL backed by a per-resource Mongo user with a role scoped to that single database. Drop in as MONGODB_URI with the official mongodb driver (mongoose, pymongo, etc.).
Without INSTANODE_TOKEN: anonymous tier — 5 MB, 2 connections, 24h TTL. 'note' + 'upgrade' fields in the response surface the claim URL. With INSTANODE_TOKEN (paid): hobby 100 MB / hobby_plus 1 GB / pro 5 GB / growth 20 GB / team 40 GB (per api/plans.yaml), permanent.
Cleanup: anonymous resources auto-expire after 24h — there is no on-demand delete for anonymous tokens, by design. On a paid tier, call delete_resource to tear down on demand.
The 'name' field is required.
Inputs: name (required), env.
create_postgresA
Provision a fresh Postgres database on instanode.dev (POST /db/new). pgvector is pre-installed.
Returns a standard postgres:// connection URL that any driver can use directly as DATABASE_URL — no wrapper SDK, no setup. The 'name' field is required (the human label surfaced on the dashboard).
Without INSTANODE_TOKEN: anonymous tier — 10 MB, 2 connections, expires in 24h, capped at 5 provisions/day per /24 subnet. The response includes a 'note' and 'upgrade' (claim) URL; surface both to the user so they know how to keep it. With INSTANODE_TOKEN (paid): hobby/pro/team limits per the user's plan, permanent.
Cleanup: anonymous tier auto-expires after 24h — there is no on-demand delete_resource for anonymous tokens, by design. On a paid tier, call delete_resource to tear down on demand.
Store the connection_url in an env var (DATABASE_URL); do not hardcode it.
Inputs: name (required), env.
create_queueA
Provision a fresh NATS JetStream queue on instanode.dev (POST /queue/new).
Returns a nats:// connection URL backed by a per-resource NATS user with a scoped subject namespace. JetStream is enabled — use it for durable streams, pub/sub, or work queues. Drop in as NATS_URL with the nats.js / nats.go / nats.py client.
Without INSTANODE_TOKEN: anonymous tier — 24h TTL, basic message quotas. With INSTANODE_TOKEN (paid): tier-scaled quotas, permanent.
Cleanup: anonymous resources auto-expire after 24h — there is no on-demand delete for anonymous tokens, by design. On a paid tier, call delete_resource to tear down on demand.
The 'name' field is required.
Inputs: name (required), env.
create_stackA
Deploy a multi-service bundle from a single MCP call (POST /stacks/new).
The wedge: one tool call → a live URL on *.deployment.instanode.dev for an
instant.yaml-shaped manifest declaring 1..N services. Each service has its
own build context (tarball), Dockerfile, port, optional Ingress (expose: true),
and resource deps (needs: [postgres, redis] to auto-provision and bind, or
kind: postgres blocks inline). Cross-service references use
service://<name> in env values — these resolve to cluster-internal
http://<name>:<port> URLs at deploy time.
ANONYMOUS-FRIENDLY: no INSTANODE_TOKEN required. Anonymous stacks land at the anonymous tier with a 6h TTL (a stack is live compute, so its window is tighter than the 24h anonymous RESOURCE TTL), rate-limited by /24-subnet fingerprint. The response carries the same 'note' + 'upgrade' (claim) URL as create_postgres so the agent can prompt the user to keep the stack past 6h. With INSTANODE_TOKEN the stack inherits the user's plan tier and is permanent.
Multipart shape (the client builds this for you):
name(text, required)manifest(text, the YAML body)One binary file part PER service declared in the manifest, named after the service. The MCP receives them as a
{ <service-name>: <base64-gzip> }object — pass the same base64-encoded gzip tarball you'd pass to create_deploy, one per service.
Example manifest: services: app: build: . port: 8080 expose: true env: DATABASE_URL: service://postgres REDIS_URL: service://redis postgres: kind: postgres redis: kind: cache
Build is asynchronous: the initial response carries status="building"; poll 'get_stack' with the returned 'stack_id' until status="healthy" (~30s typical). Overall status is "healthy" only when every service is healthy.
Each tarball: gzip(tar()) → base64, cap 50 MiB per service (client-enforced). Total request body cap is 200 MB across all services (api).
Returns: stack_id, status, tier, env, per-service { name, port, expose, url, status } (only exposed services get a public URL), expires_in (6h on anon), plus the anonymous-tier upgrade fields.
Inputs: name (required), manifest (required), service_tarballs (required), env.
create_storageA
Provision a fresh S3-compatible object storage bucket prefix on instanode.dev (POST /storage/new). Backed by DigitalOcean Spaces with a per-resource access key, secret key, and prefix isolation under a shared bucket.
Returns endpoint, access_key_id, secret_access_key, prefix, and a public connection_url. Drop in to the AWS SDK (any language) by setting: AWS_ACCESS_KEY_ID=<access_key_id> AWS_SECRET_ACCESS_KEY=<secret_access_key> AWS_ENDPOINT_URL= AWS_REGION=us-east-1 (or whatever the endpoint requires) and uploading under the returned prefix.
Without INSTANODE_TOKEN: anonymous tier — 24h TTL enforced by the object store lifecycle policy (objects auto-delete). Response carries 'note' + 'upgrade' (claim URL) — surface both verbatim so the user can keep their objects past 24h. With INSTANODE_TOKEN (paid): tier-scaled storage limits, permanent.
Cleanup: anonymous storage prefixes auto-expire after 24h — there is no on-demand delete for anonymous tokens, by design. Objects under the prefix are removed by the bucket lifecycle policy. On a paid tier, call delete_resource to tear down on demand.
The 'name' field is required.
Inputs: name (required), env.
create_vectorA
Provision a pgvector-enabled Postgres database on instanode.dev (POST /vector/new).
Underlying storage IS Postgres (tier limits mirror Postgres exactly), with the pgvector extension already loaded via CREATE EXTENSION vector at provisioning time. Use for embedding stores (OpenAI text-embedding-ada-002 / 3-small = 1536 dims; text-embedding-3-large = 3072). Returns a standard postgres:// connection URL — drop in as DATABASE_URL with any pg driver.
Note: create_postgres ALSO ships with pgvector pre-installed today, so this tool is functionally equivalent for embedding workloads. Use create_vector when the agent wants to make the intent (pgvector / embeddings) explicit, or when the API contract evolves and pgvector-only routing diverges from generic Postgres provisioning.
The optional 'dimensions' field is a documentation hint only — pgvector lets you pick per-column dimensions at table-create time, so the server stores the declared default but does not enforce it.
Without INSTANODE_TOKEN: anonymous tier — 10 MB, 2 connections, expires in 24h, capped at 5 provisions/day per /24 subnet. The response carries 'note' + 'upgrade' (claim URL) — surface both verbatim. With INSTANODE_TOKEN (paid): hobby/pro/team Postgres limits, permanent.
The 'name' field is required.
Inputs: name (required), env, dimensions.
create_webhookA
Provision an inbound webhook receiver URL on instanode.dev (POST /webhook/new).
Returns a receive_url that accepts any HTTP method from any sender and stores each request (method, headers, body, received_at). GET the same URL to pull back the stored log. The 'name' field is required.
Useful for: testing Stripe/GitHub/Slack webhooks locally, inspecting payloads during development, building integrations without exposing a local port.
Without INSTANODE_TOKEN: anonymous tier — up to 100 requests stored, 24h TTL. 'note' + 'upgrade' fields in the response carry the claim URL — surface both. With INSTANODE_TOKEN (paid): 1000+ stored per tier, permanent.
Cleanup: anonymous webhook receivers auto-expire after 24h — there is no on-demand delete for anonymous tokens, by design. On a paid tier, call delete_resource to tear down on demand.
Inputs: name (required), env.
delete_deploymentA
Tear down a running deployment (DELETE /deploy/:id). Stops the container, releases compute, removes the public URL, and marks the deployment row deleted. Irreversible.
Requires INSTANODE_TOKEN.
Inputs: id (required).
delete_resourceA
Permanently delete one of the caller's resources (DELETE /api/v1/resources/{id}, where the {id} path param is the resource token). Drops the underlying Postgres/Mongo database, Redis ACL user, NATS user, storage prefix, or clears the webhook's request log, then marks the row status='deleted'.
Paid tier only (hobby/pro/team). Anonymous and free tiers cannot be deleted manually BY DESIGN — they auto-expire 24h after creation. This is the documented platform contract (see CLAUDE.md "anonymous = 24h TTL"): the free surface is throwaway-by-construction, which is why there's no auth required to provision and why deletion is a paid-tier feature. If your agent needs on-demand teardown, claim the resources first (move them to a paid tier), then call delete_resource.
For anonymous-tier cleanup: do nothing — the resource self-destructs at the 24h mark. The api's worker reaper handles the underlying DB / Redis ACL / storage prefix cleanup automatically.
Requires INSTANODE_TOKEN.
Inputs: token (required).
get_api_tokenA
Mint a fresh API key for the authenticated caller and return it as plain text (POST /api/v1/auth/api-keys). The user should paste the returned key into their MCP server config as INSTANODE_TOKEN (or export it as an env var for CLI use).
API keys are revocation-based (not time-bound) — they live until revoked in the dashboard.
IMPORTANT — PATs cannot mint other PATs (BugBash B16 F5 / task #171): The api enforces a one-step trust chain. A PAT (Personal Access Token, the standard INSTANODE_TOKEN format) can only be created by a logged-in user session, NOT by another PAT. So this tool will return HTTP 403 "PAT creation requires a user session" whenever INSTANODE_TOKEN itself is a PAT (which is the common case once the user has minted at least one).
The supported flow is therefore:
Claim once via the dashboard's browser sign-in.
From the dashboard's Settings → API Keys page, mint the FIRST key.
Paste it into the MCP server's INSTANODE_TOKEN.
Rotate by minting a NEW key in the dashboard (not via this tool) and revoking the old one.
This tool remains useful for the (rare) caller running with a dashboard session token (not a PAT), and as a clear surface for the 403 above so the agent can route the user to the dashboard instead of guessing.
Inputs: name.
get_capabilitiesA
Read the live per-tier capability matrix (GET /api/v1/capabilities).
Use this BEFORE a provision/deploy call to plan around tier limits instead of provisioning-to-discover them and eating a 402 mid-flow. The api iterates its live plans registry, so the response is always current — tiers today are anonymous and free (both no-cost, 24h-TTL), then the paid tiers hobby ($9/mo), hobby_plus ($19/mo), pro ($49/mo), growth ($99/mo) and team ($199/mo). The exact numbers come from the api, not this description, so they never drift.
Per tier you get:
storage_limit_mb — per-service storage cap (postgres/redis/mongodb/ queue/storage/webhook/vector); -1 = unlimited
connections_limit — per-service max connections; -1 = unlimited
resource_count_limit — per-service max number of active resources; -1 = unlimited
deployments_apps — max concurrent deployed apps; -1 = unlimited
price_usd_monthly, paid_from_day_one, annual_discount_percent
backup_retention_days / backup_restore_enabled / manual_backups_per_day
rpo_minutes / rto_minutes (durability promise; 0 = not promised)
upgrade_url (null on the terminal Team tier) + is_terminal_tier
Tiers are returned in upgrade order (cheapest first). NO INSTANODE_TOKEN required — this is a public discovery surface so a cold-start agent can plan its first call. The response is the same for every caller.
Inputs: no named parameters.
get_deploymentA
Fetch one deployment by its app id (GET /api/v1/deployments/:id).
Use this after create_deploy to poll until status="running" (typically ~30s after the initial 202). Returns the same shape as list_deployments for a single record.
Requires INSTANODE_TOKEN.
Inputs: id (required).
get_deployment_eventsA
Read the failure-timeline autopsy for a deployment (GET /api/v1/deployments/:id/events).
This is the rule-27 self-correction surface: when a deploy is stuck in "building" or flips to "failed", get_deployment only shows the LATEST error string — this tool returns the full chronological autopsy the platform's worker captured (Kaniko build failures, k8s pod events, OOM kills, image-pull errors). Each event carries:
kind (e.g. "failure_autopsy")
reason (e.g. "BackoffLimitExceeded", "OOMKilled", "ImagePullBackOff")
exit_code (process exit code, or null when not an exit)
event (k8s event type, when captured)
last_lines (the tail of the build/pod log — usually the actual error)
hint (a remediation suggestion you can act on)
created_at (RFC3339 UTC)
Events are newest-first, so events[0] is the most recent failure. Use this to fix a broken Dockerfile or misconfigured port without guessing: read the hint and last_lines, patch the project, then redeploy.
If the deploy succeeded there may be no events (empty list) — that's normal.
Requires INSTANODE_TOKEN. A deployment id that isn't on your team returns a clean "not found" (the api never confirms other teams' deployments).
Inputs: id (required), limit.
get_stackA
Fetch a stack by id (GET /stacks/{stack_id}). Use this after create_stack to poll until every service is "healthy" (~30s typical).
Anonymous-friendly: the public /stacks/{slug} route mirrors the StackResponse shape returned by POST /stacks/new (services array, expires_in, etc.) and does not require INSTANODE_TOKEN — anonymous callers can poll their own stacks. The dashboard-only GET /api/v1/stacks/{slug} returns a flatter summary and requires auth; this tool uses the public route.
Returns the same shape as create_stack: stack_id, status, tier, env, per-service { name, port, expose, url, status }, expires_in.
Inputs: stack_id (required).
list_deploymentsA
List deployments on the caller's team (GET /api/v1/deployments).
Returns each deployment's app_id, tier, status (building/running/failed/...), live URL, port, and the deploy env scope (production/staging/...).
Requires INSTANODE_TOKEN.
Inputs: no named parameters.
list_resourcesA
List resources on the caller's instanode.dev account, newest first (GET /api/v1/resources).
Requires INSTANODE_TOKEN to be set. Mint one at https://instanode.dev/dashboard.
Returns each resource's type (postgres/cache/nosql/queue/storage/webhook/vector), token, tier, status, name, and expiry.
Inputs: no named parameters.
pause_resourceA
Suspend a resource WITHOUT deleting it (POST /api/v1/resources/:id/pause).
Storage is preserved and the connection URL is unchanged — the resource just stops accepting new connections (the provider-side credential is revoked) until you resume it. Use this to park a staging database overnight, freeze a resource during an incident, or temporarily cut access without losing data.
Pro tier or higher only (anonymous/free/hobby get 402 with an upgrade prompt). Pausing an already-paused resource returns 409. Resume with resume_resource; the same connection URL works again immediately after resume.
Requires INSTANODE_TOKEN. A token not on your team returns a clean 404.
Inputs: id (required).
presign_storageA
Mint a short-lived presigned S3 URL for an object in a storage bucket prefix (POST /storage/:token/presign).
Use this to upload (PUT) or download/inspect (GET/HEAD) an object without handing out long-lived credentials. The signed URL is scoped to the storage resource's tenant prefix and expires in ≤1h (default 10 min). Auth is the storage TOKEN in the path (the value create_storage returned) — so this works for anonymous-tier storage you just provisioned, no INSTANODE_TOKEN needed.
Then use the returned 'url' with any plain HTTP client:
PUT → upload the object body to that URL
GET → download the object
HEAD → fetch metadata only
DELETE is intentionally NOT offered — a leaked presigned URL must not be able to wipe a prefix. The key must be relative to the prefix (no leading slash, no '..' path traversal — the api rejects those).
Inputs: key (required), token (required), operation (required), expires_in.
redeployA
Push updated code to an existing deployment by app id. Same URL, new build (POST /deploy/:id/redeploy).
Use this when you already know the deploy_id and want to ship a code change without touching the URL or app_id. For the more common "I have the name, I want to update the app I just shipped" path, prefer create_deploy({ name, tarball_base64, redeploy: true }) — that resolves the deployment by name and is the AGENT-UX-recommended path.
The api REQUIRES a fresh tarball — there is no server-side tarball reuse (the earlier tool description claiming reuse was wrong and caused every real call to fail with 400 missing_tarball). Pass a base64-encoded gzip tar of the project (Dockerfile + source), same shape as create_deploy.
Status flips back to "building"; poll get_deployment until it returns to "running" (~30s typical).
Requires INSTANODE_TOKEN.
Inputs: id (required), tarball_base64 (required).
resume_resourceA
Un-pause a previously-paused resource (POST /api/v1/resources/:id/resume).
Flips the resource back to 'active' and re-grants the provider credential. The connection URL is preserved unchanged (same password, host, database name) so your existing config keeps working — no reconnection-string change needed.
Pro tier or higher only (symmetric with pause_resource). Resuming a resource that isn't paused returns 409. Requires INSTANODE_TOKEN. A token not on your team returns a clean 404.
Inputs: id (required).
rotate_credentialsA
Rotate a resource's password and get the NEW connection URL (POST /api/v1/resources/:id/rotate-credentials).
The host and database name are unchanged; only the credential rotates. An attacker holding a leaked OLD connection URL is locked out, while the freshly- returned URL keeps working. Use this after a suspected leak, on a key-rotation schedule, or before handing a resource off.
The response includes the new connection_url IN PLAINTEXT (the one place besides create_* that exposes it) — treat it as a secret, store it (e.g. with set_vault_key), and update any app/deploy that references the old URL.
Requires INSTANODE_TOKEN. A token not on your team returns a clean 404.
Inputs: id (required).
rotate_vault_keyA
Rotate a vault secret's value (POST /api/v1/vault/:env/:key/rotate).
Functionally a vault write that mints a new version, but recorded under a distinct audit action so the vault audit log distinguishes an intentional rotation (e.g. a leaked credential, scheduled key rotation) from a routine update. Use this when you're replacing a compromised or expiring secret; use set_vault_key for a first write or a normal value change.
After rotating, redeploy any app that references vault:/// so the new value is injected (the running container keeps the old value until its next deploy).
Requires INSTANODE_TOKEN.
Inputs: env (required), key (required), value (required).
set_vault_keyA
Write a secret to the team vault (PUT /api/v1/vault/:env/:key).
This is the WRITE side of the vault:// references create_deploy advertises. Store a secret here, then reference it from a deploy as vault:/// in env_vars (or resource_bindings) — the api decrypts it at deploy time so the plaintext never sits in your tool params or the deploy record. Closes the gap where create_deploy could point at vault://env/KEY but there was no MCP tool to populate it.
Every write creates a NEW version (v1 on first create, v2+ on updates), so the returned 'version' tells you which generation this call minted. The plaintext value is never echoed back.
Vault is a paid feature: Hobby+ (20 entries) through Pro/Team (unlimited). On anonymous/free you get 403 vault_not_available; at the entry cap you get 402. Hobby/Pro tiers restrict the env to 'production' only — pass env="production" there (the api returns 403 vault_env_not_allowed otherwise).
Requires INSTANODE_TOKEN.
Inputs: env (required), key (required), value (required).
update_deploy_envA
Merge environment variables into an existing deployment (PATCH /deploy/:id/env).
The supplied keys are MERGED into the deployment's current env (incoming wins on collision) — you don't have to resend the full set. The response echoes the full merged map with secret values redacted. A redeploy is required to apply the change: the running container keeps its current env until its next build, so finish with create_deploy({ name, redeploy: true }) or redeploy({ id }).
Values can be plaintext or vault://env/KEY references (write the secret first with set_vault_key). Requires INSTANODE_TOKEN. A deployment id not on your team returns a clean 404 (the api never confirms other teams' deployments).
Inputs: id (required), env (required).
update_stack_envA
Merge environment variables into an existing stack (PATCH /stacks/:slug/env).
Same merge semantics as update_deploy_env but for a multi-service stack, and transactionally row-locked server-side so concurrent updates don't clobber each other. An EMPTY-STRING value deletes that key. The response echoes the merged map with secret values redacted. Redeploy the stack (POST /stacks/:slug/redeploy) to apply the change.
Auth required — anonymous stacks cannot be mutated (claim the stack first). A slug not on your team returns a clean 404. Requires INSTANODE_TOKEN.
Inputs: env (required), stack_id (required).
wake_deploymentA
Explicitly wake a scaled-to-zero deployment (POST /deploy/:id/wake).
When scale-to-zero is enabled, an idle app is descheduled to 0 replicas to save compute; its URL then returns 502/503 (no pod) until woken. This tool scales it back to 1 replica and refreshes its activity stamp. The pod still needs its normal cold-start time before it serves traffic, so retry the app URL a few seconds after waking.
This endpoint is FLAG-GATED on the platform: when scale-to-zero is disabled the api returns 501 'scale_to_zero_disabled' and nothing is scaled. That's expected on a deploy where the feature isn't turned on — the deployment is already always-on, so there's nothing to wake.
Requires INSTANODE_TOKEN. A deployment id not on your team returns a clean 404.
Inputs: id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Every tool targets a distinct resource or action. Even similar tools like create_postgres and create_vector are clearly differentiated by intent and usage notes. Overlap is minimal and well-documented.
Tool names consistently follow a verb_noun pattern (e.g., create_postgres, delete_resource, list_deployments). Only minor deviations like 'redeploy' exist, but they are still clear.
31 tools is above the typical 3-15 range but justified by the broad scope: resource provisioning, management, deployments, stacks, vault, and lead creation. Each tool has a clear purpose, and the count is not excessive for the domain.
The tool set covers most lifecycle operations for resources and deployments. Minor gaps exist (e.g., no delete_stack or get_resource for a single resource), but agents can work around them. Overall, it's reasonably complete for the stated purpose.
Maintenance
Related MCP Connectors
- Eyevinn Open Source CloudDeprecatedio.osaas.mcp
Your AI Agent's Infrastructure Layer. Connect Claude, Copilot, Codex, or ChatGPT to 200+ managed open source services. Start databases, pipelines, and applications through natural language.
Deploy local apps, add managed Postgres, and inspect logs from your AI coding agent.
Cloud for coding agents: deploy, email, Postgres, domains and more, with spending caps you set.
Deploy and run your apps by asking your AI: services, Postgres, logs, traces, rollbacks, costs.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover, install, and manage production business infrastructure such as storage, structured data, background jobs, webhooks, email, secrets, metering, and billing, with credential-free discovery and a free test mode.Apache 2.0
@manybases/mcpofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create and run a backend with database, auth, file storage, server-side functions, and a site, all without opening a browser.11 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables AI agents to build and deploy an app from a GitHub repository to a managed live server and then operate it — logs, captured errors, health checks, managed Postgres, secrets, custom domains, email authentication, and Stripe checkout links. It also exposes safe, read/write-labelled tools so agents can rebuild, start/stop, and inspect projects without ever editing source code.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to deploy and operate self-hosted applications on Linux servers and homelabs through Docker Compose, including zero-config buildpack builds, encrypted secret storage, one-second PostgreSQL/Redis provisioning, and one-call exposure via Cloudflare Tunnel or Tailscale. It also provides container lifecycle and log management plus an optional lightweight web dashboard, all without a persistent daemon.MIT