🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@true402.dev/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@true402.dev/mcp-server

MCP server for the true402 machine-native marketplace — pay-per-call AI + web + Base on-chain tools over x402 (USDC on Base): LLM inference, SEO/GEO audit, web extract, link preview, robots/AI-crawler check, security headers, and on-chain DeFi trading sig

Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
232
-55.98%
Maintainers
1
Weekly downloads
 
Created
Source

@true402.dev/mcp-server

MCP server for the true402 machine-native marketplace — give your agent pay-per-call access to AI inference and web tools over x402 (HTTP 402 micropayments in USDC on Base).

No accounts, no API keys. The agent's wallet is its identity: each paid tool returns an HTTP 402 challenge, the server signs an EIP-3009 USDC authorization, and the call settles on-chain. Configure a funded wallet to auto-pay, or run without one and the paid tools will surface the exact payment requirements instead of failing.

Tools

ToolPriceWhat it does
chatper-token + 3%OpenAI-compatible LLM inference across many models
list_modelsfreeList available models + pricing
seo_audit$0.02SEO + GEO (generative-engine-optimization) audit of a page → structured report
web_extract$0.005Fetch a URL → clean text + markdown + links + metadata
link_preview$0.003Fetch a URL → Open Graph / unfurl card
robots_check$0.003A site's AI-crawler policy (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, …) + sitemaps + llms.txt
headers_check$0.003HTTP security-headers analysis (HSTS, CSP, …) + a 0–100 score

Prices are illustrative; the live 402 challenge is authoritative.

Install

Requires Node.js ≥ 20. Runs over stdio — point any MCP client at it via npx.

Claude Desktop / Claude Code

Add to your MCP config (claude_desktop_config.json, or .mcp.json for Claude Code):

{
  "mcpServers": {
    "true402": {
      "command": "npx",
      "args": ["-y", "@true402.dev/mcp-server"],
      "env": {
        "WALLET_PRIVATE_KEY": "0xYOUR_FUNDED_BASE_WALLET_KEY"
      }
    }
  }
}

Cursor / Cline / other MCP clients

Same idea — command npx, args ["-y", "@true402.dev/mcp-server"], and the WALLET_PRIVATE_KEY env var.

Configuration

Env varDefaultDescription
SERVER_URLhttps://true402.dev/apitrue402 API base. Override to point at a self-hosted instance.
WALLET_PRIVATE_KEY(none)A funded Base wallet private key used to sign x402 payments. Needs USDC (gas is sponsored by the facilitator — no ETH required). Without it, paid tools return the 402 requirements instead of paying.

Security: the key is read only from the environment and is never logged, echoed, or returned. Use a dedicated low-balance wallet — fund it with only what you intend to spend.

How payment works

  • The tool calls the true402 endpoint with no payment.
  • The server replies 402 with accepted payment options (USDC on Base).
  • This MCP server signs an EIP-3009 transferWithAuthorization with your wallet.
  • It retries with the signed X-PAYMENT header; the service verifies and responds.
  • Settlement happens on-chain. Your wallet pays only USDC — the facilitator sponsors gas.

License

MIT

Keywords

mcp

FAQs

Package last updated on 08 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts