Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-synpulse8-opensource-pulse8-ai-cortex-knowledge-vault": {
"command": "uvx",
"args": [
"pulse8-ai-cortex-knowledge-vault"
],
"env": {
"CORTEX_VAULT_PATH": "<VALUE>",
"CORTEX_LLM_API_KEY": "<YOUR_VALUE>",
"API_KEY": "<VALUE>",
"QMD_URL": "<VALUE>",
"VAULT_DIR": "./example_vault",
"INGEST_DIR": "./ingest",
"AUTH_METHOD": "none",
"LLM_API_KEY": "<VALUE>",
"LLM_BACKEND": "openai-compatible",
"LLM_BASE_URL": "https://openrouter.ai/api/v1",
"OIDC_BASE_URL": "http://localhost:8420",
"COMPILER_MODEL": "anthropic/claude-sonnet-4",
"OIDC_CLIENT_ID": "<VALUE>",
"OIDC_TENANT_ID": "<VALUE>",
"QMD_SEARCH_MODE": "hybrid",
"TEAMS_WEBHOOK_URL": "<VALUE>",
"OIDC_CLIENT_SECRET": "<VALUE>",
"TEAMS_APP_BASE_URL": "<VALUE>",
"QMD_EMBED_TIMEOUT_MS": "600000",
"QMD_CACHE_TTL_SECONDS": "30",
"CORTEX_RESOURCE_MAX_ITEMS": "1000",
"QMD_SEARCH_TIMEOUT_SECONDS": "120",
"CORTEX_RESOURCE_TTL_SECONDS": "3600",
"QMD_REFRESH_INTERVAL_SECONDS": "900"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| CORTEX_VAULT_PATH | Yes | Absolute path to the Markdown vault directory the server reads and writes. |
| CORTEX_LLM_API_KEY secret | No | Optional OpenRouter (or compatible) API key. Only needed for LLM cross-referencing during compile; file conversion and search work without it. |
| API_KEY | No | Static API key for x-api-key header (used when AUTH_METHOD=apikey) |
| QMD_URL | No | External QMD URL for cortex-only mode |
| VAULT_DIR | No | Path to your vault directory Default: ./example_vault |
| INGEST_DIR | No | Path to bulk-ingest source directory (mounted as /ingest in Docker) Default: ./ingest |
| AUTH_METHOD | No | Authentication method: none, apikey, or oidc Default: none |
| LLM_API_KEY | No | OpenRouter (or compatible) API key (for cross-referencing only) |
| LLM_BACKEND | No | LLM backend: openai-compatible, bedrock (AWS credential chain), or none (zero LLM calls) Default: openai-compatible |
| LLM_BASE_URL | No | LLM API base URL Default: https://openrouter.ai/api/v1 |
| OIDC_BASE_URL | No | Public base URL of the Cortex server (used for OAuth callbacks) Default: http://localhost:8420 |
| COMPILER_MODEL | No | Model for cross-reference detection Default: anthropic/claude-sonnet-4 |
| OIDC_CLIENT_ID | No | Microsoft Entra ID app (client) ID |
| OIDC_TENANT_ID | No | Microsoft Entra ID tenant ID (used when AUTH_METHOD=oidc) |
| QMD_SEARCH_MODE | No | Default search mode: hybrid, semantic, or keyword Default: hybrid |
| TEAMS_WEBHOOK_URL | No | Incoming webhook / Power Automate URL |
| OIDC_CLIENT_SECRET | No | Microsoft Entra ID client secret |
| TEAMS_APP_BASE_URL | No | Optional public Cortex base URL for a View in Cortex link |
| QMD_EMBED_TIMEOUT_MS | No | Embed timeout in ms Default: 600000 |
| QMD_CACHE_TTL_SECONDS | No | TTL for the search-result cache Default: 30 |
| CORTEX_RESOURCE_MAX_ITEMS | No | LRU cap before oldest entry is dropped Default: 1000 |
| QMD_SEARCH_TIMEOUT_SECONDS | No | Per-request search timeout Default: 120 |
| CORTEX_RESOURCE_TTL_SECONDS | No | Max age before a stored resource is evicted Default: 3600 |
| QMD_REFRESH_INTERVAL_SECONDS | No | Periodic re-index interval (seconds; 0 to disable) Default: 900 |