Skip to content

Install mcp-clip and Configure Claude or VSCode

mcp-clip requires Go 1.24+ if you build from source, or Node.js 14+ for the npm distribution, which ships a prebuilt binary for darwin, linux, and win32 on x64/arm64.

Terminal window
npm install -g @standardbeagle/mcp-clip

Add to your claude_desktop_config.json:

{
"mcpServers": {
"clipboard": {
"command": "mcp-clip",
"args": []
}
}
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add to your VSCode settings or workspace .vscode/settings.json:

{
"claude-dev.mcpServers": {
"clipboard": {
"command": "mcp-clip",
"args": []
}
}
}
Terminal window
mcp-clip test
  • MCP_DEBUG=1 — enable detailed debug logging (clipboard monitoring status, temp file creation/cleanup, WSL2 PowerShell integration, rare race-condition fallbacks)
  • MCP_CLEANUP_TTL=2h — temp file cleanup TTL (default: 1h)
Terminal window
MCP_DEBUG=1 mcp-clip
  • Tool reference — the read_clipboard tool and its parameters
  • WSL2 setup — the PowerShell bridge and its troubleshooting steps