MCP Containerd
This is an MCP server implemented using the RMCP (Rust Model Context Protocol) library for operating Containerd.
Features
- Implements an MCP server using the RMCP library
- Supports all Containerd CRI interface operations
- Provides Runtime Service interfaces
- Provides Image Service interfaces
- Supports ctr interface
Prerequisites
- Rust development environment
- Containerd installed and running
- Protobuf compilation tools
Building
cargo build --release
Running
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.
Using with simple-chat-client
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":[...]}
Service Structure
The MCP server includes the following main components:
versionservice: Provides CRI version informationruntimeservice: Provides container and Pod runtime operationsimageservice: Provides container image operations
CRI Interfaces
Runtime Service
- Create/Stop/Delete Pod Sandbox
- Create/Start/Stop/Delete containers
- Query Pod/container status
- Execute commands in containers
Image Service
- List images
- Get image status
- Pull images
- Delete images
- Get image filesystem information
License
Apache-2.0
Recommend MCP Servers 💡
droidmind
A powerful bridge enabling AI assistants to control, debug, and analyze Android devices through natural language via the Model Context Protocol (MCP).
Zapier MCP
Zapier MCP allows AI assistants to interact with over 7,000 apps and 30,000 actions, enabling real-world tasks like sending messages, managing data, and scheduling events without complex API integrations.
@automatalabs/mcp-server-playwright
null
switchbot
A Model Context Protocol (MCP) server that provides interactive control over SwitchBot smart home devices using the SwitchBot API.
browserloop
An MCP server that enables AI agents to capture high-quality screenshots and monitor console logs from web pages using Playwright, supporting various formats, authentication, and configurable options.
@debugg-ai/debugg-ai-mcp
An AI-driven browser automation and end-to-end test server implementing the Model Context Protocol (MCP), designed to help AI agents test UI changes, simulate user behavior, and analyze visual outputs of running web applications via natural language and CLI tools.