Skip to main content
Glama

Screenshot MCP

x402 Payment-Protected Screenshot & PDF Generation API

Capture web pages as images or PDF documents. Perfect for AI agents that need to document findings, archive content, or create visual reports.

πŸš€ Features

  • πŸ“Έ Web Screenshots - Capture any webpage as PNG image

  • πŸ“„ PDF Generation - Convert web pages to PDF documents

  • 🎯 Custom Dimensions - Specify width, height, and format

  • πŸ’³ x402 Micropayments - Pay $0.005 USDC per capture on Base Mainnet

  • πŸ€– MCP Compatible - Works with Claude and other AI agents

Related MCP server: screenshot-pdf

πŸ“‘ Live Endpoints

Base URL: https://screenshot-mcp.vercel.app

Screenshot Capture

GET /api/screenshot?url={URL}&width={WIDTH}&height={HEIGHT}

Parameters:

  • url (required): URL to capture

  • width (optional): Viewport width in pixels (320-3840, default: 1920)

  • height (optional): Viewport height in pixels (240-2160, default: 1080)

Example:

curl https://screenshot-mcp.vercel.app/api/screenshot?url=https://example.com&width=1920&height=1080

PDF Generation

GET /api/pdf?url={URL}&format={FORMAT}

Parameters:

  • url (required): URL to convert to PDF

  • format (optional): PDF page format - A4 or Letter (default: A4)

Example:

curl https://screenshot-mcp.vercel.app/api/pdf?url=https://example.com&format=A4

Response (402 Payment Required):

{
  "error": "Payment Required",
  "payment": {
    "scheme": "exact",
    "network": "eip155:8453",
    "price": "$0.005",
    "currency": "USDC",
    "payTo": "0xf081ee84c0d85278a6242bc265f0b312021ebeb1"
  }
}

πŸ” Discovery Endpoints

  • Bazaar Discovery: /.well-known/x402

  • MCP Metadata: /mcp/tools

  • Health Check: /health

πŸ’° Payment Details

  • Network: Base Mainnet (Chain ID: eip155:8453)

  • Currency: USDC

  • Price: $0.005 per capture (screenshot or PDF)

  • Protocol: x402 "exact" scheme

  • Payment Address: 0xf081ee84c0d85278a6242bc265f0b312021ebeb1

πŸ€– Use with AI Agents

This MCP server is designed to work with Claude Code and other AI agents that support the Model Context Protocol (MCP) and x402 payments.

AI agents can:

  1. Discover the service on x402 Bazaar

  2. Pay via CDP Facilitator

  3. Capture screenshots or generate PDFs

  4. Use visual content in their workflows

πŸ“¦ Response Format

Screenshot Response

{
  "format": "image/png",
  "url": "https://example.com",
  "dimensions": {
    "width": 1920,
    "height": 1080
  },
  "capturedAt": "2026-09-04T18:30:00.000Z",
  "size": 125000
}

PDF Response

{
  "format": "application/pdf",
  "url": "https://example.com",
  "pageFormat": "A4",
  "generatedAt": "2026-09-04T18:30:00.000Z",
  "size": 245000
}

πŸ› οΈ Local Development

# Install dependencies
npm install

# Run locally
npm start

# Development mode with auto-reload
npm run dev

⚠️ Note

This service uses mock screenshot/PDF generation for Vercel deployment compatibility. In production with persistent infrastructure, it would use Puppeteer to generate real screenshots and PDFs.

πŸ“ License

MIT


Built with ❀️ for the AI agent ecosystem

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to capture any public URL as PNG, JPEG, or PDF via REST API or MCP tools, including screenshot capture, page description, and PDF rendering.
      22 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Captures full-page screenshots and PDFs from any URL using Chromium rendering, with pay-per-call via x402 micropayments.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to call 45 micro-priced utility tools via x402 micropayments on Base, covering search, screenshots, OCR, PDFs, WHOIS, geo-IP, and more without API keys.
      -