mcp screenshot for VS Code
io.github.kamarusama/mcp-screenshot
Take Wayland screenshots via grim/slurp. Full screen, region, or interactive crop.
client:VS Code
transport:stdio
runtime:pypi
Install mcp screenshot in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "wayland-display",
"description": "WAYLAND_DISPLAY",
"password": true
},
{
"type": "promptString",
"id": "xdg-runtime-dir",
"description": "XDG_RUNTIME_DIR",
"password": true
}
],
"servers": {
"mcp-screenshot": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "${input:wayland-display}",
"XDG_RUNTIME_DIR": "${input:xdg-runtime-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs