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 💡
mcp-browser-agent
A Model Context Protocol (MCP) integration that provides Claude Desktop with autonomous browser automation capabilities. This agent enables Claude to interact with web content, manipulate DOM elements, execute JavaScript, and perform API requests.
ros-mcp
A MCP server for controlling ROS robots via natural language using topics, services, and actions
mcp-server-screeny
Privacy-focused macOS MCP server for AI agents to capture screenshots of user-approved windows
@simonb97/server-win-cli
Model Context Protocol server for secure command-line interactions on Windows systems
cronlytic-mcp-server
MCP server to let LLMs (AI Agents) communicate and interact with Cronlytic to perform CRUD operations for serverless cron jobs
mcp-wassenger
MCP connector for Wassenger WhatsApp API enabling message sending, conversation summarization, and automation through AI clients