
Containerd
STDIOContainerd CRI操作的MCP服务器
Containerd CRI操作的MCP服务器
This is an MCP server implemented using the RMCP (Rust Model Context Protocol) library for operating Containerd.
cargo build --release
mcp-containerd -t http #use streamhttp mcp-containerd --help #list the help info
By default, the service will connect to the unix:///run/containerd/containerd.sock
endpoint.
The simple-chat-client allows you to interact with the MCP Containerd service: simple-chat-client has moved to simple-chat-client
Example interaction:
> please give me a list of containers
AI: Listing containers...
Tool: list_containers
Result: {"containers":[...]}
> please give me a list of images
AI: Here are the images in your containerd:
Tool: list_images
Result: {"images":[...]}
The MCP server includes the following main components:
version
service: Provides CRI version informationruntime
service: Provides container and Pod runtime operationsimage
service: Provides container image operationsApache-2.0