Cortex RMCP for Grok
ai.dinglebear/cortex
Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.
client:Grok
transport:stdio
runtime:npm
Install Cortex RMCP in Grok
.mcp.json (in your project root)
{
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs