ScreenshotAPI
v1.0.2Website screenshots, URL/HTML to PDF, scrolling videos, and web scraping via ScreenshotAPI.
Values you need
| Variable | What it is | |
|---|---|---|
SCREENSHOTAPI_TOKEN | required secret | Your ScreenshotAPI API key from https://app.screenshotapi.net |
SCREENSHOTAPI_REQUEST_TIMEOUT_MS | optional | Request timeout in milliseconds (default 180000) |
SCREENSHOTAPI_MAX_INLINE_IMAGE_BYTES | optional | Max screenshot size returned inline as an image (default 3500000) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add screenshot-mcp -e 'SCREENSHOTAPI_TOKEN=<SCREENSHOTAPI_TOKEN>' -- npx -y --package=@screenshotapinet/mcp@1.0.2 screenshotapi-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"screenshot-mcp": {
"args": [
"-y",
"--package=@screenshotapinet/mcp@1.0.2",
"screenshotapi-mcp"
],
"command": "npx",
"env": {
"SCREENSHOTAPI_TOKEN": "<SCREENSHOTAPI_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"screenshot-mcp": {
"args": [
"-y",
"--package=@screenshotapinet/mcp@1.0.2",
"screenshotapi-mcp"
],
"command": "npx",
"env": {
"SCREENSHOTAPI_TOKEN": "<SCREENSHOTAPI_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SCREENSHOTAPI_TOKEN",
"id": "screenshotapi-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"screenshot-mcp": {
"args": [
"-y",
"--package=@screenshotapinet/mcp@1.0.2",
"screenshotapi-mcp"
],
"command": "npx",
"env": {
"SCREENSHOTAPI_TOKEN": "${input:screenshotapi-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.screenshot-mcp]
command = "npx"
args = ["-y", "--package=@screenshotapinet/mcp@1.0.2", "screenshotapi-mcp"]
env = { "SCREENSHOTAPI_TOKEN" = "<SCREENSHOTAPI_TOKEN>" }For AI agents
- Ask the user for: SCREENSHOTAPI_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: take_screenshot, generate_pdf, scrape_page, record_scrolling_video, bulk_screenshots, bulk_screenshots_csv, get_bulk_status, download_bulk_results.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json