Requires the runtime declared in the upstream repo — check the README before running. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register @chainpayto/mcp-server.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"chainpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chainpayto/mcp-server"
],
"env": {
"CHAINPAY_API_URL": "https://api.chainpay.to",
"CHAINPAY_API_KEY": "your_api_key",
"CHAINPAY_API_SECRET": "your_api_secret_plaintext"
}
}
}
}