@@ -158,6 +158,87 @@ You can also run your pipeline with FastMCP, allowing you to connect to various
158158
159159<br />
160160
161+ ### ` Docker Containerization ` 🐳
162+
163+ Build and deploy your MCP pipelines as Docker containers for production environments.
164+
165+ #### Prerequisites
166+ - ** MCPStack** : ` uv add mcpstack ` or ` pip install mcpstack `
167+ - ** Available Presets** : Check with ` mcpstack list-presets ` (assumes ` example_preset ` exists)
168+ - ** For full testing** : [ Claude Desktop] ( https://claude.ai/desktop ) for MCP server usage
169+ - ** For building images** : Docker CLI installed and available
170+
171+ #### Quick Start Commands
172+
173+ ** Basic Config (Fastest setup)** ⭐ * Recommended for first-time users*
174+ ``` bash
175+ # Generate Docker config only - creates claude_desktop_config.json
176+ mcpstack build --config-type docker --presets example_preset
177+ ```
178+ * Outputs:* ` claude_desktop_config.json ` for MCP host configuration
179+
180+ ** Development Workflow** 🛠️ * Recommended for local development*
181+ ``` bash
182+ # Generate config, dockerfile, and build image locally
183+ mcpstack build --config-type docker --presets example_preset --profile build-only
184+ ```
185+ * Outputs:* ` claude_desktop_config.json ` + ` Dockerfile ` + built image for local testing
186+
187+ ** Production Pipeline** 🚀 * Recommended for deployment*
188+ ``` bash
189+ # Complete workflow: generate, build, and push container image
190+ mcpstack build --config-type docker --presets example_preset --profile build-and-push
191+ ```
192+ * Outputs:* Complete CI/CD pipeline with config, dockerfile, built & pushed container image
193+
194+ #### Verification Steps
195+ ``` bash
196+ # Check available profiles
197+ mcpstack list-profiles --config-type docker
198+
199+ # After running any command, verify outputs:
200+ ls -la claude_desktop_config.json Dockerfile # Check generated files
201+ docker images | grep mcpstack # Check built images
202+ cat claude_desktop_config.json # Config for Claude Desktop
203+ ```
204+
205+ Perfect for deploying MCP tools to Kubernetes, Docker Swarm, or any container orchestration system.
206+
207+ <br />
208+
209+ ### ` Workflow Profiles ` ⚙️
210+
211+ Define and run complex multi-stage workflows beyond basic config generation using workflow profiles.
212+
213+ #### Discover Available Profiles
214+ ``` bash
215+ # List all profiles
216+ mcpstack list-profiles
217+
218+ # List profiles for specific config type
219+ mcpstack list-profiles --config-type docker
220+ ```
221+
222+ #### Use Built-in Profiles
223+ ``` bash
224+ # Docker build and push workflow
225+ mcpstack build --config-type docker --presets example_preset --profile build-and-push
226+
227+ # Docker build-only workflow (local development)
228+ mcpstack build --config-type docker --presets example_preset --profile build-only
229+ ```
230+
231+ #### Custom Profile Examples
232+ Check the ` workflows/ ` directory for YAML examples:
233+ - ` docker-dev.yaml ` - Development workflow with custom Dockerfile
234+ - ` docker-prod.yaml ` - Production CI/CD pipeline with tagging and registry push
235+
236+ Profiles support environment variables like ` ${GIT_COMMIT} ` , ` ${GIT_BRANCH} ` , and ` ${preset} ` for dynamic naming.
237+
238+ Perfect for implementing complex deployment pipelines while maintaining MCPStack's clean architecture.
239+
240+ <br />
241+
161242<img src =" assets/readme/more.gif " width =" 61.8% " align =" left " style =" border-radius : 10px ;" />
162243
163244### ` Many Other CLIs Options `
0 commit comments