Containerlab MCP Server

by FloSch62

420 downloads
Not rated
GitHub

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…

Details

Author
FloSch62
Downloads
420
Categories
Other

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

Build the MCP server binary for your platform (Windows, Mac, or Linux) using go build, then configure Claude Desktop by placing the executable and adding a claude_desktop_config.json that sets the API_SERVER_URL environment variable (default http://localhost:8080). Ensure the containerlab API server is running.

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