BasicDeploy MCP Server
BasicDeploy MCP Server
The persistent runtime your agent deploys to: a database, object storage, a Kafka broker, and a public URL, one MCP call.
An MCP (Model Context Protocol) server that lets AI coding agents (Claude Code, Cursor, and any MCP client) create and manage BasicDeploy containers directly. Every container comes with a PostgreSQL database, S3‑compatible object storage, a Kafka broker, environment variables, and a public HTTPS URL, all provisioned automatically. Your agent can create containers, deploy apps (Node, Python, Go, or Docker, auto‑detected), run commands, read logs, manage Kafka topics, check who it is authenticated as, set always‑on, and share or delete containers.
🌐 Site: https://basicdeploy.com
📚 Docs: https://basicdeploy.com/docs
Quick start
Requires Node.js ≥ 18. No install needed. npx fetches it on demand.
Get an API key at https://basicdeploy.com/api-keys (it looks like bd_…, shown once), then add this to your MCP client:
{
"mcpServers": {
"basicdeploy": {
"command": "npx",
"args": ["-y", "basicdeploy-mcp@latest"],
"env": {
"BASICDEPLOY_API_KEY": "bd_your_api_key",
"BASICDEPLOY_URL": "https://basicdeploy.com"
}
}
}
}Claude Code:
claude mcp add basicdeploy \
--env BASICDEPLOY_API_KEY=bd_your_api_key \
--env BASICDEPLOY_URL=https://basicdeploy.com \
-- npx -y basicdeploy-mcp@latestClaude Code plugin (this repo doubles as a plugin marketplace):
/plugin marketplace add AkaciaNL/basicdeploy-mcp
/plugin install basicdeploy-mcp@basicdeployThen set BASICDEPLOY_API_KEY in your environment (the plugin reads it via ${BASICDEPLOY_API_KEY}).
OpenAI Codex CLI:
codex mcp add basicdeploy \
--env BASICDEPLOY_API_KEY=bd_your_api_key \
--env BASICDEPLOY_URL=https://basicdeploy.com \
-- npx -y basicdeploy-mcp@latestor add it directly to ~/.codex/config.toml:
[mcp_servers.basicdeploy]
command = "npx"
args = ["-y", "basicdeploy-mcp@latest"]
env = { BASICDEPLOY_API_KEY = "bd_your_api_key", BASICDEPLOY_URL = "https://basicdeploy.com" }Environment variables
Variable | Required | Description |
| Yes | Your API key ( |
| No | API base URL. Defaults to |
Tools
Tool | Arguments | Description |
| (none) | List your containers: subdomain, status, URL, id, createdAt. |
|
| Create a container. Database + S3 bucket provisioned automatically. Larger sizes need Pro/Scale; always‑on on Free uses a paid add‑on slot. |
|
| Full details: URL, status, ports, DB name/user, S3 bucket, volume path. |
|
| Deploy a |
|
| Run a shell command inside the container; returns output + exit code. |
|
| Fetch recent container logs. |
|
| Turn a container's 24/7 always‑on flag on/off. |
|
| Wake a slept container so it serves traffic again. |
|
| Sleep a running container to free memory (wakes on next request). |
| (none) | Your plan, container limit (plan + add‑ons), selectable memory sizes, storage limit, and add‑ons. |
|
| Share a container with another user by email (they get a sign‑in link). Omit |
|
| Permanent: destroys the container, its database, and all files. |
| (none) | The account this connection is authenticated as (email + id). |
| (none) | Kafka connection details (SASL/SCRAM): internal + external bootstrap, username/password, consumer‑group prefix, topics, usage and limits. Provisions on first call. |
|
| Create a Kafka topic (auto‑namespaced under your prefix; optional readable label). Fails if the topic/storage budget is exceeded. |
|
| Empty a topic you own (deletes its messages, keeps the topic). Restart processing after a mistake. |
|
| Permanent: delete a topic you own and all its messages. |
Runtime
Deployed apps must listen on 0.0.0.0:8080, the port the public URL serves. DATABASE_URL, S3_ENDPOINT / S3_ACCESS_KEY / S3_SECRET_KEY / S3_BUCKET, and KAFKA_BOOTSTRAP / KAFKA_USERNAME / KAFKA_PASSWORD / KAFKA_GROUP_PREFIX are preset in the container environment. Startup output goes to /workspace/deploy.log.
Example prompts
"Create a 1GB always‑on container and deploy
./dist/app.tar.gzto it, give me the URL.""Show the last 100 log lines of my
blue-foxcontainer.""What plan am I on and how many containers can I run?"
"Share my container with teammate@example.com for 24 hours."
License
MIT. BasicDeploy is a product of Akacia (KVK 99629569, Netherlands).