- Home
- MCP servers
- LogicMonitor
LogicMonitor
- python
3
GitHub Stars
python
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ryanmat-mcp-server-logicmonitor": {
"command": "uvx",
"args": [
"--from",
"lm-mcp",
"lm-mcp-server"
],
"env": {
"LM_PORTAL": "yourcompany.logicmonitor.com",
"LM_ACCESS_ID": "your-access-id",
"LM_ACCESS_KEY": "your-access-key",
"LM_BEARER_TOKEN": "your-bearer-token",
"LM_ENABLE_WRITE_OPERATIONS": "true"
}
}
}
}You can deploy and use the LogicMonitor MCP Server to enable AI assistants and other MCP-compatible clients to interact with LogicMonitor data through a structured set of tools. This server acts as the bridge between your LogicMonitor portal and your preferred MCP clients, exposing a rich suite of monitoring capabilities via practical, programmable actions.
How to use
To use the LogicMonitor MCP Server, connect your MCP client and configure authentication tokens so the client can securely access your LogicMonitor data. You typically run the MCP server locally or as part of a remote deployment, then add your server as a known MCP endpoint in your chosen client. Once configured, you can ask your AI assistant to perform common monitoring tasks, such as listing devices, querying alerts, managing dashboards, scheduling downtime, and ingesting logs and metrics.
How to install
Prerequisites you need before installation include Python and a compatible MCP client setup. Follow these concrete steps to install and start the MCP server for LogicMonitor.
# Install the MCP server with Python Package Installer (pip)
pip install lm-mcp
# Or run the MCP server without a local install using uvx (no installation required)
uvx --from lm-mcp lm-mcp-server
# If you prefer a full Docker deployment, follow the Docker steps shown in the deployment section
Configuration and usage notes
Configure your MCP client with the required credentials to access LogicMonitor. The typical credentials include a portal hostname and a bearer token, and you can enable write operations and LMv1 ingestion if you need advanced capabilities.
Troubleshooting and tips
If you encounter connection issues, ensure your environment variables are properly set in the client configuration. For write-enabled operations, verify that LM_ENABLE_WRITE_OPERATIONS is set to true in your environment. If the MCP client cannot locate the runtime, provide the full path to the executable as needed, and verify you are using the correct LM portal and token.
Additional references
The server supports healthcare-friendly health endpoints for container orchestration and includes health, readiness, and liveness checks to simplify deployment in modern environments.
Available tools
get_alerts
List alerts with optional severity and status filters
acknowledge_alert
Acknowledge an alert with optional notes
get_devices
List devices with optional filters by group or name
create_device
Create a new device in LogicMonitor
update_device
Update an existing device
delete_device
Delete a device
get_dashboards
List dashboards with optional filters
create_dashboard
Create a new dashboard
get_dashboards
List dashboards with optional filters
get_device_datasources
List DataSources applied to a device
get_graph_data
Get graph data for visualization