mcp-x402
Verified Safeby MetaMask
Overview
Generates X402 payment headers and looks up associated wallet addresses for internet-native payments using the Model Context Protocol.
Installation
yarn build && npx @modelcontextprotocol/inspector node build/index.jsEnvironment Variables
- PRIVATE_KEY
Security Notes
The server prioritizes using a private key from `process.env.PRIVATE_KEY`. However, if this environment variable is not set, it will lazily generate a new Ethereum private key and store it in a `wallet.json` file in the current working directory. Storing private keys on disk is a significant security risk, especially in non-ephemeral or poorly secured environments, as it could lead to compromise of the signing wallet. The project acknowledges this as an 'Experimental ⚠️' feature and plans 'Configurable key management and signing' in its roadmap. No 'eval' or obvious malicious patterns were found.
Similar Servers
solana-mcp-server
A Solana MCP (Multi-Chain Protocol) server that acts as a proxy for Solana RPC requests, offering enhanced capabilities like caching, metrics, and local sBPF program testing and management.
solx402-mcp-server
The SOLx402 MCP Server enables AI assistants to interact with the x402 payment protocol on Solana, providing tools for service discovery, consumption, USDC payments, and access to Solana development resources.
x402-mcp-server
Enables AI agents to pay for x402-protected database queries and API calls using USDC on the Base blockchain.
x402-mcp-server
Enables native x402 payments for AI agents via a Spring Boot server, exposing payment operations as MCP tools.