Cortex RMCP for VS Code
ai.dinglebear/cortex
Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.
client:VS Code
transport:stdio
runtime:npm
Install Cortex RMCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cortex-home",
"description": "CORTEX_HOME",
"password": true
},
{
"type": "promptString",
"id": "cortex-token",
"description": "CORTEX_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "cortex-api-token",
"description": "CORTEX_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "cortex-rmcp-version",
"description": "CORTEX_RMCP_VERSION",
"password": true
},
{
"type": "promptString",
"id": "cortex-rmcp-repo",
"description": "CORTEX_RMCP_REPO",
"password": true
},
{
"type": "promptString",
"id": "cortex-rmcp-release-base-url",
"description": "CORTEX_RMCP_RELEASE_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "rust-log",
"description": "RUST_LOG",
"password": true
}
],
"servers": {
"cortex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/cortex"
],
"env": {
"CORTEX_HOME": "${input:cortex-home}",
"CORTEX_TOKEN": "${input:cortex-token}",
"CORTEX_API_TOKEN": "${input:cortex-api-token}",
"CORTEX_RMCP_VERSION": "${input:cortex-rmcp-version}",
"CORTEX_RMCP_REPO": "${input:cortex-rmcp-repo}",
"CORTEX_RMCP_RELEASE_BASE_URL": "${input:cortex-rmcp-release-base-url}",
"RUST_LOG": "${input:rust-log}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs