Containerlab MCP Server

by FloSch62

420 downloads Not rated yet

About

# Containerlab MCP Server This is a quick and dirty MCP (Model Context Protocol) trial for interacting with containerlab using AI. The example is tailored for claude desktop. 1. Running [containerlab API server](https://github.com/srl-labs/clab-api-server) 2. Latest build of…

Explore

- List available containerlab labs
- Deploy new network topologies
- Inspect lab details
- Execute commands on lab nodes
- Destroy and clean up labs

Once configured, Claude will be able to:
- List available labs
- Deploy new network topologies
- Inspect lab details
- Execute commands on lab nodes
- Destroy and clean up labs

You can ask Claude to perform these operations using natural language, and it will use the appropriate MCP tools to interact with your containerlab environment.

1. Place the MCP server executable in an accessible location
- For Windows: clab-mcp-server.exe
- For Mac/Linux: clab-mcp-server
2. Create a configuration file named claude_desktop_config.json with the following content:

```json

This is a quick and dirty MCP (Model Context Protocol) trial for interacting with containerlab using AI. The example is tailored for claude desktop.

1. Running containerlab API server
2. Latest build of containerlab from the main branch
- Build it yourself: make build
- Copy the binary: cp bin/containerlab $(which containerlab)

Building the MCP Server

For Windows

export GOOS=windows
export GOARCH=amd64
go build -o clab-mcp-server.exe main.go

For Mac

```bash
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.