drio
Open app

MCP Sumo Logic

Source

MCP server for Sumologic

Catalog onlyCatalog onlySTDIO

Overview

MCP Sumo Logic is a Model Context Protocol (MCP) server that integrates with Sumo Logic's API to perform log searches.

To use MCP Sumo Logic, clone the repository, install dependencies, set up environment variables, build the project, and start the server. You can also run it using Docker.

  • Search Sumo Logic logs using custom queries - Configurable time ranges for searches - Error handling and detailed logging - Docker support for easy deployment
  1. Performing log analysis for applications
  2. Monitoring application performance through log data
  3. Debugging issues by searching through logs

Add to your AI client

Use these steps to connect MCP Sumo Logic in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-sumologic-samwang0723": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-sumologic-samwang0723": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-sumologic-samwang0723": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-sumologic-samwang0723": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-sumologic-samwang0723": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-sumologic-samwang0723": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-sumologic-samwang0723"
      ]
    }
  }
}

FAQ

What is required to run MCP Sumo Logic?

You need to set up environment variables for the Sumo Logic API endpoint, API ID, and API key.

Can I run MCP Sumo Logic in a Docker container?

Yes! MCP Sumo Logic supports Docker for easy deployment.

How do I handle errors in MCP Sumo Logic?

The server includes comprehensive error handling and logging for API errors and search job status.