Nightglass

io.github.mizukaizenPublished by GitHub account mizukaizenv1.0.0Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyBrowser AutomationMedia & Design

Overview

AI-generated overview

Nightglass is a local MCP server that lets an assistant capture screenshots of any website as PNG, JPEG or WebP through the nightglass screenshot API.

What you can do
Capture a screenshot of any URL, choosing format, viewport size, full-page capture, load delay and dark mode, returned as an image in the conversation; wrap a screenshot in a browser frame with mockup style; check the account balance and remaining screenshot credits.
When to use it
Useful when you want an assistant to grab a visual of a live web page — for design mockups, visual checks, or sharing a site's current look — without running a browser locally.
Requirements
Runs as a local process installed from the npm package nightglass-mcp, so Node.js is needed. Requires a nightglass API key supplied in the NIGHTGLASS_API_KEY environment variable, obtained from the nightglass dashboard. Network access to the nightglass API is required.
Before you install
The API key is a secret stored in the client configuration. Screenshots consume paid credits after the free allowance, and the README mentions autonomous agent payments with USDC on Base. URLs you submit are sent to the third-party nightglass service.

Installation

In SourceWeft

  1. Open Nightglass in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

nightglass MCP Server

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

Powered by the nightglass screenshot API.

Tools

take_screenshot

Capture a screenshot of any website. Returns a PNG image directly in the conversation.

Parameters:

ParameterTypeDefaultDescription
urlstringrequiredURL to screenshot
formatpng | jpeg | webppngOutput format
styleraw | mockuprawmockup wraps the screenshot in a browser frame
full_pagebooleanfalseCapture the full scrollable page
viewport_widthnumber1280Viewport width (320–3840)
viewport_heightnumber720Viewport height (200–2160)
delaynumber0Wait time in ms after page load
dark_modebooleanfalseEmulate dark colour scheme

check_balance

Check your account balance and remaining screenshot credits.

Setup

1. Get an API key

Sign up at api.nightglass.xyz/dashboard and create an API key. You get 50 free screenshots to start.

2. Install

bash
npm install -g nightglass-mcp

3. Configure your MCP client

Claude Desktop — add to claude_desktop_config.json:

json
{  "mcpServers": {    "nightglass": {      "command": "nightglass-mcp",      "env": {        "NIGHTGLASS_API_KEY": "ng_live_your_key_here"      }    }  }}

Claude Code — add to your project's .mcp.json:

json
{  "mcpServers": {    "nightglass": {      "command": "nightglass-mcp",      "env": {        "NIGHTGLASS_API_KEY": "ng_live_your_key_here"      }    }  }}

Cursor / Windsurf — same format as Claude Desktop, in the respective config file.

Pricing

TierPriceCreditsPer screenshot
Free$050—
Starter$5500$0.010
Growth$202,500$0.008
Scale$5010,000$0.005
Enterprise$20050,000$0.004

AI agents: nightglass also supports x402 — autonomous agent payments with USDC on Base. No API key needed.

Links

License

MIT

Source: README.md at commit 1fce6db

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts