Back to course

Daily Repetition 11: The 'Docker Container List' Tool

Model Context Protocol (MCP) Server Engineering

Daily Repetition: Tool #11

If you use Docker, let the AI manage it. Use dockerode library.

Implementation

Create a tool list_containers that returns status and names of active Docker containers.

Assignment: Ask the AI "Which of my Docker services are currently down?"