LogicMonitor MCP Server

LogicMonitor MCP Server

MCP server enabling AI assistants to interact with your LogicMonitor, providing 125 tools for comprehensive monitoring and management operations.

Category
访问服务器

README

LogicMonitor MCP Server

Model Context Protocol (MCP) server for LogicMonitor - enables AI assistants to interact with your LogicMonitor.

CI Release npm version License TypeScript Node

[!IMPORTANT]

🛠️ Managed & Supported by Monitoring Artist

This MCP server is an independent, community-driven innovation by Monitoring Artist.

Official Support Disclaimer: This project is not an official LogicMonitor product and is not covered by LogicMonitor’s standard support tiers.

Need Enterprise-Grade Reliability? > Monitoring Artist provides professional implementation, custom feature development, and dedicated support for this integration. Partner with us for expert solutions.

Features

  • 125 MCP Tools for comprehensive LogicMonitor operations (73 read-only, 52 write)
  • Unified Server: Single server implementation supporting all transport modes (STDIO, SSE, HTTP)
  • Multiple Transport Modes: STDIO for local use, SSE/HTTP for remote access
  • Flexible Authentication: No auth (dev), bearer token, or OAuth/OIDC
  • CSRF Protection: Automatic CSRF protection for session-based authentication
  • Read-Only Mode: Safe monitoring without modification capabilities (enabled by default)
  • Flexible Configuration: CLI flags, environment variables, or .env file
  • Debug Logging: JSON or human-readable formats with detailed request/response logging
  • Tool Filtering: Enable specific tools or disable search functionality
  • Rate Limiting: Automatic retry with exponential backoff
  • Batch Operations: Process multiple resources efficiently
  • Smart Batching: Adaptive concurrency that automatically adjusts to API rate limits
  • TLS/HTTPS Support: Optional TLS for secure remote access

Images

Cursor Prompt - Resource Check Demo

High‑level demonstration of using the LogicMonitor MCP server in Cursor, showing how to execute a LogicMonitor resource check using an MCP prompt with the argument "www.google.com" (a resource in LogicMonitor). The agent has knowledge about available MCP tools and uses them in a self‑correcting way:

Cursor Prompt Resource Check

Cursor Tools

Screenshot showing the available LogicMonitor MCP tools within Cursor:

Cursor Tools

Grafana Assistant Tools

Screenshot showing the available LogicMonitor MCP tools within Grafana Assistant:

Grafana Assistant Tools

VS Code Tools

Screenshot showing the available LogicMonitor MCP tools within Visual Studio Code:

VS Code Tools

Installation Options

Local LogicMonitor MCP server

Run LogicMonitor MCP Server locally with STDIO transport for Claude Desktop:

Install with Docker in VS Code Install with npx in VS Code Install with Docker in WSL in VS Code Install with npx in WSL in VS Code Install with Docker in Cursor Install with npx in Cursor Install with Docker in WSL in Cursor Install with npx in WSL in Cursor npm Claude Desktop

# Quick start with npx (no installation needed)
npx logicmonitor-mcp-server

# Or install globally
npm install -g logicmonitor-mcp-server
logicmonitor-mcp-server

Add to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "logicmonitor": {
      "command": "npx",
      "args": ["-y", "logicmonitor-mcp-server"],
      "env": {
        "LM_COMPANY": "mycompany",
        "LM_BEARER_TOKEN": "your-bearer-token-here"
      },
      "type": "stdio"
    }
  }
}

Best for: Personal use, Claude Desktop integration, local development

Example Remote LogicMonitor MCP server

Run LogicMonitor MCP Server remotely with SSE or HTTP transport for web-based access:

Install as remote MCP in VS Code

# Quick start with Docker
docker run -d -p 3000:3000 \
  -e LM_COMPANY=mycompany \
  -e LM_BEARER_TOKEN=your-token \
  -e MCP_TRANSPORT=streamable-http \
  -e OAUTH_PROVIDER=none \
  monitoringartist/logicmonitor-mcp-server

# Available container images

| Registry | Pull command | Notes |
| --- | --- | --- |
| GitHub Container Registry | `docker pull ghcr.io/monitoringartist/logicmonitor-mcp-server:<tag>` | Tags include `latest`, `vX.Y.Z`, `X.Y`, and `X`. |
| Docker Hub | `docker pull monitoringartist/logicmonitor-mcp-server:<tag>` | Mirrors the same tags as GHCR. |

# Or use Docker Compose for production
curl -o docker-compose.yml https://raw.githubusercontent.com/monitoringartist/logicmonitor-mcp-server/main/docker-compose.yml
cp env.example .env  # Configure your credentials
docker-compose up -d logicmonitor-mcp-http

Best for: Web applications, remote access, multiple users, enterprise deployments, where admin controls access.

Quick Start

Prerequisites

  • Node.js >= 18 (or Docker)
  • LogicMonitor account with API access
  • LogicMonitor API Bearer Token

Installation

Option A: Node.js

# Clone the repository
git clone https://github.com/monitoringartist/logicmonitor-mcp-server.git
cd logicmonitor-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Option B: Docker

# Clone the repository
git clone https://github.com/monitoringartist/logicmonitor-mcp-server.git
cd logicmonitor-mcp-server

# Build Docker image
docker build -t logicmonitor-mcp-server .

# Or use Docker Compose
cp env.example .env
# Edit .env with your credentials
docker-compose up -d logicmonitor-mcp-http

Configuration

Choose one of three methods to configure (listed in order of precedence):

Option 1: Environment Variables (Recommended)

export LM_COMPANY=mycompany
export LM_BEARER_TOKEN=your-bearer-token-here
npm start

Option 2: .env File

# Copy the example file
cp env.example .env

# Edit .env with your credentials
nano .env

# Run the server
npm start

Option 3: CLI Flags

npm start -- --lm-company mycompany --lm-bearer-token "your-token"

CLI Reference

Transport Options

Flag Environment Variable Default Description
-t, --transport <type> MCP_TRANSPORT stdio Transport type: stdio, sse, or streamable-http
--address <host:port> MCP_ADDRESS localhost:3000 Server address for SSE/HTTP transports
--base-path <path> MCP_BASE_PATH - Base path for the server
--endpoint-path <path> MCP_ENDPOINT_PATH /mcp Endpoint path for streamable-http

TLS Configuration (streamable-http transport only)

Flag Environment Variable Default Description
--server.tls-cert-file <path> MCP_TLS_CERT_FILE - Path to TLS certificate file for HTTPS. Server uses HTTPS if both cert and key are configured
--server.tls-key-file <path> MCP_TLS_KEY_FILE - Path to TLS private key file for HTTPS. Both cert and key required for HTTPS

Note: By default (when TLS is not configured), the server listens on HTTP protocol. When both certificate and key files are provided, the server automatically switches to HTTPS protocol only.

Debug and Logging

Flag Environment Variable Default Description
--debug MCP_DEBUG=true false Enable debug mode with detailed logging
--log-format <format> MCP_LOG_FORMAT human Log format: json or human
--log-level <level> MCP_LOG_LEVEL info Log level: debug, info, warn, or error

Tool Configuration

Flag Environment Variable Default Description
--enabled-tools <list> MCP_ENABLED_TOOLS all Comma-separated list of enabled tools
--read-only MCP_READ_ONLY true Enable only read-only tools (safer). Set MCP_READ_ONLY=false to enable write operations

LogicMonitor API (Required)

Flag Environment Variable Description
--lm-company <name> LM_COMPANY Your LogicMonitor company/account name (subdomain). Example: if your portal is mycompany.logicmonitor.com, use mycompany
--lm-bearer-token <token> LM_BEARER_TOKEN LogicMonitor API Bearer Token. Generate at: Settings > Users & Roles > API Tokens

MCP Server Authentication (Optional - for SSE/HTTP transports only)

Flag Environment Variable Default Description
--mcp-bearer-token <token> MCP_BEARER_TOKEN - Static bearer token for authenticating clients connecting to the MCP server. Used as an alternative or supplement to OAuth for remote access via SSE/HTTP transports. Not required for STDIO transport.
- OAUTH_PROVIDER none OAuth provider type: none (disabled), github, google, azure, okta, auth0, or custom. Set to none or leave unset to disable OAuth authentication.

Note: This is for authenticating to the MCP server, not for LogicMonitor API access.

Authentication Modes:

  • No Authentication (default): If neither MCP_BEARER_TOKEN nor OAuth is configured (OAUTH_PROVIDER=none), unauthenticated access is allowed. Suitable for development/testing only.
  • Bearer Token: Simple static token authentication - set MCP_BEARER_TOKEN
  • OAuth/OIDC: Enterprise authentication - configure OAUTH_PROVIDER and related settings (see env.example)
  • Both: Both authentication methods can work simultaneously

Usage Examples

Claude Desktop (STDIO - Recommended)

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "logicmonitor": {
      "command": "node",
      "args": [
        "/path/to/logicmonitor-mcp-server/build/servers/index.js"
      ],
      "env": {
        "LM_COMPANY": "mycompany",
        "LM_BEARER_TOKEN": "your-bearer-token",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}

Note: The MCP_TRANSPORT=stdio is optional as it's the default, but included for clarity.

SSE Transport (Remote Access)

# Start SSE server with debug logging
npm start -- --transport sse --address localhost:3000 --debug

# Or using environment variables
export MCP_TRANSPORT=sse
export MCP_ADDRESS=localhost:3000
export MCP_DEBUG=true
npm start

# Or use the convenience script
npm run start:sse

Note: For SSE/HTTP transports, authentication is optional but recommended:

  • Development/Testing: No authentication required (default with OAUTH_PROVIDER=none)
  • Production: Configure MCP_BEARER_TOKEN or OAuth (see Authentication Modes below)

Health Check Endpoints: When using SSE or streamable HTTP transports, health check endpoints are available:

Simple Health Check (/healthz)

# Quick health check
curl http://localhost:3000/healthz
# Response: 200 OK with body "ok"

Detailed Health Check (/health)

# Detailed health information
curl http://localhost:3000/health

Response includes:

{
  "status": "healthy",
  "version": "1.0.0",
  "uptime": 3600.5,
  "memory": {
    "rss": 52428800,
    "heapTotal": 20971520,
    "heapUsed": 15728640,
    "external": 1048576,
    "arrayBuffers": 262144
  },
  "connections": {
    "mcp": 5,
    "http": 3
  },
  "timestamp": "2025-11-02T12:00:00.000Z",
  "transport": {
    "mode": "both",
    "http": true,
    "sse": true
  }
}

These endpoints can be used by:

  • Load balancers (use /healthz for simple checks)
  • Monitoring systems (use /health for detailed metrics)
  • Orchestration platforms (Docker, Kubernetes)
  • CI/CD health checks
  • APM and observability tools

Note: Health check endpoints are not available when using the STDIO transport.

HTTPS/TLS Configuration (Secure Transport)

To enable HTTPS for the SSE or streamable HTTP transport, provide both certificate and key files:

# Using environment variables (recommended)
export MCP_TLS_CERT_FILE=/path/to/cert.pem
export MCP_TLS_KEY_FILE=/path/to/key.pem
export MCP_TRANSPORT=sse
npm start

# Using CLI flags
npm start -- --transport sse \
  --server.tls-cert-file /path/to/cert.pem \
  --server.tls-key-file /path/to/key.pem

# Access via HTTPS
curl https://localhost:3000/healthz

Behavior:

  • TLS Not Configured (default): Server uses HTTP protocol
  • TLS Configured (both cert and key files provided): Server uses HTTPS protocol only
  • Partial TLS Config (only cert OR only key): Server uses HTTP protocol (both required)

Generate Self-Signed Certificate for Testing:

# Generate self-signed certificate (for development/testing only)
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes \
  -subj "/CN=localhost"

# Start server with TLS
npm start -- --transport sse \
  --server.tls-cert-file ./cert.pem \
  --server.tls-key-file ./key.pem

Production Recommendations:

  • Use certificates from a trusted Certificate Authority (Let's Encrypt, commercial CAs)
  • Consider using a reverse proxy (nginx, Caddy) for TLS termination
  • Rotate certificates before expiry
  • Use strong TLS protocols (TLS 1.2+)

Read-Only Mode (Default - Safe Monitoring)

By default, the server runs in read-only mode for safety:

# Read-only mode (default)
npm start

# Explicitly enable write operations
npm start -- # with MCP_READ_ONLY=false in .env

# Or via environment
export MCP_READ_ONLY=false
npm start

Custom Tool Selection

# Enable specific tools only
npm start -- --enabled-tools "list_resources,get_resource,list_alerts,get_alert"

# Disable search functionality
npm start -- --disable-search

JSON Logging for Production

npm start -- --log-format json --log-level warn

Complete Example

npm start -- \
  --lm-company mycompany \
  --lm-bearer-token "your-token" \
  --transport sse \
  --address 0.0.0.0:8080 \
  --read-only \
  --log-format json \
  --log-level info

Transport Mode Shortcuts

The unified server supports convenient npm scripts for each transport:

# STDIO transport (default, for Claude Desktop)
npm start
npm run start:stdio

# SSE transport (for web/remote clients)
npm run start:sse

# HTTP transport (for advanced integrations)
npm run start:http

Available Tools

The server provides 122 tools for comprehensive LogicMonitor operations. Tools are categorized by functionality and marked as read-only (safe) or write (modifies data).

Resource/Device Management

Read-Only:

  • list_resources - List all monitored resources/devices with filtering (supports simple search via query parameter or advanced filtering via filter parameter)
  • get_resource - Get detailed device information by ID
  • generate_resource_link - Generate direct link to device in LM UI

Write Operations:

  • create_resource - Add new device(s) to monitoring (supports batch)
  • update_resource - Modify existing device(s) (supports batch)
  • delete_resource - Remove device(s) from monitoring (supports batch)

Resource/Device Groups

Read-Only:

  • list_resource_groups - List all device groups/folders
  • get_resource_group - Get device group details by ID

Write Operations:

  • create_resource_group - Create new device group
  • update_resource_group - Modify device group
  • delete_resource_group - Delete device group

Alert Management

Read-Only:

  • list_alerts - List active alerts with filtering (supports simple search via query parameter or advanced filtering via filter parameter)
  • get_alert - Get detailed alert information
  • generate_alert_link - Generate direct link to alert in LM UI
  • list_alert_rules - List alert routing rules
  • get_alert_rule - Get alert rule details

Write Operations:

  • acknowledge_alert - Acknowledge alert (stops escalation)
  • add_alert_note - Add note to alert for documentation
  • create_alert_rule - Create new alert routing rule
  • update_alert_rule - Modify alert rule
  • delete_alert_rule - Delete alert rule

DataSources & Monitoring

Read-Only:

  • list_datasources - List all available datasources
  • get_datasource - Get datasource details
  • list_resource_datasources - List datasources applied to device
  • get_resource_datasource - Get device datasource details
  • list_resource_instances - List datasource instances (disks, interfaces, etc.)
  • get_resource_instance_data - Get time-series metrics data
  • list_eventsources - List all eventsources
  • get_eventsource - Get eventsource details
  • list_configsources - List configuration sources
  • get_configsource - Get configsource details

Write Operations:

  • update_resource_datasource - Modify device datasource configuration

Dashboards & Reporting

Read-Only:

  • list_dashboards - List all dashboards
  • get_dashboard - Get dashboard details
  • generate_dashboard_link - Generate direct link to dashboard in LM UI
  • list_dashboard_groups - List dashboard groups
  • get_dashboard_group - Get dashboard group details
  • list_reports - List all reports
  • get_report - Get report details
  • list_report_groups - List report groups
  • get_report_group - Get report group details

Write Operations:

  • create_dashboard - Create new dashboard
  • update_dashboard - Modify dashboard
  • delete_dashboard - Delete dashboard
  • create_report_group - Create report group
  • update_report_group - Modify report group
  • delete_report_group - Delete report group

Collectors & Infrastructure

Read-Only:

  • list_collectors - List monitoring collectors (agents)
  • get_collector - Get collector details
  • list_collector_groups - List collector groups
  • get_collector_group - Get collector group details
  • list_collector_versions - List available collector versions
  • list_netscans - List network discovery scans
  • get_netscan - Get NetScan details
  • get_topology - Get network topology information

Write Operations:

  • create_netscan - Create NetScan
  • update_netscan - Modify NetScan
  • delete_netscan - Delete netscan

Website Monitoring

Read-Only:

  • list_websites - List website monitors
  • get_website - Get website monitor details
  • generate_website_link - Generate direct link to website in LM UI
  • list_website_groups - List website groups
  • get_website_group - Get website group details
  • list_website_checkpoints - List available monitoring checkpoints

Write Operations:

  • create_website - Create new website monitor
  • update_website - Modify website monitor
  • delete_website - Delete website monitor

Services (Business Logic)

Read-Only:

  • list_services - List business services
  • get_service - Get service details
  • list_service_groups - List service groups
  • get_service_group - Get service group details

Write Operations:

  • create_service - Create new business service
  • update_service - Modify service
  • delete_service - Delete service
  • create_service_group - Create service group
  • update_service_group - Modify service group
  • delete_service_group - Delete service group

Alert Configuration

Read-Only:

  • list_escalation_chains - List alert escalation chains
  • get_escalation_chain - Get escalation chain details
  • list_recipients - List alert recipients
  • get_recipient - Get recipient details
  • list_recipient_groups - List recipient groups
  • get_recipient_group - Get recipient group details

Write Operations:

  • create_escalation_chain - Create escalation chain
  • update_escalation_chain - Modify escalation chain
  • delete_escalation_chain - Delete escalation chain
  • create_recipient - Create alert recipient
  • update_recipient - Modify recipient
  • delete_recipient - Delete recipient
  • create_recipient_group - Create recipient group
  • update_recipient_group - Modify recipient group
  • delete_recipient_group - Delete recipient group

Integrations

Read-Only:

  • list_integrations - List third-party integrations
  • get_integration - Get integration details

Write Operations:

  • create_integration - Create new integration
  • update_integration - Modify integration
  • delete_integration - Delete integration

Administration & Security

Read-Only:

  • list_users - List users/admins
  • get_user - Get user details
  • list_roles - List user roles
  • get_role - Get role details
  • list_access_groups - List access groups
  • get_access_group - Get access group details
  • list_api_tokens - List API tokens for user

Write Operations:

  • create_access_group - Create access group
  • update_access_group - Modify access group
  • delete_access_group - Delete access group

Properties & Configuration

Read-Only:

  • list_resource_properties - List custom properties for device
  • list_resource_group_properties - List properties for device group

Write Operations:

  • update_resource_property - Update device property value
  • update_resource_group_property - Update device group property value

Scheduled Down Time (SDT)

Read-Only:

  • list_sdts - List scheduled down times
  • get_sdt - Get SDT details

Write Operations:

  • create_resource_sdt - Create scheduled down time
  • delete_sdt - Delete scheduled down time

Operational Notes

Read-Only:

  • list_opsnotes - List operational notes
  • get_opsnote - Get opsnote details

Write Operations:

  • create_opsnote - Create operational note
  • update_opsnote - Modify opsnote
  • delete_opsnote - Delete opsnote

Audit & Compliance

Read-Only:

  • list_audit_logs - List audit trail logs (supports simple search via query parameter or advanced filtering via filter parameter)
  • get_audit_log - Get audit log entry details

Summary

  • 70 read-only tools - Safe for production monitoring
  • 52 write tools - Require caution (disabled by default with --read-only)
  • 122 total tools

Security Considerations

Authentication by Transport Mode

Transport Authentication Security Level Use Case
STDIO Not required (local process) ✅ Secure Claude Desktop, local CLI
SSE/HTTP (no auth) None (default: OAUTH_PROVIDER=none) ⚠️ Development only Local testing
SSE/HTTP (bearer) Static token via MCP_BEARER_TOKEN ✅ Secure (with HTTPS) API clients, internal services
SSE/HTTP (OAuth) OAuth/OIDC provider ✅ Secure (with HTTPS) Web applications, enterprise SSO

Read-Only Mode (Recommended)

For production monitoring, enable read-only mode to prevent accidental modifications:

npm start -- --read-only
# or
export MCP_READ_ONLY=true
npm start

This disables all 52 write operations, leaving only 73 safe read-only tools.

Authentication Setup

Development (No Authentication)

# Default configuration - no authentication required
export LM_COMPANY=mycompany
export LM_BEARER_TOKEN=your-lm-token
export MCP_TRANSPORT=sse
export OAUTH_PROVIDER=none  # or omit - this is the default
npm start

⚠️ Warning: Unauthenticated access allows anyone to connect. Use only in trusted environments.

Production - Bearer Token (Simple)

# Generate a strong token
export MCP_BEARER_TOKEN=$(openssl rand -base64 32)
export OAUTH_PROVIDER=none

# Enable TLS
export MCP_TLS_CERT_FILE=/path/to/cert.pem
export MCP_TLS_KEY_FILE=/path/to/key.pem

# Start server
npm start -- --transport sse

Clients must include the token:

curl -H "Authorization: Bearer YOUR_TOKEN" https://localhost:3000/health

Production - OAuth (Enterprise)

# Configure OAuth provider
export OAUTH_PROVIDER=github  # github, google, azure, okta, auth0, custom
export OAUTH_CLIENT_ID=your-client-id
export OAUTH_CLIENT_SECRET=your-client-secret
export OAUTH_SESSION_SECRET=$(openssl rand -hex 32)
export OAUTH_CALLBACK_URL=https://your-domain.com/auth/callback

# Enable TLS
export MCP_TLS_CERT_FILE=/path/to/cert.pem
export MCP_TLS_KEY_FILE=/path/to/key.pem

# Start server
npm start -- --transport sse

Users authenticate via browser at /auth/login.

Production - Combined (Flexible)

# Both OAuth and bearer token enabled
export OAUTH_PROVIDER=github
export OAUTH_CLIENT_ID=your-client-id
export OAUTH_CLIENT_SECRET=your-client-secret
export MCP_BEARER_TOKEN=$(openssl rand -base64 32)

# Users: OAuth login via browser
# APIs: Bearer token in Authorization header

API Token Security

LogicMonitor API Token (LM_BEARER_TOKEN):

  • Never commit to version control
  • Use environment variables or .env files (.env is in .gitignore)
  • Rotate regularly (monthly recommended)
  • Use minimal required permissions in LogicMonitor portal

MCP Server Token (MCP_BEARER_TOKEN):

  • Generate strong tokens (32+ bytes): openssl rand -base64 32
  • Store securely (environment variables, secrets management)
  • Never expose in logs or error messages
  • Rotate regularly
  • Use different tokens for different environments

Network Security

Required for Production SSE/HTTP:

  • HTTPS/TLS: Always use encrypted connections (MCP_TLS_CERT_FILE, MCP_TLS_KEY_FILE)
  • Authentication: Enable bearer token or OAuth (never run unauthenticated in production)
  • Firewall: Restrict access by IP/network
  • Rate Limiting: Built-in automatic rate limiting
  • Monitoring: Use /health endpoint for health checks

Optional (Defense in Depth):

  • Use reverse proxy (nginx, Caddy) for additional security layers
  • Implement WAF (Web Application Firewall)
  • Use VPN or bastion hosts for sensitive environments
  • Enable audit logging (--log-format json --log-level info)

Security Checklist for Production

  • [ ] Read-only mode enabled (MCP_READ_ONLY=true)
  • [ ] HTTPS/TLS configured (MCP_TLS_CERT_FILE, MCP_TLS_KEY_FILE)
  • [ ] Authentication enabled (MCP_BEARER_TOKEN or OAuth configured)
  • [ ] CSRF protection enabled (automatic with OAuth)
  • [ ] LogicMonitor API token rotated recently
  • [ ] .env file not in version control
  • [ ] Firewall rules restrict access to authorized IPs
  • [ ] Health check endpoint monitored (/health)
  • [ ] Logs reviewed regularly
  • [ ] Minimal LogicMonitor API permissions granted

Troubleshooting

"LogicMonitor credentials are required"

Ensure you've set LM_COMPANY and LM_BEARER_TOKEN:

export LM_COMPANY=mycompany
export LM_BEARER_TOKEN=your-token

Or use CLI flags:

npm start -- --lm-company mycompany --lm-bearer-token "your-token"

Rate Limiting

The server automatically handles rate limits with exponential backoff. If you encounter persistent rate limiting:

  1. Reduce concurrent requests
  2. Enable --debug to see rate limit details
  3. Contact LogicMonitor support to increase your rate limits

Connection Issues

# Test with debug logging
npm start -- --debug --log-level debug

# Verify credentials
curl -H "Authorization: Bearer YOUR_TOKEN" \
  https://YOUR_COMPANY.logicmonitor.com/santaba/rest/device/devices?size=1

Tool Not Found

Enable specific tools:

npm start -- --enabled-tools "list_resources,get_resource"

Or check if read-only mode is excluding write operations:

# Show all tools (including write operations)
export MCP_READ_ONLY=false
npm start

Authentication Issues

"401 Unauthorized" when connecting to SSE/HTTP:

  • Check that MCP_BEARER_TOKEN is set and matches the token in your request
  • For OAuth, ensure you've logged in at /auth/login
  • Verify token hasn't expired (OAuth tokens expire, static tokens don't)

"No authentication configured" warning:

  • This is expected when OAUTH_PROVIDER=none and MCP_BEARER_TOKEN is not set
  • For development, this is fine - server allows unauthenticated access
  • For production, configure authentication (see Security Considerations above)

OAuth login not working:

  • Verify OAUTH_PROVIDER, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET are set correctly
  • Check callback URL matches OAuth provider configuration
  • Review server logs for detailed error messages (--debug --log-level debug)

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run npm run lint and npm run build
  5. Submit a pull request

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选