Cortex RMCP MCP Server
by dinglebear-aiai.dinglebear/cortexv3.13.2
Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Cortex RMCP MCP server
Install in Claude Code
claude mcp add cortex-dinglebear-ai -e CORTEX_TOKEN='<cortex-token>' -e CORTEX_API_TOKEN='<cortex-api-token>' -- npx -y @dinglebear/cortex mcpInstall in Cursor
{
"mcpServers": {
"cortex-dinglebear-ai": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<cortex-token>",
"CORTEX_API_TOKEN": "<cortex-api-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cortex-dinglebear-ai": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<cortex-token>",
"CORTEX_API_TOKEN": "<cortex-api-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cortex-dinglebear-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<cortex-token>",
"CORTEX_API_TOKEN": "<cortex-api-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cortex-dinglebear-ai": {
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex",
"mcp"
],
"env": {
"CORTEX_TOKEN": "<cortex-token>",
"CORTEX_API_TOKEN": "<cortex-api-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CORTEX_HOME | — | — | Optional Cortex home directory containing configuration and local SQLite data. |
| CORTEX_TOKEN | — | yes | Optional bearer token for Cortex MCP HTTP mode; also used by some shared configs. |
| CORTEX_API_TOKEN | — | yes | 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. |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-01 · 9d ago · GitHub
Latest release
2026-10-01 · 9d ago · GitHub · v3.18.1
Package published
no data · npm/PyPI
Registry entry updated
2026-08-10 · 2mo ago · official registry · v3.13.2
FAQ
›How do I install the Cortex RMCP MCP server in Claude Code?
Run: claude mcp add cortex-dinglebear-ai -e CORTEX_TOKEN='<cortex-token>' -e CORTEX_API_TOKEN='<cortex-api-token>' -- npx -y @dinglebear/cortex mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Cortex RMCP require an API key?
Yes. It expects CORTEX_TOKEN, CORTEX_API_TOKEN, of which 2 are secrets.
›Can I use Cortex RMCP as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Cortex RMCP in the official MCP registry?
Yes, as ai.dinglebear/cortex.
Alternatives to Cortex RMCP
Other database MCP servers.