← 返回 Skills 市场
pcauhi

Docker MCP Toolkit

作者 Cauhi · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
534
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install docker-mcp-toolkit
功能描述
Control and use an MCP Toolkit running in Docker. Use when setting up Docker MCP Toolkit (docker compose up/down), checking status/logs, configuring environm...
使用说明 (SKILL.md)

Docker MCP Toolkit

Run, manage, and invoke Docker Desktop’s MCP Toolkit using the docker mcp CLI.

Install + preflight (Docker Desktop)

  1. Install/upgrade Docker Desktop (MCP Toolkit is in Docker Desktop 4.62+ per docs).

  2. Enable MCP Toolkit:

  • Docker Desktop → SettingsBeta featuresEnable Docker MCP ToolkitApply.
  1. Preflight:
./scripts/preflight.sh

Quick start

List enabled servers/tools:

./scripts/servers.sh
./scripts/tools.sh

Core operations

  • List/enable/disable servers:

    • ./scripts/servers.sh
    • ./scripts/server-enable.sh \x3Cserver-name>
    • ./scripts/server-disable.sh \x3Cserver-name>
  • List tools:

    • ./scripts/tools.sh
  • Invoke a tool (via Docker’s gateway/tool runner):

./scripts/call-tool.sh --tool "mcp-find" --json '{"query":"postgres","limit":5}'

Notes:

  • call-tool.sh requires jq.
  • docker mcp tools call uses key=value tokens.
  • Non-string values use := (example: limit:=5, activate:=true).
  • This skill currently supports only primitive JSON values (string/number/bool/null). Nested objects/arrays are rejected.
  • For tools requiring object arguments (e.g. mcp-config-set), call docker mcp tools inspect \x3Ctool> --format json then run docker mcp tools call ... directly until this skill adds a tested encoder.

How invocation works (important)

Docker MCP Toolkit runs an MCP Gateway and exposes tools through it. This skill intentionally uses the docker mcp tools … commands so OpenClaw can invoke tools without needing native MCP client support.

If you need a true MCP client connection (stdio/SSE), pair this skill with the mcporter skill.

Secrets and safety

  • Prefer Docker Desktop’s secrets/keychain integration when possible.
  • Do not expose gateway ports publicly.
  • Use least-privilege credentials (separate Neon role with only required grants).

For hardening guidance, read: references/security.md.

Troubleshooting

  • If commands say “Docker Desktop is not running”: start Docker Desktop.
  • If MCP Toolkit isn’t visible: confirm it’s enabled in Beta features.
  • If a tool call fails: run docker mcp tools --verbose inspect \x3Ctool> and check Docker Desktop MCP Toolkit UI for server configuration.
安全使用建议
This skill is a thin, coherent wrapper around the `docker mcp` CLI. Before using it: ensure Docker Desktop (MCP-enabled) and jq are installed; run ./scripts/preflight.sh; review the list of exposed MCP tools (./scripts/tools.sh) and understand what each tool does, because invoking tools can perform side effects on databases or services; do not expose the MCP gateway to the public network, and prefer the desktop keychain/secrets integration for credentials. If you plan to pass nested JSON objects/arrays, note the call-tool.sh intentionally rejects them — inspect or call `docker mcp tools` directly for tool-specific argument formats.
功能分析
Type: OpenClaw Skill Name: docker-mcp-toolkit Version: 0.1.1 The skill is classified as suspicious due to multiple shell injection vulnerabilities and a prompt injection risk. The scripts `scripts/call-tool.sh`, `scripts/server-enable.sh`, and `scripts/server-disable.sh` directly use user-provided arguments (`$TOOL`, `$SERVER`) in `docker mcp` commands without proper sanitization, allowing for arbitrary command execution. Additionally, the `SKILL.md` file contains instructions that could lead to prompt injection, advising an AI agent to 'run `docker mcp tools call ...` directly' for complex arguments, potentially bypassing the `call-tool.sh` script's input validation and enabling the execution of arbitrary `docker mcp` commands.
能力评估
Purpose & Capability
Name/description match the observed files and scripts: all scripts call the `docker mcp` CLI for listing/enabling/disabling servers and calling tools. There are no unrelated binaries, credentials, or config paths requested.
Instruction Scope
SKILL.md limits runtime activity to running provided scripts and Docker MCP commands. The scripts do not read unrelated files or environment variables and do not exfiltrate data. They require `jq` for JSON parsing and call `docker mcp tools call` as advertised.
Install Mechanism
Instruction-only with bundled scripts; there is no install specification or remote download. Nothing is written to disk by an installer beyond the included script files.
Credentials
The skill requests no environment variables or secrets. The documentation recommends using Docker Desktop's secret store and least-privilege credentials, which is appropriate for a toolkit that can invoke tools against external services.
Persistence & Privilege
always is false and the skill does not attempt to persist configuration or modify other skills. It requires Docker Desktop and may be invoked autonomously (default) which is normal for skills; this alone is not a problem.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install docker-mcp-toolkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /docker-mcp-toolkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Fix: remove docker-compose scripts; preflight checks jq; clarify call-tool limitations
v0.1.0
Initial release: manage Docker Desktop MCP Toolkit via docker mcp (preflight, list servers/tools, call tools)
元数据
Slug docker-mcp-toolkit
版本 0.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Docker MCP Toolkit 是什么?

Control and use an MCP Toolkit running in Docker. Use when setting up Docker MCP Toolkit (docker compose up/down), checking status/logs, configuring environm... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 534 次。

如何安装 Docker MCP Toolkit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install docker-mcp-toolkit」即可一键安装,无需额外配置。

Docker MCP Toolkit 是免费的吗?

是的,Docker MCP Toolkit 完全免费(开源免费),可自由下载、安装和使用。

Docker MCP Toolkit 支持哪些平台?

Docker MCP Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Docker MCP Toolkit?

由 Cauhi(@pcauhi)开发并维护,当前版本 v0.1.1。

💬 留言讨论