Machine Utility Foundry (Safe x402 Wallet & Trust Oracles)
v1.2.3Auto-paying x402 MCP wallet bridge, honeypot & wash-trade oracle, route failover & ICP guardrails.
Values you need
| Variable | What it is | |
|---|---|---|
EVM_PRIVATE_KEY | optional secret | Optional isolated Base Mainnet USDC micro-wallet private key (0x...) from `npx -y foundry-x402 new-wallet` for automatic EIP-3009 payment. |
MAX_PAYMENT_USD | optional | Maximum USD allowed on any single paid x402 call. Default: 0.05 |
SESSION_BUDGET_USD | optional | Maximum cumulative USD spend allowed per MCP session. Default: 1.00 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add machine-utility-foundry -- npx -y foundry-x402@0.4.1 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"machine-utility-foundry": {
"args": [
"-y",
"foundry-x402@0.4.1",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"machine-utility-foundry": {
"args": [
"-y",
"foundry-x402@0.4.1",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"machine-utility-foundry": {
"args": [
"-y",
"foundry-x402@0.4.1",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.machine-utility-foundry]
command = "npx"
args = ["-y", "foundry-x402@0.4.1", "mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http machine-utility-foundry https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"machine-utility-foundry": {
"args": [
"-y",
"mcp-remote",
"https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"machine-utility-foundry": {
"url": "https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"machine-utility-foundry": {
"type": "http",
"url": "https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.machine-utility-foundry]
command = "npx"
args = ["-y", "mcp-remote", "https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: foundry_wallet_status, safe_x402_request.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json