@snapdeploy/mcp
Deploy and manage SnapDeploy containers from an MCP-compatible AI assistant, with scoped read/deploy/manage tools and no destructive operations.
Read:
list_apps,get_status,get_logs,get_deployments,check_quota,list_repos,detect_env_vars.Deploy:
deploy(build from a connected GitHub repo),set_env,start_container,stop_container,wake_container.Manage:
create_database(Postgres, MySQL, MariaDB, MongoDB, Redis, RabbitMQ),add_domain,assign_always_on.Safety: no delete tool; server refuses deletes, subscription cancellations, and password changes; env values are masked; tokens are scoped/revocable; plan limits are relayed, not retried.
Allows listing GitHub repositories and deploying them to SnapDeploy, with support for environment variable detection and deployment management.
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., "@@snapdeploy/mcp Deploy the GitHub repo acme/web to SnapDeploy and share the live URL"
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.
@snapdeploy/mcp
Deploy and manage SnapDeploy containers from your AI assistant — Claude Code, Claude Desktop, Cursor, Windsurf, Codex CLI, Gemini CLI, or any client that speaks the Model Context Protocol over stdio.
Say "deploy this repo to SnapDeploy" and get a live URL back. Builds, logs, environment variables, managed databases and custom domains — without leaving the chat.
Setup
Sign in at snapdeploy.dev, open API Keys and create a token with the
deployscope (the page generates the snippets below with your token already filled in).Add the server to your client:
Claude Code
claude mcp add --scope user snapdeploy -e SNAPDEPLOY_API_KEY=sd_pat_your_token -- npx -y @snapdeploy/mcpCursor (~/.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json),
Gemini CLI (~/.gemini/settings.json), Claude Desktop and other JSON-configured clients:
{
"mcpServers": {
"snapdeploy": {
"command": "npx",
"args": ["-y", "@snapdeploy/mcp"],
"env": { "SNAPDEPLOY_API_KEY": "sd_pat_your_token" }
}
}
}Codex CLI (~/.codex/config.toml):
[mcp_servers.snapdeploy]
command = "npx"
args = ["-y", "@snapdeploy/mcp"]
env = { SNAPDEPLOY_API_KEY = "sd_pat_your_token" }Claude Code plugin (token stored in secure storage instead of a config file):
/plugin marketplace add AAR-Labs/snapdeploy-mcp
/plugin install snapdeploy@snapdeployRestart the session; the snapdeploy tools appear. Your repository must be on GitHub and
GitHub must be connected to SnapDeploy once (the connector returns the link if it isn't).
Related MCP server: Liara MCP Server
Tools
Scope | Tools |
|
|
|
|
|
|
Scopes nest (read ⊂ deploy ⊂ manage); the server enforces them before any tool runs.
There is no delete tool, and the server refuses deletes, subscription cancellations and
password changes for every token — those need a person signed in to the dashboard or the
mobile app.
Prebuilt images. deploy builds from a connected GitHub repository; there is no image tool. To run a public Docker image, use the dashboard (Deploy Your Application → Docker Image) or POST /api/mobile/containers with name, image, imageTag, port, then POST /api/mobile/containers/{containerId}/start. Images must come from Docker Hub, ghcr.io, quay.io or public.ecr.aws, publish linux/amd64 or linux/arm64, and pass SnapDeploy's create-time policy check; a 400 Security policy violation is final and must not be retried. Full rules: https://snapdeploy.dev/llms-full.md
Safety model
Nothing destructive, ever. Even an agent that escalates to a raw API call with the same token gets
403 INTERACTIVE_SESSION_REQUIRED.Secrets never reach the model. Environment-variable values come back as
(set)and credentials are masked — on the server, not just in this connector.Scoped, expiring, revocable tokens with their own rate limit. Revoke on the API Keys page and every request returns 401 from that moment.
Retry-safe deploys. Identical requests inside ten minutes return the original deployment instead of starting another build.
Plan limits are relayed, not retried. 402/429 replies carry SnapDeploy's own message and upgrade link, and the assistant is told not to retry.
Environment variables
Variable | Required | Meaning |
| yes | Scoped token ( |
| no |
|
| no | Defaults to |
Links
Guides: Claude Code · Cursor · Codex / Gemini CLI · Lovable exports
Reference: snapdeploy.dev/docs/mcp · API
Design write-up: why an agent that can deploy must not be able to delete
MIT © AAR Labs
Available Tools
15 toolsadd_domainA
Attach a custom domain to a container. Returns the DNS records the user must create; verification then runs from the SnapDeploy UI.
Inputs: domain (required), container (required).
assign_always_onA
Attach an UNASSIGNED Always-On subscription to a container (keeps it running 24/7 and lifts the deploy limit). Only call this after the user explicitly confirms — check_quota lists any unassigned subscriptions.
Inputs: container (required), subscription_id (required).
check_quotaA
Can the user deploy and run apps right now? Merges the deploy limit (5 per rolling 12h — ONLY for accounts without an Always-On/Sprint entitlement; failed attempts count) and the free-hours cap (containers refuse to start at 402 when exhausted), plus any unassigned Always-On subscriptions.
Inputs: no named parameters.
create_databaseA
Create a managed add-on: PostgreSQL, MySQL, MariaDB, MongoDB, Redis or RabbitMQ. Requires a purchased add-on subscription — without one this returns the purchase link (relay it, don't retry). Credentials are provisioned server-side and shown to the user in the SnapDeploy UI, never through this connector.
Inputs: type (required), name, container, database_name.
deployA
Deploy a connected GitHub repo to SnapDeploy: creates the container if needed, links the repo, builds, and waits for the result. Reply includes the live URL or, on failure, the error and build-log tail. On accounts without an Always-On/Sprint entitlement this uses one unit of the deploy limit (failed attempts count); Always-On accounts are uncapped.
Inputs: repo (required), env, port, size, +2 more.
detect_env_varsA
Scan a repo for the environment variables it needs (import.meta.env / process.env usage). For known keys (Supabase etc.) the reply says where the user finds the value. Do this BEFORE the first deploy of a Lovable/Bolt/v0 export.
Inputs: repo (required), branch.
get_deploymentsA
Deployment history of a container, or one deployment in detail (status, error code/message and build-log tail — use this to diagnose a failed build).
Inputs: limit, container, deployment_id.
get_logsA
Recent RUNTIME logs of a container (CloudWatch, up to 1000 lines). For BUILD logs of a deployment use get_deployments with a deployment_id.
Inputs: container (required), lines.
get_statusA
Full status of one container (by name or id): state, URL, port, detected technology, resources. Env-var VALUES are never returned — names only.
Inputs: container (required).
list_appsA
List the user's SnapDeploy containers with status and URL, plus plan, deploy-limit and free-hours state. Start here to find container ids/names.
Inputs: no named parameters.
list_reposA
List (or search) the GitHub repositories connected to this SnapDeploy account. If GitHub is not connected yet, returns the connect link for the user.
Inputs: page, query.
set_envA
Set/replace a container's environment variables (rolling restart, no rebuild). Values are accepted but NEVER echoed back. Public build-time names (VITE_*, NEXT_PUBLIC_*, REACT_APP_*) only take effect in the bundle after the next deploy.
Inputs: env (required), container (required).
start_containerA
Start a stopped container. May answer 402 when free hours are exhausted — relay that message and link, do not retry.
Inputs: container (required).
stop_containerA
Stop a running container (safe, reversible — deletion is NOT possible through this connector by design).
Inputs: container (required).
wake_containerA
Wake a sleeping free-plan container so its URL serves again.
Inputs: container (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Tools are mostly separated by resource and action: list/get for reads, deploy/set_env for writes, and lifecycle verbs for container states. The only real overlap is start_container vs wake_container, but their descriptions (stopped vs sleeping free-plan) make the distinction usable.
Names follow a consistent snake_case verb_noun convention such as list_apps, get_status, start_container, and add_domain. The one-word deploy action is a minor deviation, but the overall pattern is predictable and easy to navigate.
15 tools is at the upper end of the typical range but each maps to a distinct platform operation, from deployment and env config to quota and add-ons. There is no filler; the size is well-scoped for the server's purpose.
The core workflow is well covered: connect repo, detect env vars, deploy, monitor logs/deployments, manage container state, set env, add domain, and check quota. Gaps like container deletion, database listing/removal, and domain removal are intentionally deferred to the SnapDeploy UI or noted as by-design limitations.
Maintenance
Related MCP Connectors
Deploy apps from GitHub, read build/runtime logs, and manage your app's users from your AI agent.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Deploy and run your apps by asking your AI: services, Postgres, logs, traces, rollbacks, costs.
Deploy and run apps in your own AWS, Google Cloud, Azure or DigitalOcean account from any AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Dokploy deployments, including creating and deploying applications, managing databases, configuring domains with SSL, and monitoring application status through a standardized interface.MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to deploy and manage applications, databases, object storage, VMs, DNS, and infrastructure on the Liara cloud platform through natural language commands.10066 npm7MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to manage cloud infrastructure through natural language by providing a unified interface to the Dokploy platform. Supports Docker containers, applications, databases, domains, monitoring, and deployment operations through conversational commands.50 npm1-
- FlicenseNot gradedqualityDmaintenanceDeploy, manage, and scale applications directly from your AI assistant.8-