mcpField
N
nightglass

nightglass

Local
github.com/mizukaizenBrowser Automation0Updated 31w ago

About nightglass

nightglass is an MCP server that gives clients website screenshots through the nightglass screenshot API, returning images in the conversation. It supports full-page capture, multiple output formats, and a browser-frame mockup style.

Key features

  1. 01Capture websites as screenshots
  2. 02PNG, JPEG, and WebP output
  3. 03Capture full scrollable pages
  4. 04Set viewport size and delay
  5. 05Emulate dark mode
  6. 06Check balance and screenshot credits

Use cases

  1. 01View a website screenshot in a conversation
  2. 02Capture long pages for review
  3. 03Present screenshots in a browser frame
  4. 04Check remaining screenshot credits

MCP support

The MCP server exposes take_screenshot and check_balance to clients. Screenshots are generated through the nightglass screenshot API and returned in formats such as PNG.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"mizukaizen-nightglass": {
"command": "npx",
"args": [
"-y",
"nightglass-mcp"
],
"env": {
"NIGHTGLASS_API_KEY": "<NIGHTGLASS_API_KEY>"
}
}
}
}
Run commandnpx -y nightglass-mcp
Environment variables to set
NIGHTGLASS_API_KEYSecretYour nightglass API key from api.nightglass.xyz/dashboard

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmnightglass-mcp1.0.0

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
urlstringYesThe URL of the website to screenshot
delayintegerNoMilliseconds to wait after page load before capturing (useful for JS-heavy sites)
styleenumNoraw = plain screenshot, mockup = screenshot wrapped in a browser frameraw | mockup
formatenumNoImage format (default: png)png | jpeg | webp
dark_modebooleanNoEmulate dark colour scheme via prefers-color-scheme: dark
full_pagebooleanNoCapture the full scrollable page instead of just the viewport
viewport_widthintegerNoViewport width in pixels (default: 1280)
viewport_heightintegerNoViewport height in pixels (default: 720)

Details

From the project 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
npm install -g nightglass-mcp
3. Configure your MCP client

Claude Desktop — add to claude_desktop_config.json:

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

Claude Code — add to your project's .mcp.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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.