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

ToolWhat it does
rasterkit_screenshotCapture a URL (viewport/full-page, device presets, dark mode). Returns the image inline or saves to a path.
rasterkit_pdfConvert a URL or HTML to PDF and save it.
rasterkit_generate_imageRender a stored or inline template with variables.
rasterkit_usageCheck remaining quota.

Self-hosting or testing? Point the server elsewhere with RASTERKIT_BASE_URL.