About Clab MCP Server
Clab MCP Server is an MCP server published by FloSch62 in the Developer Tools category.
The repository has 13 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/FloSch62/clab-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Clab MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
1 check has not been run yet.
README
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.
- Running containerlab API server
- Latest build of containerlab from the main branch
- Build it yourself:
make build - Copy the binary:
cp bin/containerlab $(which containerlab)
- Build it yourself:
Building the MCP Server
For Windows
export GOOS=windows
export GOARCH=amd64
go build -o clab-mcp-server.exe main.go
For Mac
# For Intel Macs
export GOOS=darwin
export GOARCH=amd64
go build -o clab-mcp-server main.go
# For Apple Silicon (M1/M2/M3)
export GOOS=darwin
export GOARCH=arm64
go build -o clab-mcp-server main.go
For Linux
export GOOS=linux
export GOARCH=amd64
go build -o clab-mcp-server main.go
Setup for Claude Desktop
- Place the MCP server executable in an accessible location
- For Windows:
clab-mcp-server.exe - For Mac/Linux:
clab-mcp-server
- For Windows:
- Create a configuration file named
claude_desktop_config.jsonwith the following content:
# For Windows:
{
"mcpServers": {
"clab-api": {
"command": "C:\\clab-mcp-server.exe",
"args": [],
"env": {
"API_SERVER_URL": "http://localhost:8080"
}
}
}
}
# For Mac/Linux:
{
"mcpServers": {
"clab-api": {
"command": "/path/to/clab-mcp-server",
"args": [],
"env": {
"API_SERVER_URL": "http://localhost:8080"
}
}
}
}
- Ensure the containerlab API server is running at http://localhost:8080 or update the URL as needed
Usage
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.
README fetched from the repository 8 days ago. The original is authoritative.