by jokemanfire
mcp-containerd is a Rust-implemented MCP server that allows for the management and operation of Containerd's CRI interfaces.
mcp-containerd is an MCP (Model Context Protocol) server implemented in Rust that enables interaction with Containerd's Container Runtime Interface (CRI). It provides a way to manage containers and images through a standardized protocol.
To use mcp-containerd, you need a Rust development environment and Containerd installed and running. You can build the project using cargo build --release
and run it with cargo run --release
. By default, it connects to unix:///run/containerd/containerd.sock
. You can interact with it using a client like simple-chat-client
(available in the rust-sdk
examples).
mcp-containerd can be used in scenarios where you need programmatic control over Containerd. This includes:
Q: What are the prerequisites for running mcp-containerd? A: You need a Rust development environment and Containerd installed and running.
Q: How do I build mcp-containerd?
A: You can build it using cargo build --release
.
Q: How do I run mcp-containerd?
A: You can run it using cargo run --release
. It will connect to unix:///run/containerd/containerd.sock
by default.
Q: Can I configure the connection parameters? A: Currently, it uses default configuration. Future versions are planned to support customizable connection parameters through configuration files.
Q: What kind of services does mcp-containerd provide?
A: It provides version
, runtime
, and image
services for managing CRI operations.
This is an MCP server implemented using the RMCP (Rust Model Context Protocol) library for operating Containerd's CRI interfaces.
cargo build --release
cargo run --release
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 operationsCurrently using default configuration. Future versions will support customizing connection parameters through configuration files.
Apache-2.0
Please log in to share your review and rating for this MCP.