mcp-containerd
Use mcp to manage containerd(developing)
Documentation
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 --releaseRunning
mcp-containerd -t http #use streamhttp
mcp-containerd --help #list the help infoBy 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:
- `version` service: Provides CRI version information
- `runtime` service: Provides container and Pod runtime operations
- `image` service: 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
Frequently asked questions
What is mcp-containerd?
mcp-containerd is Use mcp to manage containerd(developing)
How do I install mcp-containerd?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-containerd open source?
Yes — it is hosted on GitHub at https://github.com/jokemanfire/mcp-containerd and has 51 stars.
Related MCP tools
An open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM for the Model Context Protocol. Enhance AI
The official Rust SDK for the Model Context Protocol Trusted by 2500+ developers. Trusted by 2500+ developers. Trusted by 2500+ developers.
🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments.
Search infrastructure for AI
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP