MCP Server Studio

Cortex MCP server

Syslog receiver and MCP server for homelab log intelligence.

Registry name: tv.tootie/cortex

Publisher
tootie.tv
Runs
Local or hosted
Package
Docker
Version
3.9.0
Category
Other
Updated
2026-07-11

Source code on GitHub

Set up Cortex (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cortex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CORTEX_RECEIVER_HOST",
        "-e",
        "CORTEX_TOKEN",
        "-e",
        "CORTEX_RECEIVER_PORT",
        "ghcr.io/jmagar/cortex:v3.9.0"
      ],
      "env": {
        "CORTEX_RECEIVER_HOST": "<CORTEX_RECEIVER_HOST>",
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_RECEIVER_PORT": "<CORTEX_RECEIVER_PORT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add cortex -e CORTEX_RECEIVER_HOST='<CORTEX_RECEIVER_HOST>' -e CORTEX_TOKEN='<CORTEX_TOKEN>' -e CORTEX_RECEIVER_PORT='<CORTEX_RECEIVER_PORT>' -- docker run -i --rm -e CORTEX_RECEIVER_HOST -e CORTEX_TOKEN -e CORTEX_RECEIVER_PORT ghcr.io/jmagar/cortex:v3.9.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "cortex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CORTEX_RECEIVER_HOST",
        "-e",
        "CORTEX_TOKEN",
        "-e",
        "CORTEX_RECEIVER_PORT",
        "ghcr.io/jmagar/cortex:v3.9.0"
      ],
      "env": {
        "CORTEX_RECEIVER_HOST": "<CORTEX_RECEIVER_HOST>",
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_RECEIVER_PORT": "<CORTEX_RECEIVER_PORT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "cortex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CORTEX_RECEIVER_HOST",
        "-e",
        "CORTEX_TOKEN",
        "-e",
        "CORTEX_RECEIVER_PORT",
        "ghcr.io/jmagar/cortex:v3.9.0"
      ],
      "env": {
        "CORTEX_RECEIVER_HOST": "<CORTEX_RECEIVER_HOST>",
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_RECEIVER_PORT": "<CORTEX_RECEIVER_PORT>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "cortex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CORTEX_RECEIVER_HOST",
        "-e",
        "CORTEX_TOKEN",
        "-e",
        "CORTEX_RECEIVER_PORT",
        "ghcr.io/jmagar/cortex:v3.9.0"
      ],
      "env": {
        "CORTEX_RECEIVER_HOST": "<CORTEX_RECEIVER_HOST>",
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_RECEIVER_PORT": "<CORTEX_RECEIVER_PORT>"
      }
    }
  }
}

Set up Cortex (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://cortex.tootie.tv/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http cortex https://cortex.tootie.tv/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "cortex": {
      "url": "https://cortex.tootie.tv/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "cortex": {
      "type": "http",
      "url": "https://cortex.tootie.tv/mcp"
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "cortex": {
      "serverUrl": "https://cortex.tootie.tv/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
CORTEX_RECEIVER_HOSTYesHostname or IP of the syslog listener.
CORTEX_TOKENNoBearer token for MCP endpoint authentication.
CORTEX_RECEIVER_PORTNoSyslog listener port (UDP + TCP). Default: 1514.

More other MCP servers