New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@domscout/mcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domscout/mcp

domscout browser API as MCP tools: screenshots, Markdown extraction, structured data, DOM snapshots, page automation, and crawls.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
430
211.59%
Maintainers
1
Weekly downloads
 
Created
Source

@domscout/mcp

Use domscout as MCP tools to read pages as Markdown, capture screenshots, extract structured data, inspect interactive structure, automate browser flows, and crawl allowlisted sites.

Setup

  • Create an API key in https://www.domscout.io/dashboard/api-keys.
  • Configure your MCP client:
{
  "mcpServers": {
    "domscout": {
      "command": "npx",
      "args": ["-y", "@domscout/mcp"],
      "env": {
        "DOMSCOUT_API_KEY": "ds_your_key_here"
      }
    }
  }
}
VariableRequiredPurpose
DOMSCOUT_API_KEYYesYour API key.
DOMSCOUT_BASE_URLNoOverrides the current production gateway for an intentionally separate deployment.

The default targets https://api.domscout.io. Verify the key in the dashboard before connecting a client; never commit or paste the key into prompts.

Tools

ToolCostWhat it does
domscout_check_creditsfreeBalance, quota, rate limit, and price list
domscout_extract_markdown1Read a page as clean Markdown (fast:true skips the browser)
domscout_capture_screenshot1–3Capture PNG/JPEG/WebP/PDF
domscout_extract_data2Extract named fields as typed JSON
domscout_inspect_page2Read the accessibility tree and interactive elements
domscout_automate_page1–2Run allowed actions and capture the result
domscout_crawl_site1/pageRun a bounded, allowlisted, robots-respecting crawl
domscout_get_jobfreePoll a durable job, batch, or crawl
domscout_cancel_jobfreeCancel one durable job
domscout_send_feedbackfreeSend product feedback

A request never costs more than 10 credits. Tool results include the request cost and remaining balance.

Resources

URIContents
domscout://docsAPI reference
domscout://openapiOpenAPI 3.1 contract

Security

The MCP server sends an x-api-key to the configured API host and reads the response. It has no browser, database, or billing credential. Keep the key in the MCP client environment block; do not commit it or paste it into prompts.

Development

npm --prefix mcp ci        # this package ships its own dependency tree
npm --prefix mcp run check # parse
npm --prefix mcp test      # boot the server and complete a real handshake
npm run test:unit:hermetic # the tool table and HTTP client, from the root suite

npm run check is node --check, which resolves no imports — it cannot tell you the server still talks to @modelcontextprotocol/sdk. npm test spawns src/index.js exactly as a client would and drives it over stdio. Run both.

Releasing

The published package is what npx -y @domscout/mcp resolves, so the release is gated and tagged rather than hand-run:

  • Bump version in mcp/package.json.
  • Commit, then tag that commit mcp-v<version>.
  • Push the tag. .github/workflows/publish-mcp.yml checks the tag against the manifest, refuses to reuse a published version, re-runs the gates, and publishes.

The workflow needs an NPM_TOKEN repository secret, and specifically a classic Automation token for an account with write access to the @domscout scope. An ordinary npm login session token is not enough: the account has 2FA on writes, so the registry answers EOTP and asks for a one-time password, which no CI job can supply. That is what the Automation token type exists to bypass.

There is no --provenance on the publish, because npm publishes the attestation to a public transparency log and refuses it for a private repository. See the comment on that step before adding it back.

To publish by hand instead, run npm publish --otp=<code> from mcp/. Plain npm publish fails with EOTP for the reason above. publishConfig.access is already public, which a scoped package requires or it fails E402.

Keywords

mcp

FAQs

Package last updated on 06 Sep 2026

Related posts