MCP server
RasterKit ships an official Model Context Protocol server, so AI agents can render the web as a tool call: "screenshot this competitor's pricing page", "turn this report into a PDF", "make an OG image for this post".
Claude Code
claude mcp add rasterkit \
-e RASTERKIT_API_KEY=rk_live_... \
-- npx -y @rasterkit/mcp Claude Desktop / other MCP clients
{
"mcpServers": {
"rasterkit": {
"command": "npx",
"args": ["-y", "@rasterkit/mcp"],
"env": { "RASTERKIT_API_KEY": "rk_live_..." }
}
}
} Tools exposed
| Tool | What it does |
|---|---|
rasterkit_screenshot | Capture a URL (viewport/full-page, device presets, dark mode). Returns the image inline or saves to a path. |
rasterkit_pdf | Convert a URL or HTML to PDF and save it. |
rasterkit_generate_image | Render a stored or inline template with variables. |
rasterkit_usage | Check remaining quota. |
Self-hosting or testing? Point the server elsewhere with RASTERKIT_BASE_URL.