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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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-jrapakko-scree": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"OPENROUTER_API_KEY=<YOUR_VALUE>",
"-e",
"SCREE_DB=<YOUR_VALUE>",
"-e",
"SCREE_ZDR=<YOUR_VALUE>",
"-e",
"SCREE_IMAGE=<YOUR_VALUE>",
"-e",
"SCREE_MODEL=<YOUR_VALUE>",
"-e",
"SCREE_PAGER=<YOUR_VALUE>",
"-e",
"SCREE_COLORS=<YOUR_VALUE>",
"-e",
"SCREE_DOCKER=<YOUR_VALUE>",
"-e",
"SCREE_EMBED_URL=<YOUR_VALUE>",
"-e",
"SCREE_DIMENSIONS=<YOUR_VALUE>",
"-e",
"SCREE_HTTP_TOKEN=<YOUR_VALUE>",
"-e",
"SCREE_MOUNT_OPTS=<YOUR_VALUE>",
"-e",
"SCREE_DATA_VOLUME=<YOUR_VALUE>",
"-e",
"SCREE_FIRST_SYNC_MB=<YOUR_VALUE>",
"-e",
"SCREE_MAX_FILE_BYTES=<YOUR_VALUE>",
"ghcr.io/jrapakko/scree:0.4.1"
]
}
}
}
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 |
|---|---|---|
| OPENROUTER_API_KEY secret | Yes | OpenRouter API key. When unset and the settings file holds one, commands run as `scree run` would. Without a key, notes are indexed for keyword search only and `auto` search runs `keyword`. |
| SCREE_DB | No | Path to the SQLite index file. Defaults to `$XDG_DATA_HOME/scree/indexes/<folder>-<hash>/index.db`, one per folder (or `-db`). |
| SCREE_ZDR | No | Set `0` for endpoints other than OpenRouter. When `1`, embedding requests are routed only to zero-data-retention endpoints. Default: 1 |
| SCREE_IMAGE | No | Container image used by `scree mcp -docker`. Default: scree:latest |
| SCREE_MODEL | No | Embedding model used for indexing. Changing the model requires `scree reindex -all`. Default: openai/text-embedding-3-small |
| SCREE_PAGER | No | The pager for `scree search`'s text view on a terminal: an absolute path or a name in `/usr/local/bin`, `/usr/bin` or `/bin` (never looked up on `PATH`), then its arguments. Set it empty for none. Default: less -FRX |
| SCREE_COLORS | No | The text view's colours as SGR codes (digits and `;` only) for word headings, matched words, locations and line numbers. `match=` turns one off. Default: word=1:match=1;33:link=36:lineno=2 |
| SCREE_DOCKER | No | Container engine for `scree mcp -docker` (`docker` or `podman` only, found in standard folders, never through `PATH`). |
| SCREE_EMBED_URL | No | URL of the embedding API endpoint. Default: https://openrouter.ai/api/v1/embeddings |
| SCREE_DIMENSIONS | No | Embedding vector dimensions; `0` uses the model's default size. Changing this requires `scree reindex -all`. Default: 512 |
| SCREE_HTTP_TOKEN | No | Required with `serve -allow-remote` (at least 16 characters); enforced on loopback if set. Requests must send `Authorization: Bearer <token>`. |
| SCREE_MOUNT_OPTS | No | Mount options used by `scree mcp -docker`; accepts only `ro`, `ro,z` or `ro,Z`. On SELinux hosts set it to `ro,z`. Default: ro |
| SCREE_DATA_VOLUME | No | Volume name (not a path) used by `scree mcp -docker` for the indexes. |
| SCREE_FIRST_SYNC_MB | No | A Claude Code session or `watch` won't start the first index of a folder with more markdown than this many MB (`0` = no limit); `scree reindex` always does. Default: 50 |
| SCREE_MAX_FILE_BYTES | No | Files larger than this many bytes are skipped. Default: 1048576 |