GhostKey Session Create
ghostkey_session_createPAID 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"allowed_origins": "<allowed_origins>"
},
"name": "ghostkey_session_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_seconds | No | Session lifetime in seconds (60-3600). The session expires when the TTL elapses even if unused; actions inside a live session are unmetered. | |
| allowed_origins | Yes | Allowlist of browser origins (1-12 origin URIs) the delegated session may act on; navigation or actions outside these origins are denied. | |
| trusted_device_id | No | Optional 43-character routing capability of a previously enrolled trusted device; when supplied, that device's extension can claim the session automatically. |