The MCP server does not hold any JetScrape credentials. Every tool, with one exception, takes an apiKey argument: the calling user's personal JetScrape key, which starts with js_. The server forwards it as the x-api-key header on the upstream request and forgets it afterwards.

Why per-call keys

  • One server, many users. A single instance can serve a whole team; each person's calls are billed to their own account.
  • Nothing stored on the server. Your key exists only for the duration of each call.
  • Revocation is instant. Revoke a key in the JetScrape dashboard and every tool call using it starts returning 401.

The exception

search_docs takes no apiKey. It searches the server's own documentation index and never contacts JetScrape.

Giving the key to an agent

In practice you state the key once in the conversation and the agent passes it on every tool call:

My JetScrape API key is js_YOUR_API_KEY. Use it for all JetScrape tools in this session.

To avoid pasting it every session, keep it in a project note the agent reads on start, such as a CLAUDE.md that is not committed, or a local settings file.

What the agent sees on a bad key

Error: Unauthorized (401): the API key is missing or invalid — Unauthorized

Tool results carry isError: true so the agent knows to stop and report rather than retry.

Never commit a real key to a shared repository, and never put one in a .mcp.json that is checked in with --scope project. Keys carry the account's credit balance and stay valid until revoked. Create one key per person or environment so a leak can be contained.

If a key is ever exposed, revoke it in the JetScrape dashboard and create a new one. Nothing on the MCP side needs to change; the agent simply starts using the new key.

Last updated: September 22, 2026