CloudLab MCP Server
Enables AI assistants to manage CloudLab/Emulab experiments, including listing experiments, controlling nodes (reboot, reload, power cycle), retrieving console logs, extending experiment time, and terminating experiments.
README
CloudLab MCP Server
An MCP (Model Context Protocol) server for managing CloudLab/Emulab experiments. This allows AI assistants like Claude to interact with your CloudLab experiments directly.
Features
- Create experiments - Create new experiments from profiles
- List experiments - View all your CloudLab experiments
- Get experiment details - See detailed status including node states
- Reboot nodes - Reboot individual nodes or all nodes in an experiment
- Reload/reimage nodes - Reload a node with its disk image
- Power cycle nodes - Hard reboot for unresponsive nodes
- Extend experiments - Request time extensions
- Terminate experiments - Clean up when done
Prerequisites
- Node.js 18+
- A CloudLab account with API access
- A valid CloudLab JWT token
Installation
npm install
npm run build
Configuration
Getting your CloudLab JWT Token
- Log in to CloudLab
- Go to your user profile
- Navigate to "Download Credentials" or generate an API token
- Save the token as
cloudlab.jwt
Token Location
The server looks for your JWT token in these locations (in order):
- Path specified in
CLOUDLAB_TOKEN_PATHenvironment variable cloudlab.jwtin the project directory~/Downloads/cloudlab.jwt
Important: Never commit your JWT token to version control!
Usage with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"cloudlab": {
"command": "node",
"args": ["/path/to/cloudlab-mcp/dist/index.js"]
}
}
}
Available Tools
| Tool | Description |
|---|---|
create_experiment |
Create a new experiment from a profile |
list_experiments |
List all your experiments |
get_experiment |
Get detailed status of an experiment |
reboot_node |
Reboot a specific node |
reboot_all_nodes |
Reboot all nodes in an experiment |
reload_node |
Reload/reimage a node |
powercycle_node |
Power cycle a node (hard reboot) |
extend_experiment |
Extend experiment expiration |
terminate_experiment |
Terminate an experiment |
Environment Variables
| Variable | Description |
|---|---|
CLOUDLAB_TOKEN_PATH |
Custom path to your JWT token file |
CLOUDLAB_API_URL |
Override the API endpoint (default: https://www.emulab.net:43794) |
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.