🐳 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
🚀 クイックスタート
Claude デスクトップ アプリでこれを試すには、claude 構成ファイルに以下を追加します。
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Docker MCP を自動的にインストールするには:
前提条件
- UV(パッケージマネージャー)
- Python 3.12以上
- DockerデスクトップまたはDockerエンジン
- クロードデスクトップ
インストール
クロードデスクトップ構成
Claude Desktop 構成ファイルにサーバー構成を追加します。
MacOS : ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
🛠️ 開発
ローカルセットアップ
- リポジトリをクローンします。
- 仮想環境を作成してアクティブ化します。
- 依存関係をインストールします:
🔍 デバッグ
デバッグのために MCP Inspector を起動します。
インスペクターは、デバッグ インターフェイスにアクセスするための URL を提供します。
📝 利用可能なツール
サーバーは次のツールを提供します。
コンテナの作成
スタンドアロンのDockerコンテナを作成する
デプロイ-コンポーズ
Docker Composeスタックをデプロイする
ログを取得する
特定のコンテナからログを取得します
リストコンテナ
すべてのDockerコンテナを一覧表示します
🚧 現在の制限
- コンテナの組み込み環境変数サポートなし
- ボリューム管理なし
- ネットワーク管理なし
- コンテナのヘルスチェックなし
- コンテナ再起動ポリシーなし
- コンテナリソースの制限なし
🤝 貢献する
- docker-mcpからリポジトリをフォークする
- 機能ブランチを作成する
- 変更をコミットする
- ブランチにプッシュする
- プルリクエストを開く
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
✨ 著者
- Alex Andru -初期作業 | コア貢献者- @QuantGeekDev
- Ali Sadykov -初期作業 | コア貢献者- @md-archive
❤️で作りました
local-only server
The server can only run on the client's local machine because it depends on local resources.
Docker 操作用の強力な Model Context Protocol (MCP) サーバー。Claude AI を通じてシームレスなコンテナーと Compose スタックの管理を可能にします。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server that lets you seamlessly use OpenAI's models right from Claude.Last updated -165754JavaScriptMIT License
- AsecurityFlicenseAqualityAllows 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.Last updated -64JavaScript
- -securityAlicense-qualityA Model Context Protocol server that provides tools for interacting with Docker images, containers, and registries, enabling AI assistants to search, analyze, and manage Docker resources through a standardized interface.Last updated -PythonMIT License
- -securityFlicense-qualityAn All-in-One Model Context Protocol Server Package that integrates 14 MCP servers (including YouTube, GitHub, Figma, databases) into a single Docker container for use with Claude.Last updated -
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