docker-mcp
🐳 docker-mcp
Docker 操作用の強力な Model Context Protocol (MCP) サーバー。Claude AI を通じてシームレスなコンテナーと Compose スタックの管理を可能にします。
✨ 特徴
🚀 コンテナの作成とインスタンス化
📦 Docker Compose スタックのデプロイメント
🔍 コンテナログの取得
📊 コンテナの一覧表示とステータス監視
🎬 デモ
Docker Composeスタックのデプロイ
https://github.com/user-attachments/assets/b5f6e40a-542b-4a39-ba12-7fdf803ee278
コンテナログの分析
https://github.com/user-attachments/assets/da386eea-2fab-4835-82ae-896de955d934
Related MCP server: MCP Development Server
🚀 クイックスタート
Claude デスクトップ アプリでこれを試すには、claude 構成ファイルに以下を追加します。
{
"mcpServers": {
"docker-mcp": {
"command": "uvx",
"args": [
"docker-mcp"
]
}
}
}Smithery経由でインストール
Smithery経由で Claude Desktop 用の Docker MCP を自動的にインストールするには:
npx @smithery/cli install docker-mcp --client claude前提条件
UV(パッケージマネージャー)
Python 3.12以上
DockerデスクトップまたはDockerエンジン
クロードデスクトップ
インストール
クロードデスクトップ構成
Claude Desktop 構成ファイルにサーバー構成を追加します。
MacOS : ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"docker-mcp": {
"command": "uv",
"args": [
"--directory",
"<path-to-docker-mcp>",
"run",
"docker-mcp"
]
}
}
}{
"mcpServers": {
"docker-mcp": {
"command": "uvx",
"args": [
"docker-mcp"
]
}
}
}🛠️ 開発
ローカルセットアップ
リポジトリをクローンします。
git clone https://github.com/QuantGeekDev/docker-mcp.git
cd docker-mcp仮想環境を作成してアクティブ化します。
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate依存関係をインストールします:
uv sync🔍 デバッグ
デバッグのために MCP Inspector を起動します。
npx @modelcontextprotocol/inspector uv --directory <path-to-docker-mcp> run docker-mcpインスペクターは、デバッグ インターフェイスにアクセスするための URL を提供します。
📝 利用可能なツール
サーバーは次のツールを提供します。
コンテナの作成
スタンドアロンのDockerコンテナを作成する
{
"image": "image-name",
"name": "container-name",
"ports": {"80": "80"},
"environment": {"ENV_VAR": "value"}
}デプロイ-コンポーズ
Docker Composeスタックをデプロイする
{
"project_name": "example-stack",
"compose_yaml": "version: '3.8'\nservices:\n service1:\n image: image1:latest\n ports:\n - '8080:80'"
}ログを取得する
特定のコンテナからログを取得します
{
"container_name": "my-container"
}リストコンテナ
すべてのDockerコンテナを一覧表示します
{}🚧 現在の制限
コンテナの組み込み環境変数サポートなし
ボリューム管理なし
ネットワーク管理なし
コンテナのヘルスチェックなし
コンテナ再起動ポリシーなし
コンテナリソースの制限なし
🤝 貢献する
docker-mcpからリポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
プルリクエストを開く
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
✨ 著者
Alex Andru -初期作業 | コア貢献者- @QuantGeekDev
Ali Sadykov -初期作業 | コア貢献者- @md-archive
❤️で作りました
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityFmaintenanceA Model Context Protocol server that enables Docker container management through natural language interactions using a custom GPT interface.715
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables Claude to manage software development projects with complete context awareness and code execution through Docker environments.244
- AlicenseAqualityFmaintenanceAllows Claude and other AI assistants to interact with Docker through the MCP protocol, enabling container and image management including listing, running, stopping, and pulling Docker resources.6914MIT
- Flicense-qualityDmaintenanceA TypeScript server that fully implements the Model Context Protocol (MCP) standard, providing API access to Docker CLI operations like build, run, stop, and image management through compatible AI clients.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Appeared in Searches
- Managing Docker Containers and Applications
- Information about Docker software and containerization
- A server for managing Minecraft Fabric modpacks using Claude
- A server that can run Docker Compose commands to manage containers
- How to retrieve information about a device using Microsoft Defender, Intune, and Jamf
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/QuantGeekDev/docker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server