agon protocol for VS Code
io.github.agonx402/agon-protocol
MCP server for Agon Protocol state reads and prepare-only payment-channel actions.
client:VS Code
transport:stdio
runtime:npm
Install agon protocol in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "solana-devnet-rpc-url",
"description": "SOLANA_DEVNET_RPC_URL",
"password": true
},
{
"type": "promptString",
"id": "agon-protocol-program-id",
"description": "AGON_PROTOCOL_PROGRAM_ID",
"password": true
},
{
"type": "promptString",
"id": "agon-protocol-devnet-usdc-token-id",
"description": "AGON_PROTOCOL_DEVNET_USDC_TOKEN_ID",
"password": true
}
],
"servers": {
"agon-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agonx402/protocol-mcp"
],
"env": {
"SOLANA_DEVNET_RPC_URL": "${input:solana-devnet-rpc-url}",
"AGON_PROTOCOL_PROGRAM_ID": "${input:agon-protocol-program-id}",
"AGON_PROTOCOL_DEVNET_USDC_TOKEN_ID": "${input:agon-protocol-devnet-usdc-token-id}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs