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-sky-walkerx-lockin": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://lockin.namankhandelwal.dev/api/mcp"
]
}
}
}
Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.
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-sky-walkerx-lockin": {
"url": "https://lockin.namankhandelwal.dev/api/mcp"
}
}
}
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-sky-walkerx-lockin": {
"type": "http",
"url": "https://lockin.namankhandelwal.dev/api/mcp"
}
}
}
The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-sky-walkerx-lockin": {
"type": "http",
"url": "https://lockin.namankhandelwal.dev/api/mcp"
}
}
}
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-sky-walkerx-lockin": {
"serverUrl": "https://lockin.namankhandelwal.dev/api/mcp"
}
}
}
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-sky-walkerx-lockin": {
"type": "streamableHttp",
"url": "https://lockin.namankhandelwal.dev/api/mcp"
}
}
}
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 |
|---|---|---|
| SIGNUP | No | `open` (the default) lets anyone who can reach the address make an account. `closed` stops new accounts once the first one exists. Default: open |
| SMTP_FROM | No | Optional. From address for outgoing email. |
| SMTP_HOST | No | Optional. Outgoing email host. With it set, LockIn sends account confirmation and password reset emails. |
| SMTP_PORT | No | Optional. Outgoing email port. |
| SMTP_USER | No | Optional. Outgoing email username. |
| DIRECT_URL | No | Postgres connection string used for migrations. For Supabase use the session pooler (:5432, no pgbouncer params). Must not be a copy of DATABASE_URL on Supabase. |
| INGEST_URL | No | Optional. URL of the ingest service for PDF and web-page text extraction plus server-side embeddings, e.g. http://ingest:8080. |
| PUBLIC_URL | No | The address people open LockIn at. For HTTPS deployments set it to your domain, e.g. https://notes.example.com (no trailing slash). Used to build the links in confirmation and password reset emails. Default: http://localhost:3000 |
| AUTH_SECRET | Yes | Required. Signs sessions and upload links. Generate one with `openssl rand -base64 32`. Keep it with your backups: a restored copy with a different secret signs everyone out. |
| LOCKIN_BIND | No | Which of the machine's addresses that port listens on. Default 127.0.0.1 (the machine itself, i.e. you or a proxy running on it). Set to 0.0.0.0 to reach LockIn from other machines without a proxy (also set TRUSTED_PROXY_HOPS=0), though traffic is then unencrypted. Default: 127.0.0.1 |
| LOCKIN_PORT | No | Host port LockIn listens on. Default: 3000 |
| RATE_LIMITS | No | `off` drops the built-in rate limits. Default `on`. Default: on |
| DATABASE_URL | No | Postgres connection string, runtime. For Supabase use the transaction pooler (:6543, pgbouncer=true). |
| NEXTAUTH_URL | No | The app's base URL, e.g. http://localhost:3000. |
| INGEST_SECRET | No | Optional. Any long random string, required together with INGEST_URL to enable text extraction and server-side embeddings. |
| OPERATOR_NAME | No | Optional. Your name, shown on the privacy and terms pages. |
| SMTP_PASSWORD | No | Optional. Outgoing email password. |
| OPERATOR_EMAIL | No | Optional. When set, /privacy and /terms pages appear, linked from the landing and sign-up pages, naming you as the one to write to. |
| NEXTAUTH_SECRET | No | Secret used by NextAuth. |
| GOOGLE_CLIENT_ID | No | Optional. "Continue with Google" appears only when both GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set. |
| OPERATOR_HOSTING | No | Optional. A sentence of your own, shown on the privacy page, on where the data is kept and how long backups are. |
| STORAGE_QUOTA_MB | No | Megabytes of images and PDFs each account may store. `0` for no ceiling. Default: 1024 |
| POSTGRES_PASSWORD | No | Password for the bundled Postgres database. |
| TRUSTED_PROXY_HOPS | No | How many reverse proxies stand in front of LockIn. Default `1`; `0` when visitors reach the port directly. With a CDN in front of the proxy as well, set it to `2`. Default: 1 |
| GOOGLE_CLIENT_SECRET | No | Optional. "Continue with Google" appears only when both GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set. |