Skip to content
VS Code

clipboard mcp server for VS Code

io.github.cyanheads/clipboard-mcp-server

Read, write, and inspect the system clipboard on macOS, Linux (X11/Wayland), and Windows via MCP.

client:VS Code transport:stdio runtime:npm

Install clipboard mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "clipboard-read-only",
      "description": "CLIPBOARD_READ_ONLY",
      "password": true
    }
  ],
  "servers": {
    "clipboard-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/clipboard-mcp-server"
      ],
      "env": {
        "MCP_LOG_LEVEL": "${input:mcp-log-level}",
        "CLIPBOARD_READ_ONLY": "${input:clipboard-read-only}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

clipboard mcp server in other clients