Rust MCP/HTTP log aggregation platform for homelab syslog, Docker logs, OTLP ingest, SQLite/FTS search, and AI transcript correlation.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add cortex-rmcp --env CORTEX_TOKEN='<CORTEX_TOKEN>' --env CORTEX_API_TOKEN='<CORTEX_API_TOKEN>' -- npx -y @dinglebear/cortex mcp~/.codex/config.toml
[mcp_servers.cortex-rmcp]
command = "npx"
args = ["-y", "@dinglebear/cortex", "mcp"]
env = { CORTEX_TOKEN = "<CORTEX_TOKEN>", CORTEX_API_TOKEN = "<CORTEX_API_TOKEN>" }
# codex mcp add cortex-rmcp --env CORTEX_TOKEN='<CORTEX_TOKEN>' --env CORTEX_API_TOKEN='<CORTEX_API_TOKEN>' -- npx -y @dinglebear/cortex mcp~/.cursor/mcp.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"cortex-rmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http cortex-rmcp https://cortex.tootie.tv/mcp~/.codex/config.toml
[mcp_servers.cortex-rmcp]
url = "https://cortex.tootie.tv/mcp"
# codex mcp add cortex-rmcp --url https://cortex.tootie.tv/mcp~/.cursor/mcp.json
{
"mcpServers": {
"cortex-rmcp": {
"url": "https://cortex.tootie.tv/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"cortex-rmcp": {
"type": "http",
"url": "https://cortex.tootie.tv/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cortex-rmcp": {
"httpUrl": "https://cortex.tootie.tv/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://cortex.tootie.tv/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cortex-rmcp": {
"url": "https://cortex.tootie.tv/mcp"
}
}
}Environment variables
CORTEX_TOKENCORTEX_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.