Back to Home
Hyeong-soo icon

x402-fetch-mcp

Verified Safe

by Hyeong-soo

Overview

Enables AI agents to automatically pay for and access paywalled web content using the x402 payment protocol on the Base network.

Installation

Run Command
npx x402-fetch-mcp

Environment Variables

  • PRIVATE_KEY
  • NETWORK

Security Notes

Private keys are stored in `~/.x402/config.json` with `600` permissions, restricting access to the owner, which is a good security practice. The README explicitly discourages using environment variables for private keys to prevent exposure, though the code includes environment variables as a fallback for backward compatibility. There is no evidence of `eval` or dynamic code execution from untrusted sources. The core functionality involves blockchain transactions and fetching arbitrary URLs, inherent to its design, relying on the security of underlying libraries (`viem`, `@x402/fetch`).

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-19

Tags

x402micropaymentsAI agentBase networkWeb3