Dockhold

eu.dockhold由 dockhold.eu 发布官方发布者v0.2.0更新于 Oct 24, 2026

Deploy your project to a live HTTPS URL from your AI tool; read logs, set variables, resize apps.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具

概览

AI 生成的概览

Dockhold 让助手把 GitHub 仓库部署为可访问的 HTTPS 网页应用,并查看状态与日志、设置变量和密钥、调整应用与数据库规格。

可以做什么
列出应用和已连接的 GitHub 仓库,读取单个应用的部署状态、网址、最近提交与错误信息,以及最近的运行日志和账户资源池(计算、数据库内存、存储)。将公开或私有 GitHub 仓库部署为在线网页应用,一次部署多个互联服务,零停机重启应用或从最新提交重新构建。设置或移除普通环境变量并推送生效。按名称存储、绑定、解绑和列出密钥,但无法读回密钥值。调整应用内存、托管数据库内存,扩容数据库磁盘;添加或移除应用的持久存储。
适用场景
适合在 AI 编程工具内直接把项目上线并获得可分享的 HTTPS 网址,随后查看部署状态、读取日志、调整配置,或在不离开编辑器的情况下扩容应用和托管数据库。
运行要求
可使用通过 npx 运行的本地服务器(需 Node.js 18 或更高版本),或远程 Streamable HTTP 端点。本地方式需通过 Dockhold CLI 在浏览器中一次性登录,各客户端共享,有效期 90 天。远程方式需在 Authorization 请求头中传入 Dockhold 控制台生成的 bearer 令牌。需要 Dockhold 账户;免费套餐无需信用卡。
安装前请注意
部署、扩容、变量和存储类工具会改动线上基础设施,并可能消耗付费账户资源。remove_app_storage 会永久删除全部文件,无法撤销且没有备份;resize_database 会短暂重启数据库。密钥值无法读回,但密钥类工具需要带 secrets 权限的控制台令牌。远程方式会把令牌写入配置文件,应避免将其纳入版本控制。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dockhold,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/eu.dockhold%2Fdockhold/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "dockhold": {
      "type": "http",
      "url": "https://api.dockhold.eu/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Dockhold for your AI coding tool

Put the project you are working on online without leaving your editor. Install once, sign in once in the browser, then say "put this online". Your AI tool deploys the current folder (or a GitHub repo) to Dockhold and reports a live HTTPS URL. It can also read status and logs, set variables, and resize apps and managed databases.

No token to copy. Sign-in happens through the browser, the same way as the Dockhold CLI, and every client below shares it.

Install

Every install below starts the same local MCP server, npx -y dockhold mcp. It forwards each request to Dockhold with the sign-in the CLI stored on your machine. Nothing sensitive goes into your editor config.

Claude Code

/plugin marketplace add dockhold/mcp/plugin install dockhold@dockhold

This installs the MCP server and a deploy skill (invoked as /dockhold:deploy, or picked up on its own when you ask to put the project online) that knows the whole flow: preflight, sign-in, deploy, and what to do when a build fails.

Cursor

[Add to Cursor]

The button opens this link in Cursor:

cursor://anysphere.cursor-deeplink/mcp/install?name=dockhold&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRvY2tob2xkIiwibWNwIl0sImVudiI6eyJET0NLSE9MRF9SRUYiOiJjdXJzb3IifX0=

Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

json
{  "mcpServers": {    "dockhold": {      "command": "npx",      "args": ["-y", "dockhold", "mcp"],      "env": { "DOCKHOLD_REF": "cursor" }    }  }}

This repo is also an Agent Plugin (plugin.json and mcp.json at the root), so Cursor can install it from its plugin browser once it is listed there: open Customize in the sidebar, search for Dockhold, and choose Install.

VS Code

sh
code --add-mcp '{"name":"dockhold","command":"npx","args":["-y","dockhold","mcp"],"env":{"DOCKHOLD_REF":"vscode"}}'

Gemini CLI

sh
gemini extensions install https://github.com/dockhold/mcp

This repo is also a Gemini CLI extension (gemini-extension.json at the root), so the install adds the MCP server and the same deploy skill.

Cline

Ask Cline to "install the MCP server from https://github.com/dockhold/mcp". It follows llms-install.md: one settings entry, no token, then a browser sign-in. To do it by hand, add the entry below to cline_mcp_settings.json with "env": { "DOCKHOLD_REF": "cline" }.

Any other MCP client

Use the same server entry in your client's config:

json
{  "mcpServers": {    "dockhold": {      "command": "npx",      "args": ["-y", "dockhold", "mcp"]    }  }}

If your client gives a server only a few seconds to start, the first npx -y dockhold download can be too slow for it. Install the CLI once with npm i -g dockhold and the same entry starts instantly.

Sign in

The first time a tool needs your account it answers with a message that says to run npx dockhold login in a terminal. Run it, a browser tab opens, and you are done. The sign-in lasts 90 days and is shared by the CLI and every client above. Nothing else to configure.

What it looks like

You: put this online

AI: Checked the project: it listens on PORT and has a Dockerfile. You are not signed in yet, so I am running npx dockhold login. A browser tab will open.

(you sign in, the tab says you are done)

AI: Signed in. Deploying with npx dockhold deploy --name recipe-box. Uploading, building...

AI: Your app is live: https://recipe-box-a1b2c3.dockhold.app

You: show me the logs

AI: (calls get_app_logs) The last 100 lines: the server started on port 8080 and has served 3 requests. No errors.

Local folders deploy through the CLI, which needs no GitHub account. A GitHub repository deploys through the deploy_app tool. Deploys on every push need the repository connected to Dockhold (list_github_repos gives the github_installation_id to pass); a repository deployed by URL alone builds once.

Tools

ToolScopeWhat it does
list_appsreadList your apps with id, status, and URL
get_app_statusreadDeploy status, URL, last commit, error message for one app
get_app_logsreadRecent runtime logs for one app
get_resource_usagereadAccount pools (compute, database RAM, storage) and per-app sizes
list_github_reposreadYour connected GitHub repos, with the id needed to deploy private ones
deploy_appdeployDeploy a GitHub repo as a live web app
deploy_groupdeployDeploy several connected services in one go
redeploy_appdeployZero-downtime restart of an app
set_app_variabledeploySet a non-secret environment variable and roll it out
unset_app_variabledeployRemove a plain environment variable and roll it out
resize_appdeployChange an app's memory
resize_databasedeployChange a managed database's memory
resize_database_storagedeployGrow a managed database's disk
set_app_storagedeployGive an app storage that survives restarts and deploys, or grow it
remove_app_storagedeployRemove an app's storage and erase its files

The browser sign-in has the read and deploy scopes, which covers every tool above.

Remote server (no CLI)

For a client that cannot run a local command, the same tools are served over Streamable HTTP at https://api.dockhold.eu/mcp. Create a token in the Dockhold dashboard under Settings, then API tokens (read-only, read+deploy, or with secrets), and pass it as a bearer:

json
{  "type": "streamable-http",  "url": "https://api.dockhold.eu/mcp",  "headers": { "Authorization": "Bearer dh_mcp_..." }}

Claude Code: claude mcp add --transport http dockhold https://api.dockhold.eu/mcp --header "Authorization: Bearer dh_mcp_...". This is the one setup that puts a token in a config file, so keep that file out of version control.

A dashboard token can also carry the secrets scope, which unlocks five more tools over this connection: set_app_secret, unset_app_secret, bind_app_secret, list_secrets, list_app_secrets. The browser sign-in never has that scope; with the plugin, secrets are added in the dashboard's Secrets section.

Getting started with Dockhold

Dockhold is the easiest way to put your app online: push from GitHub or deploy from a folder, always on, secure by default. Sign in at app.dockhold.eu. The free tier needs no card.

来源:README.md,提交 9d56079

工具

21

list_apps

List apps

List the apps in your Dockhold account, with each app's id, status, URL, and source repo. Call this first whenever the user asks about their apps, or when you need an app_id for any other tool.

无需输入参数。

get_app_status

Get app status

Get detailed status for one app: deploy status, URL, last deployed commit, and any error message. Call this to check whether a deploy has finished, to get an app's live URL, or to see why an app is in error. Status DEPLOYING with ready_at set means the new version is already reachable at its URL and Dockhold is confirming it stays up; the user can open it now. It moves to RUNNING once confirmed, or to ERROR with an error_message if it crashed.

输入参数app_id必填

get_app_logs

Get app logs

Get the most recent runtime logs for one app. Call this when an app is crashing, returning errors, or a deploy succeeded but the app misbehaves: the logs usually name the cause.

输入参数tailapp_id必填

deploy_app

Deploy an app

Deploy a GitHub repository as a live web app on Dockhold. Call this when the user wants to put an app online, get a shareable HTTPS URL, or host a demo. Returns the new app id. Two paths: a PUBLIC repo needs only repo_url; a PRIVATE repo needs repo_url plus github_installation_id (call list_github_repos first, each repo comes with the installation_id to pass here). Deploying a private repo turns on auto-deploy: future pushes to that repo redeploy the app automatically. The app builds and comes online automatically; poll get_app_status to watch it. Set memory_mb to size the app's compute, one of the values get_resource_usage reports under compute.steps_mb: 256 MB fits a static site or a small API, 512 MB fits a typical Node or Python web app, and anything that holds data in memory needs more. Omit it and the app gets the minimum slice (256 MB) so it doesn't take your whole compute pool; resize_app changes the size later with no rebuild, applied as a rolling update that replaces the app's instances. The response reports memory_mb (what this app got) and compute_available_mb (what's left in your pool), so size the next app off that. This tool needs a GitHub repo URL: if the code only exists locally (no repo), it cannot be used here, and the user should run `npx dockhold login` then `npx dockhold deploy` in the project folder instead. Requires a token with the deploy scope.

输入参数name必填repo_url必填memory_mbwith_databasegithub_installation_id

redeploy_app

Restart an app

Restart an existing app (rolling restart with zero downtime). Call this after changing configuration, or to recover an app that is stuck or misbehaving. It restarts the version already running. It does not build or pull new code: call rebuild_app for that. If this app has storage, it is stopped and started again instead, so it is unreachable for a few seconds.

输入参数app_id必填

set_app_variable

Set an app variable

Set a single environment variable on an app and roll it out. Call this when an app needs plain configuration such as LOG_LEVEL or a feature flag. For secrets (API keys, passwords, tokens) call set_app_secret instead: this tool rejects secret-looking keys.

输入参数key必填value必填app_id必填

unset_app_variable

Remove an app variable

Remove a single plain environment variable from an app and roll it out. The pair to set_app_variable; setting a variable to an empty string is not the same thing to most apps. Variables Dockhold sets itself (PORT, DATABASE_URL, DATA_DIR and the app's address) cannot be removed. For a secret, call unset_app_secret instead.

输入参数key必填app_id必填

get_resource_usage

Show resource usage

Show your account's compute, database-RAM, and storage pools: how much you've bought, how much is used, and how much is free, plus every app's current size. Call this before any resize tool (the allowed sizes come from its steps fields), and to explain to the user why an app ran out of memory or a deploy was refused for capacity.

无需输入参数。

resize_app

Resize app memory

Change how much memory one app gets. Call this when an app is running out of memory (OOM) or the user asks to make an app bigger or smaller. memory_mb must be one of the sizes get_resource_usage reports under compute.steps_mb, and the new size has to fit your available compute pool (call get_resource_usage first). Applied with a zero-downtime rolling update. If this app has storage, it is stopped and started again instead, so it is unreachable for a few seconds.

输入参数app_id必填memory_mb必填

resize_database

Resize database memory

Change how much memory an app's managed database gets. Call this when the database is slow or out of memory. db_ram_mb must be one of the sizes get_resource_usage reports under db_ram.steps_mb and fit your database-RAM pool. WARNING: the database restarts briefly to apply the new size, so the app loses its database connection for a few seconds. Only works if the app has a managed database.

输入参数app_id必填db_ram_mb必填

resize_database_storage

Grow database storage

Grow the disk of an app's managed database. Call this when the database is running out of disk space. GROW-ONLY: you can increase storage but never shrink it. storage_gb must be one of the sizes get_resource_usage reports under storage.steps_gb and fit your storage pool. Applied online with no database restart. Only works if the app has a managed database.

输入参数app_id必填storage_gb必填

set_app_storage

Add or grow app storage

Give an app storage that survives restarts and deploys, or grow the storage it already has. Call this when the app has to keep files: a SQLite database file, uploads, or anything the user expects to still be there tomorrow. The app reads and writes the folder at the path in the DATA_DIR environment variable, which Dockhold sets; anything written outside DATA_DIR is scratch space and is lost on the next restart. size_gb must be one of the sizes get_resource_usage reports under volume.steps_gb and has to fit your storage pool, which is the same pool a managed database draws on, so call get_resource_usage first. Storage can grow but never shrink. Three things to tell the user before calling this: an app with storage runs as a single copy, it cannot have scheduled tasks, and from now on each deploy stops the running version before the new one starts, so the app is unreachable for a few seconds. Write the app to save its files when it receives SIGTERM.

输入参数app_id必填size_gb必填

remove_app_storage

Remove app storage

Remove an app's storage and erase every file on it. This destroys data permanently: there is no undo and no backup. Ask the user to confirm in their own words first, then pass confirm true. Call it when the user asks for the storage to go, or when they want something storage rules out: running more than one copy of the app, or a scheduled task. Afterwards the app is back to scratch space, where anything it writes is lost on the next restart.

输入参数app_id必填confirm必填

set_app_secret

Store an app secret

Store a sensitive value (an API key, a token, a password, a connection string) for one app. Use this instead of set_app_variable whenever the value would be damaging if someone else read it. The value is encrypted at rest, is injected into the app's environment under the name you give, and the app restarts to pick it up. Storing a secret takes effect on the next boot, so call this before telling the user the app is ready. This tool never reads a value back: there is no way to retrieve a stored secret through this connection, only through the dashboard while signed in. Two things to tell the user before you call it. First, this token can write secrets to every app on their account, not only this one. Second, any value they give you has passed through your context, so prefer a value you read from a local file such as .env over one you asked them to type into the chat, and suggest they rotate anything that was pasted. If the vault key name is already used by a different app, this call is refused rather than overwriting it, and the message tells you what to pass as vault_key_name.

输入参数name必填value必填app_id必填vault_key_name

unset_app_secret

Remove an app secret

Stop injecting a stored secret into one app. The app restarts without it, so call this only when the app no longer needs that variable. The stored value stays in the account vault and any other app using it keeps working; deleting the stored value itself is a dashboard action. Do not report the secret as deleted, report it as removed from this app.

输入参数name必填app_id必填

bind_app_secret

Attach a stored secret to an app

Attach a secret that is already stored in the account vault to one app, under the environment variable name the app reads, and restart the app. Call this when the user says the key already exists in Dockhold (call list_secrets to see the names), or when a second app should use the same stored value: nothing passes through your context and no value is stored again. Sharing one entry between apps means they share the value; if the user wants separate credentials per app, store a new value with set_app_secret under a distinct vault_key_name instead. This token can attach any secret on the account to any app on the account.

输入参数nameapp_id必填vault_key_name必填

list_secrets

List the account's secret names

List the names of every secret stored in the account vault and how many apps use each, so you can attach an existing one with bind_app_secret instead of asking the user for the value again. Returns names and counts only. Secret values cannot be read back through this connection at all.

无需输入参数。

list_app_secrets

List an app's secret names

List the names of the secrets attached to one app, so you can tell which ones an app already has before setting another. Returns names only. Secret values cannot be read back through this connection at all.

输入参数app_id必填

list_github_repos

List connected GitHub repos

List the GitHub repositories you have connected to Dockhold, across every installation. Call this before deploy_app when the target repo is private, or when the user asks which repos they can deploy. Each repo comes with its installation_id: pass that (with the repo's clone URL) to deploy_app to deploy a PRIVATE repository. Public repos don't need it.

无需输入参数。

rebuild_app

Build an app again

Builds the app again from the latest commit of its repository (or its last upload) and deploys it when the build passes. Use after a failed build, or to ship new commits when auto-deploy is off. One build per app at a time; limits on builds running and builds per hour; a refusal says when to try again. Poll get_app_status.

输入参数app_id必填

deploy_group

Deploy a service group

Deploy several connected services in one go (e.g. a frontend + an API). Call this when the user's project is split across multiple repos that must talk to each other; for a single repo use deploy_app. Each service is a public GitHub repo that gets its own URL. Wire them by setting an env var to the exact token ${services.<otherServiceName>.url} — Dockhold injects that service's live URL once it deploys. Give the backend its own database with "db":"enable" (DATABASE_URL is injected; a pure frontend doesn't need one). Builds run in parallel; poll get_app_status with each returned app_id.

输入参数services必填

版本历史

2
  1. v0.2.0最新Sep 26, 2026
  2. v0.1.0Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分