mcp-server

v1.3.2
dev.true402/mcp-server Checked 1 day ago Published 1 month ago

Pay-per-call AI + web + on-chain tools over x402 (USDC on Base): LLM, SEO, extract, token safety.

Values you need

VariableWhat it is
WALLET_PRIVATE_KEYoptional secret Funded Base wallet private key for x402 payment signing (optional; without it, paid tools return the 402 requirements).
SERVER_URLoptional true402 API base (default https://true402.dev/api). Must be https (or localhost) — the signer refuses to send a payment over cleartext.
MAX_PAYMENT_USDCoptional Client-side per-call spend ceiling in USDC (default 0.10). The signer refuses to auto-pay a 402 whose amount exceeds this — protects the wallet from a hostile endpoint.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -- npx -y --package=@true402.dev/mcp-server@1.3.2 true402-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@true402.dev/mcp-server@1.3.2",
        "true402-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@true402.dev/mcp-server@1.3.2",
        "true402-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@true402.dev/mcp-server@1.3.2",
        "true402-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@true402.dev/mcp-server@1.3.2", "true402-mcp"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_models, chat, seo_audit, web_extract, link_preview, robots_check, headers_check, token_safety, ….
  4. 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