Integrates with Codeium's Windsurf application, allowing it to interact with Litmus Edge for device management and configuration.
Enables management of Docker containers on Litmus Edge, including listing all containers and launching Docker containers via Litmus Edge Marketplace.
Provides integration with GitHub Copilot in VS Code, enabling it to access Litmus Edge functionality for device configuration and monitoring.
Litmus MCP Server
The official Litmus Automation Model Context Protocol (MCP) Server enables LLMs and intelligent systems to interact with Litmus Edge for device configuration, monitoring, and management. It is built on top of the MCP SDK and adheres to the Model Context Protocol spec.
Table of Contents
Related MCP server: reddit-mcp-server
Getting Started
Quick Launch (Docker)
Run the server in Docker:
Cursor IDE Setup
Example mcp.json configuration:
Header Configuration Guide:
EDGE_URL: Litmus Edge base URL (include https://)EDGE_API_CLIENT_ID/EDGE_API_CLIENT_SECRET: OAuth2 credentials from Litmus EdgeNATS_SOURCE: Litmus Edge IP (no http/https)NATS_USER/NATS_PASSWORD: Access token credentials from System → Access Control → TokensINFLUX_HOST: Litmus Edge IP (no http/https)INFLUX_USERNAME/INFLUX_PASSWORD: DataHub user credentials
See the Cursor docs for more info.
Available Tools
Category | Function Name | Description |
DeviceHub |
| List supported Litmus Edge drivers (e.g., ModbusTCP, OPCUA, BACnet). |
| List all configured DeviceHub devices with connection settings and status. | |
| Create a new device with specified driver and default configuration. | |
| Retrieve all tags (data points/registers) for a specific device. | |
| Read the current real-time value of a specific device tag. | |
Device Identity |
| Get the human-readable name assigned to the Litmus Edge device. |
| Update the friendly name of the Litmus Edge device. | |
LEM Integration |
| Check cloud registration and Litmus Edge Manager (LEM) connection status. |
Docker Management |
| List all Docker containers running on Litmus Edge Marketplace. |
| Deploy and run a new Docker container on Litmus Edge Marketplace. | |
NATS Topics * |
| Subscribe to a NATS topic and return the next published message. |
| Collect multiple sequential values from a NATS topic for trend analysis. | |
InfluxDB ** |
| Query historical time-series data from InfluxDB by measurement and time range. |
Digital Twins |
| List all Digital Twin models with ID, name, description, and version. |
| List all Digital Twin instances or filter by model ID. | |
| Create a new Digital Twin instance from an existing model. | |
| List static attributes (fixed key-value pairs) for a model or instance. | |
| List dynamic attributes (real-time data points) for a model or instance. | |
| List data transformation rules configured for a Digital Twin model. | |
| Get the hierarchy configuration for a Digital Twin model. | |
| Save a new hierarchy configuration to a Digital Twin model. |
Configuration Notes
* NATS Topic Tools Requirements:
To use get_current_value_from_topic and get_multiple_values_from_topic, you must configure access control on Litmus Edge:
Navigate to: Litmus Edge → System → Access Control → Tokens
Create or configure an access token with appropriate permissions
Provide the token in your MCP client configuration headers
** InfluxDB Tools Requirements:
To use get_historical_data_from_influxdb, you must allow InfluxDB port access:
Navigate to: Litmus Edge → System → Network → Firewall
Add a firewall rule to allow port 8086 on TCP
Ensure InfluxDB is accessible from the MCP server host
Usage
Server-Sent Events (SSE)
This server supports the MCP SSE transport for real-time communication.
Client endpoint:
http://<server-ip>:8000/sseDefault binding:
0.0.0.0:8000/sseCommunication:
Server → Client: Streamed via SSE
Client → Server: HTTP POST
Litmus Central
Download or try Litmus Edge via Litmus Central.
Integrations
Cursor IDE
Add to ~/.cursor/mcp.json or .cursor/mcp.json:
Claude Desktop
Add to claude_desktop_config.json:
VS Code / GitHub Copilot
Manual Configuration
In VS Code: Open User Settings (JSON) → Add:
Or use .vscode/mcp.json in your project.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
MCP server registries
© 2025 Litmus Automation, Inc. All rights reserved.