mcpdirectory.dev
9,129 servers · updated 23 Sept

Cortex R MCP server

community Active last commit 12 d
{
  "mcpServers": {
    "dinglebear-cortex-r": {
      "command": "npx",
      "args": [
        "-y",
        "cortex-rmcp@latest"
      ],
      "env": {
        "CORTEX_TOKEN": "<cortex_token>",
        "CORTEX_API_TOKEN": "<cortex_api_token>",
        "CORTEX_API_ADMIN_TOKEN": "<cortex_api_admin_token>",
        "CORTEX_URL": "https://...",
        "CORTEX_DB_PATH": "/path/to/directory",
        "CORTEX_PUBLIC_URL": "https://..."
      }
    }
  }
}
file .mcp.json (in your project root)install npx -y cortex-rmcpversion 3.9.1

What it does

Cortex is a Rust-based MCP server that collects and indexes logs from syslog, Docker, and other sources into a local SQLite database with full-text search. It provides investigation tools for searching, correlating, and analyzing logs across a homelab or small fleet, along with fleet inventory and AI session tracking.

  • Search and retrieve logs from multiple sources (syslog, Docker, files) using full-text search and filters.
  • Build timelines and correlate events across different log sources to investigate incidents.
  • Track host inventory, service topology, and container relationships to understand fleet state.

Tools this server exposes

ToolDoes
tailRetrieve recent log entries with configurable limits.
errorsQuery and filter error logs across sources.
searchFull-text search across indexed log content.
timelineBuild a chronological view of events from multiple sources.
contextRetrieve contextual information around a log event or time range.

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.