Basic information
About SnapDeploy MCP Server
Deploy and manage SnapDeploy apps (Docker containers on AWS) from Claude Code, Cursor, Codex or Gemini CLI: builds, logs, env vars, add-ons, domains.
SnapDeploy MCP is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by AAR-Labs. It exposes 15 tools, including list_apps, get_status, get_logs, get_deployments and more. Runtime: node. License: MIT. Source code is hosted on github.com. Related topics: aws, claude-code, cloud, codex, cursor.
Setup
{
"mcpServers": {
"snapdeploy": {
"command": "npx",
"args": [
"-y",
"@snapdeploy/mcp"
],
"env": {
"SNAPDEPLOY_API_KEY": "sd_pat_your_token"
}
}
}
}
{
"mcpServers": {
"snapdeploy": {
"command": "npx",
"args": [
"-y",
"@snapdeploy/mcp"
],
"env": {
"SNAPDEPLOY_API_KEY": "sd_pat_your_token"
}
}
}
}
{
"servers": {
"snapdeploy": {
"command": "npx",
"args": [
"-y",
"@snapdeploy/mcp"
],
"env": {
"SNAPDEPLOY_API_KEY": "sd_pat_your_token"
}
}
}
}
SnapDeploy MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"snapdeploy": {
"command": "npx",
"args": [
"-y",
"@snapdeploy/mcp"
],
"env": {
"SNAPDEPLOY_API_KEY": "sd_pat_your_token"
}
}
}
}
SnapDeploy MCP tools
-
list_apps
— 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.
(no parameters) -
get_status
— Full status of one container (by name or id): state, URL, port, detected technology, resources. Env-var VALUES are never returned — names only.
container:string* -
get_logs
— Recent RUNTIME logs of a container (CloudWatch, up to 1000 lines). For BUILD logs of a deployment use get_deployments with a deployment_id.
container:string*, lines:integer -
get_deployments
— 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).
container:string, deployment_id:string, limit:integer -
check_quota
— 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.
(no parameters) -
list_repos
— List (or search) the GitHub repositories connected to this SnapDeploy account. If GitHub is not connected yet, returns the connect link for the user.
query:string, page:integer -
detect_env_vars
— 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.
repo:string*, branch:string -
deploy
— 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.
repo:string*, container:string, branch:string, env:object, port:integer, size:string -
set_env
— 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.
container:string*, env:object* -
start_container
— Start a stopped container. May answer 402 when free hours are exhausted — relay that message and link, do not retry.
container:string* -
stop_container
— Stop a running container (safe, reversible — deletion is NOT possible through this connector by design).
container:string* -
wake_container
— Wake a sleeping free-plan container so its URL serves again.
container:string* -
create_database
— 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.
type:string*, name:string, container:string, database_name:string -
add_domain
— Attach a custom domain to a container. Returns the DNS records the user must create; verification then runs from the SnapDeploy UI.
domain:string*, container:string* -
assign_always_on
— 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.
subscription_id:string*, container:string*
Overview
What is SnapDeploy MCP?
A Model Context Protocol server that lets Claude Code, Claude Desktop, Cursor, Windsurf, Codex CLI, Gemini CLI or any stdio MCP client deploy and manage apps on SnapDeploy, a Docker container hosting platform on AWS. Say "deploy this repo to SnapDeploy" and get a live HTTPS URL back, then check builds, logs, environment variables, managed databases and custom domains without leaving the chat.
SnapDeploy MCP tools
- read:
list_apps,get_status,get_logs,get_deployments,check_quota,list_repos,detect_env_vars - deploy:
deploy,set_env,start_container,stop_container,wake_container - manage:
create_database,add_domain,assign_always_on
Scopes nest (read ⊂ deploy ⊂ manage) and the server enforces them before any tool runs.
Use cases of SnapDeploy MCP
- Deploy a GitHub repository or a Dockerfile from the editor and get the live URL in the reply.
- Read build and runtime logs while debugging, without opening a dashboard.
- Set environment variables the app needs, detected from the code by
detect_env_vars. - Add a managed Postgres, MySQL, MongoDB, Redis or RabbitMQ add-on and wire it in.
- Wake a sleeping free-tier container, or move it to Always-On for 24/7 uptime.
Setup
- Sign in at https://snapdeploy.dev, open API Keys and create a token with the
deployscope. The page generates the snippets with your token 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/mcp
Any other client: use the JSON configuration on this page.
Safety model
- Nothing destructive, ever. There is no delete tool. Deletes, subscription cancellations and password changes are refused for every token, even if an agent escalates to a raw API call; they need a person signed in to the dashboard or the mobile app.
- Secrets never reach the model. Environment-variable values come back as
(set)and credentials are masked on the server, not just in the 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 and 429 replies carry SnapDeploy's own message and upgrade link, and the assistant is told not to retry.
Frequently asked questions
1 Do I need a paid SnapDeploy plan?
No. The free tier (4 containers, 100 running hours a month, 10 deploys a day, no credit card) works with the connector. Always-On, custom domains and databases are paid.
2 Which token scope should I use?
deploy for day-to-day work. read for a client that should only inspect. manage only if you want the assistant to create databases, add domains or assign Always-On.
3 Can the assistant delete my app or account?
No. There is no delete tool and the API refuses destructive calls from tokens. Those actions need a signed-in person.
4 Where are the docs and source?
Docs: https://snapdeploy.dev/docs/mcp. Source: https://github.com/AAR-Labs/snapdeploy-mcp (MIT). npm: @snapdeploy/mcp. Official MCP Registry: io.github.somdip-2310/snapdeploy.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In