[go: up one dir, main page]

{ const container = $el; // The div with overflow const item = document.getElementById('sidebar-current-page') if (item) { const containerTop = container.scrollTop; const containerBottom = containerTop + container.clientHeight; const itemTop = item.offsetTop - container.offsetTop; const itemBottom = itemTop + item.offsetHeight; // Scroll only if the item is out of view if (itemBottom > containerBottom - 200) { container.scrollTop = itemTop - (container.clientHeight / 2 - item.offsetHeight / 2); } } })" class="bg-background-toc dark:bg-background-toc fixed top-0 z-40 hidden h-screen w-full flex-none overflow-x-hidden overflow-y-auto md:sticky md:top-16 md:z-auto md:block md:h-[calc(100vh-64px)] md:w-[320px]" :class="{ 'hidden': ! $store.showSidebar }">

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
--additional-tools-configAdditional tools paths to merge with the default tools.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)
--enable-all-serversEnable all servers in the catalog (instead of using individual --servers options)
--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
--mcp-registryMCP registry URLs to fetch servers from (can be repeated)
--memory2GbMemory allocated to each MCP Server (default is 2Gb)
--oci-refOCI image references to use
--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
--tools-config[tools.yaml]Paths to the tools files (absolute or relative to ~/.docker/mcp/)
--transportstdiostdio, sse or streaming (default is stdio)
--verboseVerbose output
--verify-signaturesVerify signatures of the server images
--watchtrueWatch for changes and reconfigure the gateway