Skip to main content
Glama

Code MCP Server

by block

docker_containers

Perform actions like list, start, stop, inspect, and manage Docker containers on the Code MCP Server. Supports commands, logs, stats, and volume removal for streamlined container operations.

Instructions

Manage Docker containers (list, start, stop, remove, etc.)

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform on containers
allNoShow all containers including stopped ones
commandNoCommand to execute (for exec action)
containerNoContainer name or ID
followNoFollow log output (for logs action)
forceNoForce operation
tailNoNumber of lines to show from end of logs
volumesNoRemove associated volumes (for remove action)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Action to perform on containers", "enum": [ "list", "start", "stop", "restart", "remove", "inspect", "logs", "exec", "stats" ], "type": "string" }, "all": { "description": "Show all containers including stopped ones", "type": "boolean" }, "command": { "description": "Command to execute (for exec action)", "type": "string" }, "container": { "description": "Container name or ID", "type": "string" }, "follow": { "description": "Follow log output (for logs action)", "type": "boolean" }, "force": { "description": "Force operation", "type": "boolean" }, "tail": { "description": "Number of lines to show from end of logs", "type": "number" }, "volumes": { "description": "Remove associated volumes (for remove action)", "type": "boolean" } }, "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