docker mcp gateway run

DescriptionRun the gateway
Usagedocker mcp gateway run

Description

Run the gateway

Options

OptionDefaultDescription
--additional-catalogAdditional catalog paths to append to the default catalogs
--additional-configAdditional config paths to merge with the default config.yaml
--additional-registryAdditional registry paths to merge with the default registry.yaml
--block-networkBlock tools from accessing forbidden network resources
--block-secretstrueBlock secrets from being/received sent to/from tools
--catalog[docker-mcp.yaml]Paths to docker catalogs (absolute or relative to ~/.docker/mcp/catalogs/)
--config[config.yaml]Paths to the config files (absolute or relative to ~/.docker/mcp/)
--cpus1CPUs allocated to each MCP Server (default is 1)
--debug-dnsDebug DNS resolution
--dry-runStart the gateway but do not listen for connections (useful for testing the configuration)
--interceptorList of interceptors to use (format: when:type:path, e.g. 'before:exec:/bin/path')
--log-callstrueLog calls to the tools
--long-livedContainers are long-lived and will not be removed until the gateway is stopped, useful for stateful servers
--memory2GbMemory allocated to each MCP Server (default is 2Gb)
--portTCP port to listen on (default is to listen on stdio)
--registry[registry.yaml]Paths to the registry files (absolute or relative to ~/.docker/mcp/)
--secretsdocker-desktopColon separated paths to search for secrets. Can be docker-desktop or a path to a .env file (default to using Docker Desktop's secrets API)
--serversNames of the servers to enable (if non empty, ignore --registry flag)
--staticEnable static mode (aka pre-started servers)
--toolsList of tools to enable
--transportstdiostdio, sse or streaming (default is stdio)
--verboseVerbose output
--verify-signaturesVerify signatures of the server images
--watchtrueWatch for changes and reconfigure the gateway