Skip to main content
Glama
mizukaizen

nightglass MCP Server

by mizukaizen

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:

Parameter

Type

Default

Description

url

string

required

URL to screenshot

format

png | jpeg | webp

png

Output format

style

raw | mockup

raw

mockup wraps the screenshot in a browser frame

full_page

boolean

false

Capture the full scrollable page

viewport_width

number

1280

Viewport width (320–3840)

viewport_height

number

720

Viewport height (200–2160)

delay

number

0

Wait time in ms after page load

dark_mode

boolean

false

Emulate dark colour scheme

check_balance

Check your account balance and remaining screenshot credits.

Related MCP server: ScreenshotOne MCP Server

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

Tier

Price

Credits

Per screenshot

Free

$0

50

Starter

$5

500

$0.010

Growth

$20

2,500

$0.008

Scale

$50

10,000

$0.005

Enterprise

$200

50,000

$0.004

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

License

MIT

Available Tools

2 tools
check_balanceA

Check your nightglass account balance and remaining screenshot credits.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states what the tool checks but doesn't explicitly disclose whether it is read-only, whether it consumes any resources, or if it requires authentication. Given the simplicity, it's likely non-mutating, but this is implied rather than stated. The description adds some value by specifying exactly what is checked, but lacks explicit behavioral guarantees.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core action ('Check your nightglass account balance') and immediately details the second element ('remaining screenshot credits'). No unnecessary words or filler. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple parameterless tool with no output schema, the description is nearly complete. It tells an agent what the tool does, and the return value (balance and credits) is implied. It doesn't specify the return format (e.g., JSON structure) but given the trivial nature, this is a minor gap. A 5 would require explicit mention of output format or side effects, which is not critical here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0 parameters and 100% schema coverage, the baseline is 4. The description doesn't need to explain parameters since there are none. It adds context about what the tool checks, but this is more about purpose than parameters. The score reflects that the description is sufficient for a parameterless tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('check') and clearly identifies the resource ('nightglass account balance' and 'remaining screenshot credits'). It inherently distinguishes from the sibling tool 'take_screenshot', which is about capturing screenshots, not checking balances. The purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context by explaining what the tool does, which implicitly tells an agent when to use it (when balance or credit info is needed). It doesn't explicitly mention alternatives or exclusions, but with only one sibling, the distinction is obvious. This falls short of a 5 because it doesn't explicitly state 'use this when you need balance information rather than taking a screenshot'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

take_screenshotA

Take a screenshot of a website. Returns the screenshot as a PNG image. Supports viewport screenshots, full-page captures, and mockup mode (screenshot wrapped in a browser frame).

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL of the website to screenshot
delayNoMilliseconds to wait after page load before capturing (useful for JS-heavy sites)
styleNoraw = plain screenshot, mockup = screenshot wrapped in a browser frameraw
formatNoImage format (default: png)png
dark_modeNoEmulate dark colour scheme via prefers-color-scheme: dark
full_pageNoCapture the full scrollable page instead of just the viewport
viewport_widthNoViewport width in pixels (default: 1280)
viewport_heightNoViewport height in pixels (default: 720)

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the full burden of behavioral disclosure. It mentions that the result is a PNG (though format is configurable) and lists supported capture modes, but it does not disclose potential limitations, error conditions, or the binary nature of the response. The description adds some value but leaves gaps typical of a simple screenshot tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the primary action and return type, the second lists the main capabilities. It is tightly written with no redundant information, and the most essential facts are front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a rich 100%-covered schema and no output schema, the description covers the core purpose and supported modes. The only minor gap is the statement that it returns PNG while the format parameter allows jpeg/webp, and it does not explicitly mention the response is a binary image. Overall it is complete enough for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and every parameter (url, delay, style, format, dark_mode, full_page, viewport dimensions) has its own description. The tool description does not add any parameter-specific semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Take a screenshot of a website') and the resource, and it enumerates the supported modes (viewport, full-page, mockup). This distinguishes it from the unrelated sibling check_balance and leaves no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool (capturing website screenshots) but does not include explicit when-not-to-use guidance or alternatives. Since the only sibling is unrelated, this is adequate and matches the 'clear context, no exclusions' level.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 2 tool updatesv1.0.0
    • First observedcheck_balance
    • First observedtake_screenshot

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely distinct purposes: take_screenshot handles capturing website screenshots, while check_balance manages account credits. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tools follow the consistent verb_noun pattern: take_screenshot and check_balance. The naming is clear, predictable, and matches the action they perform.

Tool Count3/5

With only two tools, the server feels thin for a screenshot service. A typical screenshot API might include additional tools for managing captures, listing history, or configuring settings, but the current count is borderline acceptable.

Completeness4/5

The server covers the core screenshot-taking workflow and account balance check. Minor gaps exist (e.g., no history, download, or retry options), but the primary use case is fully addressed.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Enables capturing screenshots of web pages and local HTML files through a simple MCP tool interface using Puppeteer with configurable options for dimensions and output paths.
    2
    72 npm
    31
    Apache 2.0
  • A
    license
    B
    quality
    B
    maintenance
    An MCP server that enables capturing website screenshots with full-page, element-specific, and device-responsive capabilities through natural language commands.
    3
    16 npm
    61
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Scrape any webpage and return clean markdown, HTML, or structured JSON. Bypasses anti-bot protection, renders JavaScript (React/Vue/Angular), supports premium residential proxies and CSS extraction. Works with any MCP client — no local install required.
    1
    407 npm
    19
    MIT