Requires Node 18+ on your system so npx can fetch the package on first run. 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 @fastmcp-me/btcpayserver-mcp.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"btcpayserver-mcp": {
"type": "stdio",
"command": "node",
"args": [
"path/to/btcpayserver-mcp/dist/index.js"
],
"env": {
"BTCPAY_BASE_URL": "https://your-btcpay-instance.com",
"BTCPAY_API_KEY": "your_api_key_here",
"BTCPAY_STORE_ID": "your_default_store_id"
}
}
}
}