mcp-containerd

mcp-containerd

The containerd MCP implemented by Rust supports the operation of the CRI interface.

52
Stars
5
Forks
1
Releases

Overview

This MCP server is implemented using the RMCP (Rust Model Context Protocol) library to operate Containerd via the CRI interface. Built in Rust, it provides core MCP server capabilities with Runtime and Image service interfaces and supports the ctr interface. Prerequisites include a Rust development environment, a running Containerd instance, and Protobuf tooling. Building is performed with cargo build --release. The server can run with HTTP streaming by using -t http (streamhttp); mcp-containerd --help reveals available options. By default, the service connects to unix:///run/containerd/containerd.sock. The MCP server comprises three main components: version service for CRI version information; runtime service for container and Pod runtime operations; and image service for image operations. The runtime service supports Create/Stop/Delete Pod Sandbox; Create/Start/Stop/Delete containers; query Pod/container status; and executing commands in containers. The image service supports List images; Get image status; Pull images; Delete images; and Get image filesystem information. The project also provides a simple-chat-client example for interactive usage and documentation references its interaction patterns.

Details

Owner
jokemanfire
Language
Rust
License
Updated
2025-12-07

Features

MCP server implemented with RMCP library

Provides core MCP server functionality built on the RMCP Rust library to operate Containerd.

CRI interface coverage

Supports all Containerd CRI interface operations, enabling containerd CRI compatibility.

Runtime Service

Provides Runtime Service interfaces for container and Pod runtime operations.

Image Service

Provides Image Service interfaces for image-related operations.

CTR interface support

Supports the ctr command-line interface compatibility.

Audience

Containerd usersRun an MCP server to expose Containerd CRI operations via RMCP for Containerd.

Tags

MCPContainerdRMCPCRIRustRuntime ServiceImage ServiceCTR interfaceProtobuf