Skip to main content
Glama
Urlbox MCP Server
by urlbox

Urlbox Screenshot MCP Server

image

Give your AI assistant a real browser for website screenshots. The Urlbox MCP server takes screenshots, makes PDFs and videos, extracts HTML, markdown and article text, compares pages, and manages your Urlbox projects, webhooks and usage.

Connect your client to https://api.urlbox.com/mcp. Nothing to install.

  • Claude (claude.ai and desktop): Settings, Connectors, Add custom connector, enter https://api.urlbox.com/mcp, then sign in to Urlbox.

  • ChatGPT: add a connector with the URL https://api.urlbox.com/mcp, then sign in to Urlbox.

  • Claude Code: claude mcp add --transport http urlbox https://api.urlbox.com/mcp, then run /mcp to sign in.

  • Codex: codex mcp add urlbox --url https://api.urlbox.com/mcp, then codex mcp login urlbox to sign in.

  • Cursor: add this to ~/.cursor/mcp.json:

    {
      "mcpServers": {
        "urlbox": {
          "url": "https://api.urlbox.com/mcp",
          "headers": { "Authorization": "Bearer YOUR_URLBOX_API_KEY" }
        }
      }
    }

Clients that can't sign in can send an API key as Authorization: Bearer <key>. An organisation API key (ubx_org_...) unlocks every tool. A project secret key works for the rendering tools only. Find your keys in the Urlbox dashboard.

Related MCP server: @rendershot/mcp-server

Local bridge (this package)

Some clients can only start local servers. This package is a small local bridge: it runs on your machine over stdio and forwards everything to the hosted server, so you get exactly the same tools, always up to date.

{
  "mcpServers": {
    "urlbox": {
      "command": "npx",
      "args": ["-y", "@urlbox/screenshot-mcp"],
      "env": {
        "URLBOX_API_KEY": "your_api_key_here"
      }
    }
  }
}

Requires Node.js 20 or later.

Variable

Description

URLBOX_API_KEY

Your organisation API key or project secret key.

SECRET_KEY

Also accepted, for configs written for 1.x. URLBOX_API_KEY wins if both are set.

URLBOX_DOWNLOAD_DIR

Where save_render saves files. Defaults to ~/Downloads.

The bridge adds one local tool, save_render, which downloads a render URL returned by any Urlbox tool and saves it to your computer. Just ask, for example "screenshot example.com and save it to my computer". Existing files are never overwritten.

Upgrading from 1.x

Your existing config keeps working: SECRET_KEY is still read and the package name and command are unchanged.

  • Tools now come from the hosted server, so there are many more of them, and they keep improving without an update.

  • render is still there. Its store_renders option and the download tool are replaced by save_render.

  • Files are saved to ~/Downloads instead of ~/Downloads/urlbox-renders. Set URLBOX_DOWNLOAD_DIR to keep the old location.

  • With a project secret key you get the rendering tools. Use an organisation API key to also manage projects, webhooks and usage.

  • Node.js 20 or later is required.

Example prompts

Development

npm install
npm test

The tests run the bridge against a local fake server, so they need no Urlbox account.

License

MIT

Available Tools

2 tools
downloadCInspect

Takes all of the render URLs from any Urlbox response that hasn't already been downloaded, and saves it to the users file system.

Inputs: originalOptions (required), renderUrl, htmlUrl, markdownUrl, +2 more.

renderBInspect

Uses Urlbox.com's POST API for advanced rendering with side renders. Download to computer using store_renders: true. Ideal for: use of many options, converting websites to HTML/PDF/markdown, extracting metadata, saving cookies, rendering custom HTML/CSS/JS, and generating multiple output formats simultaneously (html, pdf, md, cookies etc.), while also capturing the main screenshot's format.

Inputs: url (required), store_renders, html, format, +114 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools, download and render, have clearly distinct purposes: one for rendering websites with advanced options, the other for downloading render URLs to the file system. No ambiguity.

    Naming Consistency4/5

    Both tool names are single verbs (download, render), which is consistent within the set. While not following a typical verb_noun pattern, they are uniformly imperative and predictable.

    Tool Count3/5

    With only 2 tools, the server feels minimal for its stated purpose of website rendering and file downloading. It covers primary actions but lacks supporting tools like listing or deleting renders, making it slightly thin.

    Completeness3/5

    The core workflow of rendering and downloading is covered, but there are notable gaps such as status checking, authentication, or render management. The inclusion of download as a separate tool is useful, but overall the surface is incomplete for a full rendering service.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers