three.ws Agent Payments for VS Code
io.github.nirholas/agentcore-payments-mcp
Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.
client:VS Code
transport:stdio
runtime:npm
Install three.ws Agent Payments in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "three-ws-session",
"description": "THREE_WS_SESSION",
"password": true
},
{
"type": "promptString",
"id": "payment-session-token",
"description": "PAYMENT_SESSION_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "three-ws-base",
"description": "THREE_WS_BASE",
"password": true
},
{
"type": "promptString",
"id": "three-ws-timeout-ms",
"description": "THREE_WS_TIMEOUT_MS",
"password": true
}
],
"servers": {
"agentcore-payments-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/agentcore-payments-mcp"
],
"env": {
"THREE_WS_SESSION": "${input:three-ws-session}",
"PAYMENT_SESSION_TOKEN": "${input:payment-session-token}",
"THREE_WS_BASE": "${input:three-ws-base}",
"THREE_WS_TIMEOUT_MS": "${input:three-ws-timeout-ms}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs