SCRIPTMASTERLABS — GhostKey MCP

v1.2.1
com.scriptmasterlabs/ghostkey Checked 4 days ago Published 1 month ago

Remote MCP for compliant pay-per-use agent capabilities with x402 execution.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ghostkey_status GhostKey Status

Report GhostKey server status and check whether configured ScriptMasterLabs authorities are reachable. Unknown stays unknown; no health result is fabricated.

ghostkey_catalog GhostKey Catalog

List the capabilities actually exposed by this GhostKey MCP server and identify staged families without pretending they are callable.

ghostkey_quote GhostKey Quote

Explain how to obtain authoritative pricing for a GhostKey/SML paid capability. Pricing and settlement destination come from the fresh live HTTP 402 challenge, never a copied wallet or stale fixed price.

ParameterTypeDescription
capabilitystringCapability name or identifier to price — a GhostKey/SML paid capability (for example a tool or route name); pricing is read from that capability's fresh live HTTP 402 challenge.

ghostkey_policy GhostKey Policy

Return GhostKey's operating, payment, upstream-rights, browser-session, and trusted-device policy for autonomous agents.

ghostkey_device_pairing_create GhostKey Device Pairing Create

Create a one-time trusted-device enrollment capability. Requires GhostKey persistent trusted-device storage to be configured. The browser generates its own non-exportable P-256 private key; only the public key is uploaded.

ParameterTypeDescription
labelstringHuman-readable label for the trusted device being enrolled (1-80 characters), shown wherever the device is listed; it does not change the pairing capability's authority.

ghostkey_device_pairing_status GhostKey Device Pairing Status

Resolve a one-time trusted-device pairing after the browser has enrolled. Requires the original pairing ID and pairing code and is available only until that pairing capability expires.

ParameterTypeDescription
pairing_code *stringOne-time pairing code issued together with the pairing_id; required with it and valid only until the pairing capability expires.
pairing_id *stringPairing identifier (UUID) returned by ghostkey_device_pairing_create for the one-time enrollment capability to resolve.

ghostkey_session_create GhostKey Session Create

PAID tool ($0.10 USDC via x402 v2, Base). Create a short-lived, origin-scoped browser delegation session. Send the x402 PAYMENT-SIGNATURE header on the /mcp request; without payment the call returns the live x402 challenge (HTTP 402, amount 100000 = $0.10 USDC, network eip155:8453). Actions inside a minted session are unmetered. Optionally target a previously enrolled trusted device using its private 256-bit routing capability so its extension can claim the session automatically. The user still handles login/CAPTCHA and any new browser-origin permission themselves.

ParameterTypeDescription
allowed_origins *arrayAllowlist of browser origins (1-12 origin URIs) the delegated session may act on; navigation or actions outside these origins are denied.
trusted_device_idstringOptional 43-character routing capability of a previously enrolled trusted device; when supplied, that device's extension can claim the session automatically.
ttl_secondsintegerSession lifetime in seconds (60-3600). The session expires when the TTL elapses even if unused; actions inside a live session are unmetered.

ghostkey_session_status GhostKey Session Status

Check whether a scoped GhostKey browser session is alive and whether its user-controlled browser bridge has a fresh heartbeat.

ParameterTypeDescription
agent_token *stringAgent token issued with the session at creation; authorizes status checks for this session only.
session_id *stringSession identifier (UUID) returned by ghostkey_session_create.

ghostkey_session_action GhostKey Session Action

Relay one authorized browser action into the user's already-authenticated browser. Actions: navigate, inspect, click, input, select, read, wait. Password/hidden fields and off-allowlist navigation are denied. API and bridge documentation: https://ghostkey-mcp.onrender.com/session-bridge/README.txt.

ParameterTypeDescription
action *stringThe browser action to relay: navigate, inspect, click, input, select, read, or wait. Password and hidden fields and off-allowlist navigation are denied.
agent_token *stringAgent token issued with the session at creation; authorizes actions inside this session only.
session_id *stringSession identifier (UUID) returned by ghostkey_session_create.
attributestringAttribute name to read for an inspect/read action (up to 100 characters), e.g. href or value.
selectorstringCSS selector (1-500 characters) identifying the element for click, input, select, inspect, or read actions.
textstringText to type for an input action, or the option value/label for a select action (up to 4000 characters); never used for password or hidden fields.
timeout_msintegerMaximum time in milliseconds to wait for the action to complete (1000-30000).
urlstringTarget URL for navigate/read actions; must be on one of the session's allowed origins.

ghostkey_session_revoke GhostKey Session Revoke

Immediately revoke a GhostKey browser delegation session and cancel its queued work. The session's agent token stops working at once and no further actions can be relayed into the user's browser under it. Use it when a delegated task is finished, the permitted scope changes, or the session may be compromised. Revocation cannot be undone; a new session must be created (and paid for) instead.

ParameterTypeDescription
agent_token *stringAgent token issued with the session at creation; authorizes revoking this session.
session_id *stringSession identifier (UUID) returned by ghostkey_session_create.