Skip to main content
Glama

Code MCP Server

by block

docker_networks

Manage Docker networks by listing, creating, removing, inspecting, or connecting/disconnecting containers. Configure network drivers, subnets, and gateways for efficient container orchestration.

Instructions

Manage Docker networks

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform on networks
containerNoContainer to connect/disconnect
driverNoNetwork driver (bridge, overlay, host, etc.)
gatewayNoGateway for network
networkNoNetwork name or ID
subnetNoSubnet for network (e.g., 172.20.0.0/16)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Action to perform on networks", "enum": [ "list", "create", "remove", "inspect", "connect", "disconnect" ], "type": "string" }, "container": { "description": "Container to connect/disconnect", "type": "string" }, "driver": { "description": "Network driver (bridge, overlay, host, etc.)", "type": "string" }, "gateway": { "description": "Gateway for network", "type": "string" }, "network": { "description": "Network name or ID", "type": "string" }, "subnet": { "description": "Subnet for network (e.g., 172.20.0.0/16)", "type": "string" } }, "required": [ "action" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server