Nightglass MCP Server

Screenshot API for MCP clients. Capture any URL as PNG with mockup mode support.

Local serverstdio

What is the Nightglass MCP server?

Connect Nightglass to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Screenshot API for MCP clients. Capture any URL as PNG with mockup mode support. The nightglass mcp server is what makes that connection.

What the server does

Take website screenshots from any MCP-compatible client — Claude Desktop, Cursor, Windsurf, Claude Code, and more.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • take_screenshot — Capture a screenshot of any website. Returns a PNG image directly in the conversation
  • check_balance — Check your account balance and remaining screenshot credits

Credentials and setup notes

Configuration is passed through the environment: NIGHTGLASS_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

The server ships on npm as nightglass-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Nightglass's toolset — take_screenshot, check_balance — is a fair guide to whether it matches your workflow. It is maintained by mizukaizen; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
take_screenshotCapture a screenshot of any website. Returns a PNG image directly in the conversation.
check_balanceCheck your account balance and remaining screenshot credits.

How to install the Nightglass MCP server

{
  "mcpServers": {
    "nightglass": {
      "command": "npx",
      "args": ["-y", "nightglass-mcp"],
      "env": {
        "NIGHTGLASS_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
NIGHTGLASS_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Nightglass to take screenshot.
  • Use Nightglass to check balance.

Frequently asked questions

It connects Nightglass to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (take_screenshot, check_balance) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Nightglass directly.