M2MCent x402 Universal MCP Gateway

v2.2.0
io.github.Evozim/m2mcent Checked 5 hours ago Published 2 days ago

Zero-Config MCP: Markdown ($0.008), B2B OSINT, Wallet KYT, Base Gas + 1,062 x402 V2 Base tools.

Values you need

VariableWhat it is
M2MCENT_GATEWAY_URLoptional M2MCent x402 Gateway URL (defaults to https://api.m2mcent.com)
M2MCENT_PASSoptional secret Optional prepaid m2m-pass Bearer token from https://m2mcent.com/deposito (omit for 2 free calls/day)
EVM_PRIVATE_KEYoptional secret Optional Base Mainnet EVM private key for automatic gasless EIP-3009 USDC per-call signing

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http m2mcent https://api.m2mcent.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "m2mcent": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.m2mcent.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "m2mcent": {
      "url": "https://api.m2mcent.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "m2mcent": {
      "type": "http",
      "url": "https://api.m2mcent.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.m2mcent]
command = "npx"
args = ["-y", "mcp-remote", "https://api.m2mcent.com/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: crawl_to_markdown, enrich_company_osint, audit_wallet_kyt, get_base_gas_oracle, search_m2mcent_catalog, execute_m2mcent_tool.
  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