litmus-mcp-server
litmus-mcp-server
README
<p align="center"> <a href="https://litmus.io"> <picture> <source media="(prefers-color-scheme: light)" srcset="static/litmus-logo-light.svg" /> <source media="(prefers-color-scheme: dark)" srcset="static/litmus-logo-dark.svg" /> <img src="static/litmus-logo-light.svg" height="60" alt="Litmus logo" /> </picture> </a> </p>
<p align="center"> <a href="https://docs.litmus.io"> <img src="https://img.shields.io/badge/Litmus-Docs-2acfa6?style=flat-square" alt="Documentation" /> </a> <a href="https://www.linkedin.com/company/litmus-automation/" > <img src="https://img.shields.io/badge/LinkedIn-Follow-0a66c2?style=flat-square" alt="Follow on LinkedIn" /> </a> </p>
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.
<div> <picture> <source media="(prefers-color-scheme: light)" srcset="static/MCP-server-arch-diagram.png" /> <img src="static/MCP-server-arch-diagram.png" alt="Litmus MCP Server Architecture Diagram" /> </picture> </div>
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
| Category | Function Name | Description |
|---|---|---|
| Edge System Config | get_current_environment_config |
Get current environment configuration used for Litmus Edge connectivity. |
update_environment_config |
Update environment variable config for connecting to Litmus Edge. | |
get_current_config |
Retrieve current Litmus Edge instance configuration. | |
update_config |
Update configuration of the device or container running Litmus Edge. | |
| DeviceHub | get_litmusedge_driver_list |
List supported Litmus Edge drivers. |
get_devicehub_devices |
List devices configured in DeviceHub. | |
get_devicehub_device_tags |
Retrieve tags for a specific DeviceHub device. | |
get_current_value_of_devicehub_tag |
Get current value of a specific device tag. | |
create_devicehub_device |
Register a new DeviceHub device. Supports various protocols and templates for register-based data polling. | |
| Device Identity | get_litmusedge_friendly_name |
Retrieve the user-friendly name of the device. |
set_litmusedge_friendly_name |
Assign or update the friendly name. | |
| LEM Integration | get_cloud_activation_status |
Check cloud activation and Litmus Edge Manager (LEM) connection status. |
| Docker Management | get_all_containers_on_litmusedge |
List all containers on Litmus Edge. |
run_docker_container_on_litmusedge |
Launch a Docker container via Litmus Edge Marketplace (not the MCP host). | |
| Topic Subscription | get_current_value_on_topic |
Subscribe to current values on a Litmus Edge topic. Use global NATS_STATUS = False to unsubscribe. |
get_multiple_values_from_topic |
Retrieve 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"
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"litmus-mcp-server": {
"url": "http://<IP Address>:8000/sse"
}
}
}
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.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"litmus-mcp-server": {
"url": "http://<IP Address>:8000/sse"
}
}
}
© 2025 Litmus Automation, Inc. All rights reserved.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。