Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Twzrd X402 Gate

MCP server by twzrd-sol Verified · npm:twzrd-x402-gate

Gates an AI agent's x402 payments with a free seller preflight before USDC is signed on Solana and Base mainnet. Built for developers whose agents buy from x402 sellers or online stores. By default it refuses to sign if the preflight is down.

  • Score 83
  • 0 stars
  • 1.4k a week
  • MIT
  • Updated

Install Twzrd X402 Gate

Built from the published package, never by AI.

claude mcp add twzrd-x402-gate -- npx -y twzrd-x402-gate

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Twzrd X402 Gate in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the twzrd-x402-gate block.

About

Twzrd X402 Gate is a buyer-side trust gate for AI agents that pay with x402. It runs a free preflight on the seller before the wallet signs USDC on Solana and Base mainnet (eip155:8453). By default, it does not sign if the preflight is unavailable, and TWZRD_FAIL_OPEN overrides that default. The gate also enforces a caller-supplied USDC cap and an explicit recipient allowlist.

Developers install the twzrd-x402-gate npm package and wrap their paying fetch with createBuyerFetch. The hosted MCP at intel.twzrd.xyz/mcp adds a free check_listing tool for store product listings. Other EVM chains are recognized but not scored. The source says a passing check never grants permission to spend.

Written from the project's README and checked against it.

Tools it gives your assistant

  • createBuyerFetchFront door for the gate: wraps a paying fetch with a USDC cap, recipient allowlist and free preflight.
  • check_listingFree check of a store product URL and its declared unit price against a published listing card.
  • Local decision recordWrites a decision record locally before signing, and can issue a twzrd.payment_decision.v1 record.
  • buyer-demoRuns one blocked payment against an offline 402 fixture, with no wallet and no network request.

What you need

  • Node.js to install and run twzrd-x402-gate from npm
  • An x402 payer such as x402-solana or @x402/fetch
  • A wallet with USDC, only for real paid payments
  • Internet access to the hosted checks at intel.twzrd.xyz

Try asking

  • Check this x402 seller before my agent pays any USDC.
  • Does this store listing match the published card at this URL and price?
  • Run the blocked payment demo so I can see a refusal.

Good to know

  • The product listing lane is a pilot covering one listing card (Vuori Kore Short, Ink, US).
  • Only Solana and Base mainnet sellers are scored; other EVM chains are unscored.
  • A check is not an identity, merchant attestation or permission to spend.
  • The source says the seven-day external integration milestone has not been attempted.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Twzrd X402 Gate

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

Twzrd X402 Gate: common questions

Which networks does Twzrd X402 Gate score?

The source says the free checks score x402 sellers on Solana mainnet and Base mainnet (eip155:8453). Other EVM chains are recognized but not scored.

What happens if the preflight is down?

By default the gate does not sign. The TWZRD_FAIL_OPEN setting overrides that default.

Does a passing check allow an agent to spend?

No. The source says authorizes_spend is always false and a listing match is never permission to spend.

How do I install Twzrd X402 Gate?

In Claude Code run claude mcp add twzrd-x402-gate -- npx -y twzrd-x402-gate. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Twzrd X402 Gate the official server?

Twzrd X402 Gate is published by npm:twzrd-x402-gate from its verified domain in the official MCP Registry.

Is Twzrd X402 Gate free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Twzrd X402 Gate safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Twzrd X402 Gate?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does Twzrd X402 Gate work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Twzrd X402 Gate Install

Add to stack

Loading.