payagent mcp for VS Code
io.github.stevemilton/payagent-mcp
Pay x402 APIs in USDC on Base, Solana, and BNB Chain with spend mandates, receipts, idempotency.
client:VS Code
transport:stdio
runtime:npm
Install payagent mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "arispay-api-key",
"description": "ARISPAY_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "payagent-private-key",
"description": "PAYAGENT_PRIVATE_KEY",
"password": true
}
],
"servers": {
"payagent-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@arispay/payagent-mcp"
],
"env": {
"ARISPAY_API_KEY": "${input:arispay-api-key}",
"PAYAGENT_PRIVATE_KEY": "${input:payagent-private-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs