Cortex RMCP for Cursor
ai.dinglebear/cortex
Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.
client:Cursor
transport:stdio
runtime:npm
Install Cortex RMCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"cortex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex"
],
"env": {
"CORTEX_HOME": "<CORTEX_HOME>",
"CORTEX_TOKEN": "<CORTEX_TOKEN>",
"CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>",
"CORTEX_RMCP_VERSION": "<CORTEX_RMCP_VERSION>",
"CORTEX_RMCP_REPO": "<CORTEX_RMCP_REPO>",
"CORTEX_RMCP_RELEASE_BASE_URL": "<CORTEX_RMCP_RELEASE_BASE_URL>",
"RUST_LOG": "<RUST_LOG>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs