Requires the runtime declared in the upstream repo — check the README before running. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register io.github.hypeprinter007-stack/anchor-x402.
~/.cursor/mcp.json.cursor/mcp.json (commit alongside your repo){
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"-y",
"anchor-x402-mcp"
],
"env": {
"ANCHOR_WALLET_PRIVATE_KEY": "0xYOUR_BASE_WALLET_PRIVATE_KEY"
}
}
}
}