litmus-mcp-server

Apache 2.0

Integrations

  • 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


Getting Started

Quick Launch (Docker)

Run the server in Docker:

docker run -d --name litmus-mcp-server -p 8000:8000 ghcr.io/litmusautomation/litmus-mcp-server:main

Cursor IDE Setup

Example mcp.json configuration:

{ "mcpServers": { "litmus-mcp-server": { "url": "http://<IP Address>:8000/sse" } } }

See the Cursor docs for more info.


API

CategoryFunction NameDescription
Edge System Configget_current_environment_configGet current environment configuration used for Litmus Edge connectivity.
update_environment_configUpdate environment variable config for connecting to Litmus Edge.
get_current_configRetrieve current Litmus Edge instance configuration.
update_configUpdate configuration of the device or container running Litmus Edge.
DeviceHubget_litmusedge_driver_listList supported Litmus Edge drivers.
get_devicehub_devicesList devices configured in DeviceHub.
get_devicehub_device_tagsRetrieve tags for a specific DeviceHub device.
get_current_value_of_devicehub_tagGet current value of a specific device tag.
create_devicehub_deviceRegister a new DeviceHub device. Supports various protocols and templates for register-based data polling.
Device Identityget_litmusedge_friendly_nameRetrieve the user-friendly name of the device.
set_litmusedge_friendly_nameAssign or update the friendly name.
LEM Integrationget_cloud_activation_statusCheck cloud activation and Litmus Edge Manager (LEM) connection status.
Docker Managementget_all_containers_on_litmusedgeList all containers on Litmus Edge.
run_docker_container_on_litmusedgeLaunch a Docker container via Litmus Edge Marketplace (not the MCP host).
Topic Subscriptionget_current_value_on_topicSubscribe to current values on a Litmus Edge topic. Use global NATS_STATUS = False to unsubscribe.
get_multiple_values_from_topicRetrieve multiple values from a topic for plotting or batch access.

Usage

Server-Sent Events (SSE)

This server supports the MCP SSE transport for real-time communication.

  • Client endpoint: http://<server-ip>:8000/sse
  • Default binding: 0.0.0.0:8000/sse
  • Communication:
    • 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:

{ "mcpServers": { "litmus-mcp-server": { "url": "http://<IP Address>:8000/sse" } } }

Cursor docs


Claude Desktop

Add to claude_desktop_config.json:

{ "mcpServers": { "litmus-mcp-server": { "url": "http://<IP Address>:8000/sse" } } }

Anthropic Docs


VS Code / GitHub Copilot

Manual Configuration

In VS Code:
Open User Settings (JSON) → Add:

{ "mcpServers": { "litmus-mcp-server": { "url": "http://<IP Address>:8000/sse" } } }

Or use .vscode/mcp.json in your project.

VS Code MCP Docs


Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{ "mcpServers": { "litmus-mcp-server": { "url": "http://<IP Address>:8000/sse" } } }

Windsurf MCP Docs


© 2025 Litmus Automation, Inc. All rights reserved.

Related MCP Servers

View all related MCP servers

ID: tfrmrtvc4u