Shotfly
v0.3.0Website screenshots for AI agents.
MCP server for Shotfly, the website screenshot API. It gives AI agents a take_screenshot tool that renders a page in a real browser and returns the image with the page's title, description and Open Graph image. Failed captures, bot-challenge pages and blank pages are never billed. The server is a thin client of the public Shotfly API: requests are billed, cached and checked exactly like any other API call. Add this to the client's MCP configuration (for Claude Desktop, claude_desktop_config.json; for Cursor, .cursor/mcp.json):
Summary extracted from the README.
Shotfly MCP server
MCP server for Shotfly, the website screenshot API. It gives AI agents a take_screenshot tool that renders a page in a real browser and returns the image with the page's title, description and Open Graph image. Failed captures, bot-challenge pages and blank pages are never billed.
The server is a thin client of the public Shotfly API: requests are billed, cached and checked exactly like any other API call.
Requirements
- Node.js 22 or newer.
- A Shotfly secret key (
sk_…). Create one in the dashboard; the free plan includes 100 screenshots a month.
Setup
Claude Code
claude mcp add shotfly --env SHOTFLY_API_KEY=sk_your_key -- npx -y @shotfly/mcp
Claude Desktop, Cursor and other MCP clients
Add this to the client's MCP configuration (for Claude Desktop, claude_desktop_config.json; for Cursor, .cursor/mcp.json):
{
"mcpServers": {
"shotfly": {
"command": "npx",
"args": ["-y", "@shotfly/mcp"],
"env": { "SHOTFLY_API_KEY": "sk_your_key" }
}
}
}
The key stays on your machine: the server runs locally and sends it only to the Shotfly API.
Tools
take_screenshot
| Argument | Type | Description |
|---|---|---|
url |
string, required | Page to capture (http or https). |
full_page |
boolean | Capture the whole scrollable page. |
device |
desktop, desktop_hd, iphone_15, pixel_8, ipad |
Viewport preset. |
format |
png, jpeg, webp |
Image format. Default webp. |
dark_mode |
boolean | Render with prefers-color-scheme: dark. |
wait_for_selector |
string | Wait until this CSS selector is visible before capturing. |
Returns the screenshot as an image, plus JSON with a link to the file (valid for one hour), its dimensions, the credits charged and the page metadata. Images larger than 4 MB are returned as the link only, to keep the model's context small. Cookie banners are rejected and ads are blocked.
get_usage
Shows the current plan, billing period and credits used.
Configuration
| Variable | Required | Description |
|---|---|---|
SHOTFLY_API_KEY |
yes | Secret key (sk_…) from the dashboard. |
SHOTFLY_API_URL |
no | API origin. Default https://api.shotfly.dev. |
Billing
Each successful screenshot costs credits, like any other API request; see pricing. Failed renders, bot challenges, blank pages and cache hits cost nothing. Every result reports credits_charged.
Links
License
MIT