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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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-abhinav162-poltertab": {
"command": "npx",
"args": [
"-y",
"poltertab"
],
"env": {
"POLTERTAB_HOME": "~/.poltertab",
"MCP_BROWSER_WS_PORT": "7822",
"POLTERTAB_QUEUE_DEPTH": "3",
"POLTERTAB_MAX_CONCURRENCY": "6",
"POLTERTAB_MAX_SECONDARIES": "50",
"POLTERTAB_NO_UPDATE_CHECK": "false",
"POLTERTAB_IDLE_EVICTION_MS": "300000",
"POLTERTAB_QUEUE_TIMEOUT_MS": "60000",
"POLTERTAB_COMMAND_TIMEOUT_MS": "35000"
}
}
}
}
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 |
|---|---|---|
| POLTERTAB_HOME | No | Moves the whole PolterTab data tree (navigation_memory/, downloads/, config.json, update-check.json) to a different directory for a global npm install. Default: ~/.poltertab |
| MCP_BROWSER_WS_PORT | No | WebSocket port the server listens on and the extension connects to. Only needed when something that isn't PolterTab already holds port 7822 (e.g. `MCP_BROWSER_WS_PORT=7824 node index.js`, or the equivalent `--port 7824` CLI arg). Must match the port configured in the Chrome extension settings. Default: 7822 |
| POLTERTAB_QUEUE_DEPTH | No | Per-secondary queue depth before a command is refused with `[queue_full action=X]`. Default: 3 |
| POLTERTAB_MAX_CONCURRENCY | No | Maximum number of commands the primary sends to the extension at once. Default: 6 |
| POLTERTAB_MAX_SECONDARIES | No | Maximum number of v2 secondary MCP servers accepted by the primary server sharing one browser. Default: 50 |
| POLTERTAB_NO_UPDATE_CHECK | No | Set to 1 to turn off the daily npm version check (and the one-time Chrome Web Store version lookup done by `poltertab setup`). Skew detection between server and extension is local and keeps working either way. Default: false |
| POLTERTAB_IDLE_EVICTION_MS | No | Idle time in milliseconds before a v2 secondary is evicted with close code 4001 to free the slot (default 5 minutes). Default: 300000 |
| POLTERTAB_QUEUE_TIMEOUT_MS | No | GC backstop in milliseconds for stuck queued commands. Does not extend queue wait time. Default: 60000 |
| POLTERTAB_COMMAND_TIMEOUT_MS | No | Per-command budget in milliseconds. Must exceed the extension's 30s navigation wait + 500ms settle; tune for tests only. Default: 35000 |