cortex402 for VS Code
io.github.ooak21/cortex402
Pay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US property.
client:VS Code
transport:stdio
runtime:npm
Install cortex402 in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cortex402-wallet-private-key",
"description": "CORTEX402_WALLET_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "cortex402-base-url",
"description": "CORTEX402_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "cortex402-max-payment-usdc",
"description": "CORTEX402_MAX_PAYMENT_USDC",
"password": true
}
],
"servers": {
"cortex402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "${input:cortex402-wallet-private-key}",
"CORTEX402_BASE_URL": "${input:cortex402-base-url}",
"CORTEX402_MAX_PAYMENT_USDC": "${input:cortex402-max-payment-usdc}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs