Share feedback
Answers are generated based on the documentation.

Lab: Docker MCP Gateway

This lab provides a comprehensive, hands-on overview of the Docker MCP Gateway, which enables you to run containerized MCP servers safely and securely. Learn how to configure, secure, and connect MCP servers to your agentic applications.

What you'll learn

  • Learn about the Docker MCP Gateway and its architecture
  • Run the MCP Gateway with a simple MCP server
  • Inject secrets securely into MCP servers
  • Filter tools to reduce noise and save tokens
  • Connect the MCP Gateway to your application using popular agentic frameworks
  • Configure and use custom MCP servers

Modules

#ModuleDescription
1IntroductionOverview of the MCP Gateway and why it matters
2Adding a Simple MCP ServerGet started with a basic MCP server configuration
3Adding a Complex MCP ServerConfigure MCP servers with secrets and advanced options
4Filtering Available ToolsReduce noise and save tokens by filtering tool availability
5Connecting MCP Gateway to Your AppIntegrate the MCP Gateway with agentic frameworks
6Using a Custom MCP ServerBuild and run your own custom MCP server
7ConclusionSummary and next steps

Prerequisites

  • The latest version of Docker Desktop with Docker Model Runner enabled
  • Basic familiarity with Docker and Docker Compose

Launch the lab

Start the labspace:

$ docker compose -f oci://dockersamples/labspace-mcp-gateway up -d

Then open your browser to http://localhost:3030.