🐳 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
❤️で作りました
You must be authenticated.
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
- AsecurityAlicenseAqualityA beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.Last updated -3936JavaScriptApache 2.0
- -securityFlicense-qualityProvides a scalable, containerized infrastructure for deploying and managing Model Context Protocol servers with monitoring, high availability, and secure configurations.Last updated -
- -securityAlicense-qualityAn MCP server that allows managing Docker containers through natural language, enabling users to compose, introspect, and debug containers without running commands themselves.Last updated -440PythonGPL 3.0
- -security-license-qualityA specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.Last updated -1TypeScript