docker_mcp_server
The Docker MCP Server is a specialized server implementation that uses the Model Context Protocol to expose a comprehensive list of Docker commands as MCP tools. It allows automatic tool generation even for non-annotated methods, enhancing flexibility and usability in managing Docker environments.
Docker MCP Server
A Docker server implementation using the Model Context Protocol (MCP) to expose Docker commands. Features automatic server generation via MCP Mediator, enabling tool discoverability and usability through annotations.
Features
- MCP tool annotation for enhanced discoverability
- Supports various Docker commands as MCP server tools
- Automatic generation of tools for non-annotated methods
- Standalone executable creation via GraalVM
Usage Examples
Run server with Java java -jar docker-mcp-server.jar
and set server configurations for Docker host, TLS, server name, version, and max connections.
Build
Compile with Maven to create a JAR file, or use GraalVM to generate a native image.
Supported Commands
Includes commands like start/stop containers, inspect swarm, list tasks, and more.
Contributing
Contributions via Pull Requests are welcome.
License
Licensed under the GPL3 License.