Containerd

by jokemanfire

50 stars
Not rated
GitHub

About

Enables container management through natural language commands by bridging Containerd's Container Runtime Interface for listing, creating, and removing containers and pods without complex CLI syntax.

Details

Author
jokemanfire
Repository
jokemanfire/mcp-containerd
GitHub stars
50
Categories
Productivity, Developer Tools, Design, AI, Media, Frontend
Tags
#integration

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Containerd
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

list_containers

List all containers managed by the MCP Containerd service.

list_images

List all images available in the containerd.

create_pod_sandbox

Create a new Pod Sandbox.

stop_pod_sandbox

Stop a running Pod Sandbox.

delete_pod_sandbox

Delete a Pod Sandbox.

create_container

Create a new container.

start_container

Start a stopped container.

stop_container

Stop a running container.

delete_container

Delete a container.

query_pod_status

Query the status of a specific Pod.

query_container_status

Query the status of a specific container.

execute_command_in_container

Execute a command inside a running container.

get_image_status

Retrieve the status of a specific image.

pull_image

Pull an image into the containerd.

delete_image

Delete a specified image from the containerd.

get_image_filesystem_info

Get filesystem information of a specific image.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "containerd": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.