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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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-evilander-audrey": {
"command": "npx",
"args": [
"-y",
"audrey"
],
"env": {
"AUDREY_DATA_DIR": "~/.audrey/data",
"AUDREY_AGENT": "local-agent",
"AUDREY_EMBEDDING_PROVIDER": "local",
"AUDREY_LLM_PROVIDER": "auto",
"AUDREY_ENABLE_ADMIN_TOOLS": "0",
"AUDREY_HOST": "127.0.0.1",
"AUDREY_PORT": "7437",
"AUDREY_DEBUG": "0",
"AUDREY_DEVICE": "gpu",
"AUDREY_API_KEY": "<VALUE>",
"AUDREY_PROFILE": "0",
"AUDREY_ONNX_VERBOSE": "0",
"AUDREY_ALLOW_NO_AUTH": "0",
"AUDREY_PROMOTE_ROOTS": "<VALUE>",
"AUDREY_DISABLE_WARMUP": "0",
"AUDREY_PRAGMA_DEFAULTS": "1",
"AUDREY_CONTEXT_BUDGET_CHARS": "4000"
}
}
}
}
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 |
|---|---|---|
| AUDREY_DATA_DIR | No | SQLite memory store path. Use one per tenant or agent identity for isolation. Default: ~/.audrey/data |
| AUDREY_AGENT | No | Logical agent identity stamped on writes. Default: local-agent |
| AUDREY_EMBEDDING_PROVIDER | No | local, gemini, openai, or mock. Cloud providers require explicit opt-in. Default: local |
| AUDREY_LLM_PROVIDER | No | anthropic, openai, or mock. Default: auto |
| AUDREY_ENABLE_ADMIN_TOOLS | No | Set to 1 to enable export, import, and forget routes/tools. Disabled by default. Default: 0 |
| AUDREY_HOST | No | REST sidecar bind address. Set to 0.0.0.0 only with AUDREY_API_KEY. Default: 127.0.0.1 |
| AUDREY_PORT | No | REST sidecar port. Default: 7437 |
| AUDREY_DEBUG | No | Set to 1 to print MCP info logs (server started, warmup completed). Errors always log. Default: 0 |
| AUDREY_DEVICE | No | Local embedding device (gpu or cpu). Falls back to CPU if GPU init fails. Default: gpu |
| AUDREY_API_KEY | No | Bearer token required for non-loopback REST traffic. |
| AUDREY_PROFILE | No | Set to 1 to emit per-stage timings via MCP _meta.diagnostics. Default: 0 |
| AUDREY_ONNX_VERBOSE | No | Set to 1 to restore ONNX runtime EP-assignment warnings (suppressed by default). Default: 0 |
| AUDREY_ALLOW_NO_AUTH | No | Set to 1 to allow non-loopback bind without an API key. Don't. Default: 0 |
| AUDREY_PROMOTE_ROOTS | No | Colon/semicolon-separated extra roots for audrey promote --yes writes. |
| AUDREY_DISABLE_WARMUP | No | Set to 1 to skip background embedding warmup at MCP boot. Default: 0 |
| AUDREY_PRAGMA_DEFAULTS | No | Set to 0 to revert SQLite PRAGMA tuning to better-sqlite3 defaults. Default: 1 |
| AUDREY_CONTEXT_BUDGET_CHARS | No | Default Memory Capsule character budget. Default: 4000 |