ScreenAPI

Guides

Screenshot MCP server: let AI agents see web pages

Give Claude, Cursor, VS Code or n8n agents a take_screenshot tool in one minute with the ScreenAPI remote MCP server. Setup for each client.

Language models read HTML badly and cannot see layout. With a screenshot tool, an agent can check that a deploy looks right, compare a page with a design, read a chart or describe a competitor's landing page. ScreenAPI runs a remote MCP server, so there is nothing to install: add an address and your API key.

What the agent gets

  • take_screenshot: a URL or raw HTML in, an image (WebP by default) or a PDF out. Same options as the API: full_page, device, dark_mode, selector, delay, block_ads, block_chats, hide_elements.
  • list_devices: the phone, tablet and desktop presets, free.
  • Clear errors the agent can act on (quota used up, page timed out, element not found).

Claude Code

claude mcp add --transport http screenapi https://getscreenapi.com/api/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Cursor, Windsurf and VS Code

Add the server to ~/.cursor/mcp.json (Cursor), ~/.codeium/windsurf/mcp_config.json (Windsurf) or .vscode/mcp.json (VS Code, where the top-level key is servers):

{
  "mcpServers": {
    "screenapi": {
      "url": "https://getscreenapi.com/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Claude Desktop and clients without headers

Some clients only accept an address. Put the key in it: https://getscreenapi.com/api/mcp?api_key=YOUR_KEY. Treat that address like a password, and revoke the key from your dashboard if it leaks.

n8n AI agents

In an AI Agent node, add the MCP Client Tool, set the endpoint to https://getscreenapi.com/api/mcp, transport HTTP Streamable, and authentication Bearer with your key.

Prompts that work well

  • "Take a screenshot of https://example.com on an iPhone 15 Pro and tell me what looks broken."
  • "Capture the pricing table of these three sites with the selector option and compare the plans."
  • "Render this HTML email at 600 pixels wide and check that the button is visible."

Each successful capture uses one credit of your plan. Ask the agent to stay on the first screen unless it needs the full page: images are smaller and faster.

Get a key with 100 free screenshots a month and connect your agent.

Get a free key