Skip to content

Editors and agents ​

npx -y @sylphx/lockdocs setup writes these for you. To do it by hand:

ClientConfigEntry
Claude Codeclaude mcp add --scope user lockdocs -- npx -y @sylphx/lockdocs mcp
Codex~/.codex/config.toml[mcp_servers.lockdocs] command = "npx", args = ["-y", "@sylphx/lockdocs", "mcp"]
Cursor~/.cursor/mcp.jsonmcpServers.lockdocs
VS Code<config>/Code/User/mcp.jsonservers.lockdocs with "type": "stdio"
Claude Desktop<config>/Claude/claude_desktop_config.jsonmcpServers.lockdocs
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServers.lockdocs
Gemini CLI~/.gemini/settings.jsonmcpServers.lockdocs

<config> is ~/.config on Linux, ~/Library/Application Support on macOS and %APPDATA% on Windows. On Windows the command is cmd /c npx -y @sylphx/lockdocs mcp.

Environment ​

VariableEffect
LOCKDOCS_ROOTProject directory when the client sends no roots
LOCKDOCS_FETCH=1Allow fetching exact versions that are not installed
LOCKDOCS_CACHECache directory (default: the OS cache dir + /lockdocs)
LOCKDOCS_NO_SYSTEM_PYTHON=1Do not ask the system interpreter for its site-packages

MIT licensed · local, offline, no API key