D
docker/mcp-gateway
docker mcp CLI plugin / MCP Gateway
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"docker-mcp-gateway": {
"command": "uvx",
"args": ["servers"]
}
}
}解析自我们于 2026-11-04 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"docker-mcp-gateway": {
"command": "uvx",
"args": ["servers"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio docker-mcp-gateway -- uvx servers
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
- 安装
uvx servers
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
uvx servers。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# Docker MCP Plugin and Docker MCP Gateway
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
The MCP Toolkit, in Docker Desktop, allows
developers to configure and consume MCP servers from the Docker MCP Catalog.
Underneath, the Toolkit is powered by a docker CLI plugin: docker-mcp. This repository is the code of this CLI plugin. It can work in Docker Desktop or independently.
The main feature of this CLI is the Docker MCP Gateway which allows easy and secure running and deployment of MCP servers. See Features for a list of all the features.
## What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect to external data sources and tools. It provides a secure, controlled way for language models to access and interact with various services, databases, and APIs.
## Overview
Developers face criticial barriers when integrating Model Context Protocol (MCP) tools into production workflows:
Managing MCP server lifecycle Each local MCP sever in the catalog runs in an isolated Docker container. npx and uvx servers are granted minimal host privileges.
Providing a unified interface AI models access MCP servers through a single Gateway.
Handling authentication and security Keep secrets out of environment variables using Docker Desktop's secrets management.
Supports dynamic tool discovery and configuration. Each MCP client (eg VS Code, Cursor, Claude Desktop, etc.) connects to the same Gateway configuration, ensuring consistency across different clients.
Enables OAuth flows for MCPs that require OAuth access token service connections.
## Features
🐳 Container-based Servers: Run MCP servers as Docker containers with proper isolation.
🔧 Server Management: List, inspect, and call MCP tools, resources and prompts from multiple servers.
🔐 Secrets Management: Secure handling of API keys and credentials via Docker Desktop.
🌐 OAuth Integration: Built-in OAuth flows for service authentication.
📋 Server Catalog: Manage and configure multiple MCP catalogs.
🔍 Dynamic Discovery: Automatic tool, prompt, and resource discovery from running servers.
📊 Monitoring: Built-in logging and call tracing capabilities.
## Installation
### Prerequisites
Docker Desktop 4.59+ (with MCP Toolkit feature enabled)
Go 1.24+ (for development)
### Install as Docker CLI Plugin
The MCP cli will already be installed on recent versions of Docker Desktop but you can build and install the latest version by following these steps:
bash
# Clone the repository
git clone https://github.com/docker/mcp-gateway.git
cd mcp-gateway
mkdir -p "$HOME/.docker/cli-plugins/"
# Build and install the plugin
make docker-mcp
After installation, the plugin will be available as:
bash
docker mcp --help
## Usage
> [!NOTE]
> Running without Docker Desktop Feature Flags
> If you encounter "Docker Desktop is not running" errors when the Docker daemon is active, you can bypass Desktop feature checks by setting:
> bash
> export DOCKERMCPINCONTAINER=1
> This is useful when running in WSL2, containerized environments, or Docker CE where Desktop backend sockets are unavailable.
> [!NOTE]
> Enabling Profiles outside Docker Desktop
> Profiles are enabled automatically in Docker Desktop. If you are using the CLI independently (e.g. Docker CE, WSL2, or a containerized environment), enable the profiles feature first:
developers to configure and consume MCP servers from the Docker MCP Catalog.
Underneath, the Toolkit is powered by a docker CLI plugin: docker-mcp. This repository is the code of this CLI plugin. It can work in Docker Desktop or independently.
The main feature of this CLI is the Docker MCP Gateway which allows easy and secure running and deployment of MCP servers. See Features for a list of all the features.
## What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect to external data sources and tools. It provides a secure, controlled way for language models to access and interact with various services, databases, and APIs.
## Overview
Developers face criticial barriers when integrating Model Context Protocol (MCP) tools into production workflows:
Managing MCP server lifecycle Each local MCP sever in the catalog runs in an isolated Docker container. npx and uvx servers are granted minimal host privileges.
Providing a unified interface AI models access MCP servers through a single Gateway.
Handling authentication and security Keep secrets out of environment variables using Docker Desktop's secrets management.
Supports dynamic tool discovery and configuration. Each MCP client (eg VS Code, Cursor, Claude Desktop, etc.) connects to the same Gateway configuration, ensuring consistency across different clients.
Enables OAuth flows for MCPs that require OAuth access token service connections.
## Features
🐳 Container-based Servers: Run MCP servers as Docker containers with proper isolation.
🔧 Server Management: List, inspect, and call MCP tools, resources and prompts from multiple servers.
🔐 Secrets Management: Secure handling of API keys and credentials via Docker Desktop.
🌐 OAuth Integration: Built-in OAuth flows for service authentication.
📋 Server Catalog: Manage and configure multiple MCP catalogs.
🔍 Dynamic Discovery: Automatic tool, prompt, and resource discovery from running servers.
📊 Monitoring: Built-in logging and call tracing capabilities.
## Installation
### Prerequisites
Docker Desktop 4.59+ (with MCP Toolkit feature enabled)
Go 1.24+ (for development)
### Install as Docker CLI Plugin
The MCP cli will already be installed on recent versions of Docker Desktop but you can build and install the latest version by following these steps:
bash
# Clone the repository
git clone https://github.com/docker/mcp-gateway.git
cd mcp-gateway
mkdir -p "$HOME/.docker/cli-plugins/"
# Build and install the plugin
make docker-mcp
After installation, the plugin will be available as:
bash
docker mcp --help
## Usage
> [!NOTE]
> Running without Docker Desktop Feature Flags
> If you encounter "Docker Desktop is not running" errors when the Docker daemon is active, you can bypass Desktop feature checks by setting:
> bash
> export DOCKERMCPINCONTAINER=1
> This is useful when running in WSL2, containerized environments, or Docker CE where Desktop backend sockets are unavailable.
> [!NOTE]
> Enabling Profiles outside Docker Desktop
> Profiles are enabled automatically in Docker Desktop. If you are using the CLI independently (e.g. Docker CE, WSL2, or a containerized environment), enable the profiles feature first:
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/docker-mcp-gateway/)
- 来源
- awesome · https://github.com/docker/mcp-gateway
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。