Overview
MCP Screenshot Server is a server implementation that allows users to capture screenshots of web pages and local HTML files using Puppeteer.
To use the MCP Screenshot Server, install the project using npm, and utilize the take_screenshot tool by providing the necessary options such as URL, viewport dimensions, and output path.
- Capture screenshots of any web page or local HTML file - Configurable viewport dimensions - Full page screenshot support - Custom output path option - Automatic screenshot directory management
- Capturing website previews for documentation.
- Automating screenshot generation for testing web applications.
- Creating visual content for presentations or reports.
Add to your AI client
Use these steps to connect MCP Screenshot Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-screenshot-server-sethbang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-screenshot-server-sethbang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-screenshot-server-sethbang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-screenshot-server-sethbang": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-screenshot-server-sethbang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-screenshot-server-sethbang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-screenshot-server-sethbang"
]
}
}
}FAQ
Can I capture screenshots of local HTML files?
Yes! The server supports capturing screenshots from both web pages and local HTML files.
Is there a limit to the viewport dimensions?
Yes, the viewport width can be between 1-3840 pixels and height between 1-2160 pixels.
What license is MCP Screenshot Server under?
MCP Screenshot Server is licensed under the MIT License.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1195,"uuid":"fde381f1-d275-4957-a520-b0b997763352","name":"mcp-screenshot-server","title":"MCP Screenshot Server","description":"A MCP server for capturing screenshots","avatar_url":"https://avatars.githubusercontent.com/u/95317728?v=4","created_at":"2025-01-28T02:37:48.382Z","updated_at":"2025-02-23T07:20:27.868Z","status":"created","author_name":"sethbang","author_avatar_url":"https://avatars.githubusercontent.com/u/95317728?v=4","tags":"mcp-screenshot-server,screenshot-capture,puppeteer","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/sethbang/mcp-screenshot-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]