Rust MCP server for homelab logs, syslog, Docker logs, FTS search, and AI transcript correlation.
registry version 3.9.1
npm
npx -y cortex-rmcpnpm
npx -y cortex-rmcp@3.9.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp@3.9.1"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env CORTEX_TOKEN=<YOUR_CORTEX_TOKEN> --env CORTEX_API_TOKEN=<YOUR_CORTEX_API_TOKEN> cortex-rmcp -- npx -y cortex-rmcp
claude mcp add --env CORTEX_TOKEN=<YOUR_CORTEX_TOKEN> --env CORTEX_API_TOKEN=<YOUR_CORTEX_API_TOKEN> cortex-rmcp -- npx -y cortex-rmcp@3.9.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp@3.9.1"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}{
"servers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp@3.9.1"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"cortex-rmcp": {
"command": "npx",
"args": [
"-y",
"cortex-rmcp@3.9.1"
],
"env": {
"CORTEX_TOKEN": "<YOUR_CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<YOUR_CORTEX_API_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
CORTEX_HOME — Optional Cortex home directory containing configuration and local SQLite data.CORTEX_TOKEN secret — Optional bearer token for Cortex MCP HTTP mode; also used by some shared configs.CORTEX_API_TOKEN secret — Bearer token for Cortex REST API routes when running daemon/API mode.CORTEX_RMCP_VERSION — Optional GitHub release tag override for the downloaded Cortex binary.CORTEX_RMCP_REPO — Optional GitHub owner/repo override for release asset downloads.CORTEX_RMCP_RELEASE_BASE_URL — Optional release download base URL override.RUST_LOG — Tracing filter for Cortex logs.⭐ 3 stars · 最近更新于 25 天前 · AGPL-3.0 license
Cortex Self hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS. It collects logs and operational evidence, stores them in SQLite with FTS5 search, and exposes one shared intelligence layer through CLI, REST, MCP, and a bundled browser workspace. Cortex began as a syslog receiver…
Summary from the project README — github.com/jmagar/cortex
Distributed as npm, listed under Monitoring. Review our MCP security guide before granting access to real data.
Cortex Self hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS. It collects logs and operational evidence, stores them in SQLite with FTS5 search, and exposes one shared intelligence layer through CLI, REST, MCP, and a bundled browser workspace. Cortex began as a syslog receiver
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/jmagar/cortex. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/cortex-rmcp/)
HTML
<a href="https://mcpnav.net/server/cortex-rmcp/"><img src="https://mcpnav.net/badge/cortex-rmcp.svg" alt="Listed on MCPNav" height="20"></a>