Installation
Configure ScreenshotsMCP for Cursor, Windsurf, Claude Desktop, VS Code, and any MCP-compatible client.
CLI Install (Fastest)
The quickest way to set up ScreenshotsMCP is with the CLI. Run these two commands in your terminal:
npx screenshotsmcp login
npx screenshotsmcp install cursor # or: vscode, windsurf, claude, claude-codeThis will:
- Open your browser to authenticate via OAuth
- Auto-configure the MCP server in your chosen client
You can also install it globally for ongoing use:
npm install -g screenshotsmcp
screenshotsmcp --helpVS Code Extension Preview
A native ScreenshotsMCP VS Code extension is now being developed in the monorepo for a dedicated Activity Bar sidebar, automatic browser OAuth sign-in, API key fallback, command palette actions, output logs, a live activity timeline panel, and native MCP registration.
Current preview commands include:
ScreenshotsMCP: Sign InScreenshotsMCP: Check StatusScreenshotsMCP: Take ScreenshotScreenshotsMCP: Open TimelineScreenshotsMCP: Install MCP Server in Workspace
The sidebar also surfaces quick actions and recent activity directly inside VS Code, and the extension opens the browser sign-in flow automatically when no credentials are stored.
Until the Marketplace release is ready, the recommended path for VS Code users is still:
npx screenshotsmcp setup --client vscode- or the manual
.vscode/mcp.jsonconfiguration below
Manual Configuration
ScreenshotsMCP works with any client that supports the Model Context Protocol (MCP). Here's how to configure each one manually.
Cursor
Open Cursor Settings → MCP Servers, or edit ~/.cursor/mcp.json directly:
{
"mcpServers": {
"screenshotsmcp": {
"url": "https://screenshotsmcp-api-production.up.railway.app/mcp/YOUR_API_KEY"
}
}
}Windsurf
Open Windsurf Settings → MCP, or edit the config file:
{
"mcpServers": {
"screenshotsmcp": {
"serverUrl": "https://screenshotsmcp-api-production.up.railway.app/mcp/YOUR_API_KEY"
}
}
}Claude Desktop
Edit claude_desktop_config.json (found in ~/Library/Application Support/Claude/ on macOS or %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"screenshotsmcp": {
"url": "https://screenshotsmcp-api-production.up.railway.app/mcp/YOUR_API_KEY"
}
}
}VS Code (Copilot)
Add to your VS Code settings (.vscode/mcp.json):
{
"mcpServers": {
"screenshotsmcp": {
"url": "https://screenshotsmcp-api-production.up.railway.app/mcp/YOUR_API_KEY"
}
}
}Any MCP Client
The server endpoint is:
https://screenshotsmcp-api-production.up.railway.app/mcp/YOUR_API_KEYIt supports Streamable HTTP transport — compatible with all MCP clients that support HTTP-based servers.
Verify Installation
After configuring, ask your AI assistant:
Take a screenshot of https://example.comIf you see a screenshot returned inline, you're all set.
Available Tools
Once connected, your AI assistant has access to 46+ tools:
| Category | Tools |
|---|---|
| Screenshots | take_screenshot, screenshot_mobile, screenshot_tablet, screenshot_responsive, screenshot_fullpage, screenshot_dark, screenshot_element, screenshot_pdf, list_recent_screenshots, get_screenshot_status |
| Browser | browser_navigate, browser_click, browser_fill, browser_hover, browser_select_option, browser_press_key, browser_scroll, browser_wait_for, browser_go_back, browser_go_forward, browser_close |
| Inspection | browser_screenshot, browser_get_text, browser_get_html, browser_get_accessibility_tree, browser_evaluate |
| Performance | browser_perf_metrics, browser_network_requests |
| SEO | browser_seo_audit |
| Debugging | browser_console_logs, browser_network_errors, browser_cookies, browser_storage |