Skip to content
Cursor

Loki MCP Server for Cursor

io.github.igorolv/loki-mcp-server

Read-only Grafana Loki for AI agents: label discovery, bounded LogQL queries, counts, exports

client:Cursor transport:stdio runtime:oci

Install Loki MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "loki-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/igorolv/loki-mcp-server:0.1.0"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Loki MCP Server in other clients