Skip to content
MCP server

Logicmonitor

LogicMonitor API integration with 167 tools for alerts, devices, dashboards, and more.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
5.0.1
Listing updated
5 days ago

About Logicmonitor

Logicmonitor is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add logicmonitor --env LM_PORTAL='<LM_PORTAL>' --env LM_BEARER_TOKEN='<LM_BEARER_TOKEN>' --env LM_ACCESS_KEY='<LM_ACCESS_KEY>' --env LM_HTTP_AUTH_TOKEN='<LM_HTTP_AUTH_TOKEN>' --env LM_HTTP_SSL_KEYFILE_PASSWORD='<LM_HTTP_SSL_KEYFILE_PASSWORD>' --env EDWIN_CLIENT_TOKEN='<EDWIN_CLIENT_TOKEN>' -- uvx lm-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "logicmonitor": {
      "command": "uvx",
      "args": [
        "lm-mcp"
      ],
      "env": {
        "LM_PORTAL": "<LM_PORTAL>",
        "LM_BEARER_TOKEN": "<LM_BEARER_TOKEN>",
        "LM_ACCESS_KEY": "<LM_ACCESS_KEY>",
        "LM_HTTP_AUTH_TOKEN": "<LM_HTTP_AUTH_TOKEN>",
        "LM_HTTP_SSL_KEYFILE_PASSWORD": "<LM_HTTP_SSL_KEYFILE_PASSWORD>",
        "EDWIN_CLIENT_TOKEN": "<EDWIN_CLIENT_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "logicmonitor": {
      "command": "uvx",
      "args": [
        "lm-mcp"
      ],
      "env": {
        "LM_PORTAL": "<LM_PORTAL>",
        "LM_BEARER_TOKEN": "<LM_BEARER_TOKEN>",
        "LM_ACCESS_KEY": "<LM_ACCESS_KEY>",
        "LM_HTTP_AUTH_TOKEN": "<LM_HTTP_AUTH_TOKEN>",
        "LM_HTTP_SSL_KEYFILE_PASSWORD": "<LM_HTTP_SSL_KEYFILE_PASSWORD>",
        "EDWIN_CLIENT_TOKEN": "<EDWIN_CLIENT_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "logicmonitor": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lm-mcp"
      ],
      "env": {
        "LM_PORTAL": "<LM_PORTAL>",
        "LM_BEARER_TOKEN": "<LM_BEARER_TOKEN>",
        "LM_ACCESS_KEY": "<LM_ACCESS_KEY>",
        "LM_HTTP_AUTH_TOKEN": "<LM_HTTP_AUTH_TOKEN>",
        "LM_HTTP_SSL_KEYFILE_PASSWORD": "<LM_HTTP_SSL_KEYFILE_PASSWORD>",
        "EDWIN_CLIENT_TOKEN": "<EDWIN_CLIENT_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "logicmonitor": {
      "command": "uvx",
      "args": [
        "lm-mcp"
      ],
      "env": {
        "LM_PORTAL": "<LM_PORTAL>",
        "LM_BEARER_TOKEN": "<LM_BEARER_TOKEN>",
        "LM_ACCESS_KEY": "<LM_ACCESS_KEY>",
        "LM_HTTP_AUTH_TOKEN": "<LM_HTTP_AUTH_TOKEN>",
        "LM_HTTP_SSL_KEYFILE_PASSWORD": "<LM_HTTP_SSL_KEYFILE_PASSWORD>",
        "EDWIN_CLIENT_TOKEN": "<EDWIN_CLIENT_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "logicmonitor": {
      "command": "uvx",
      "args": [
        "lm-mcp"
      ],
      "env": {
        "LM_PORTAL": "<LM_PORTAL>",
        "LM_BEARER_TOKEN": "<LM_BEARER_TOKEN>",
        "LM_ACCESS_KEY": "<LM_ACCESS_KEY>",
        "LM_HTTP_AUTH_TOKEN": "<LM_HTTP_AUTH_TOKEN>",
        "LM_HTTP_SSL_KEYFILE_PASSWORD": "<LM_HTTP_SSL_KEYFILE_PASSWORD>",
        "EDWIN_CLIENT_TOKEN": "<EDWIN_CLIENT_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • LM_PORTALPortal hostname, such as company.logicmonitor.com; required unless LM_MULTI_PORTAL is trueRequired
  • LM_BEARER_TOKENLogicMonitor API Bearer token; LM_ACCESS_ID with LM_ACCESS_KEY can stand in for itRequired
  • LM_ACCESS_IDLMv1 API access ID; with LM_ACCESS_KEY it stands in for LM_BEARER_TOKEN
  • LM_ACCESS_KEYLMv1 API access key, the secret of the LM_ACCESS_ID token
  • LM_TIMEOUTAPI request timeout in seconds, 5 to 300
  • LM_ENABLE_WRITE_OPERATIONSList and allow the tools that change the portal (create, update, delete, acknowledge, run)
  • LM_MAX_RETRIESResends of a rate-limited request, or of a 5xx on an idempotent method, 0 to 10
  • LM_RETRY_AFTER_CAP_SECONDSLongest wait in seconds a server's Retry-After header can impose between retries
  • LM_MULTI_PORTALServe several portals from one server, chosen at runtime (stdio only)
  • LM_VAULT_FILEAge-encrypted portal vault (multi-portal mode)
  • LM_AGE_KEYAge identity file that decrypts LM_VAULT_FILE
  • LM_PORTALS_FILEPlaintext JSON portal map for testing multi-portal mode; LM_VAULT_FILE wins when both are set
  • LM_TRANSPORTstdio, or http for the Streamable HTTP endpoint at /mcp
  • LM_HTTP_HOSTHTTP bind address; a non-loopback bind needs LM_HTTP_AUTH_TOKEN or LM_HTTP_ALLOW_UNAUTHENTICATED
  • LM_HTTP_PORTHTTP port
  • LM_HTTP_AUTH_TOKENBearer token every HTTP request must carry, except to the health endpoints and /; 16 characters or more
  • LM_HTTP_ALLOW_UNAUTHENTICATEDAccept a non-loopback HTTP bind with no LM_HTTP_AUTH_TOKEN, for a listener another layer protects
  • LM_HTTP_ALLOWED_HOSTSComma-separated Host names the HTTP server accepts besides the loopback names and LM_HTTP_HOST
  • LM_HTTP_SSL_CERTFILETLS certificate for the HTTP transport
  • LM_HTTP_SSL_KEYFILETLS private key for the HTTP transport
  • LM_HTTP_SSL_KEYFILE_PASSWORDPassword of an encrypted LM_HTTP_SSL_KEYFILE
  • LM_SESSION_HISTORY_SIZETool calls kept in the session history, 0 to 1000
  • LM_ENABLED_TOOLSComma-separated tool names or glob patterns to enable (e.g., get_*,create_device)
  • LM_DISABLED_TOOLSComma-separated tool names or glob patterns to disable (e.g., delete_*)
  • LM_MCP_CATEGORIESComma-separated categories to list (read, write, delete, export, import, session, workflow); narrows the tool filters, never widens them
  • LM_HEALTH_CHECK_CONNECTIVITYAdd a LogicMonitor API call to the HTTP /health check for callers that pass the bearer check
  • LM_LOG_LEVELServer log level
  • EDWIN_CLIENT_IDEdwin AI API credential client id; with EDWIN_CLIENT_TOKEN it turns on the eight Edwin tools
  • EDWIN_CLIENT_TOKENSecret of that Edwin AI credential
  • EDWIN_HOSTEdwin AI base URL, https only (default: https://<portal name>.dexda.ai; required in multi-portal mode)

Pricing

Open source

Logicmonitor FAQ

Is Logicmonitor free?

Yes. Logicmonitor is open source, so you can use and self-host it for free.

How do I add Logicmonitor to Claude Code?

Run this command in your terminal: claude mcp add logicmonitor --env LM_PORTAL='<LM_PORTAL>' --env LM_BEARER_TOKEN='<LM_BEARER_TOKEN>' --env LM_ACCESS_KEY='<LM_ACCESS_KEY>' --env LM_HTTP_AUTH_TOKEN='<LM_HTTP_AUTH_TOKEN>' --env LM_HTTP_SSL_KEYFILE_PASSWORD='<LM_HTTP_SSL_KEYFILE_PASSWORD>' --env EDWIN_CLIENT_TOKEN='<EDWIN_CLIENT_TOKEN>' -- uvx lm-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers