PayStage Preflight for VS Code
io.github.base-buzz/preflight
Evaluate x402 PaymentRequired against a local spending policy before an agent pays
client:VS Code
transport:stdio
runtime:npm
Install PayStage Preflight in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "paystage-policy-path",
"description": "PAYSTAGE_POLICY_PATH",
"password": true
}
],
"servers": {
"preflight": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@paystage/preflight"
],
"env": {
"PAYSTAGE_POLICY_PATH": "${input:paystage-policy-path}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs