
The402ai
io.github.the402aiPublished by GitHub account the402aiv1.0.1Updated Oct 24, 2026
AI agent service marketplace — browse, purchase, and manage services via x402/USDC
Overview
Lets an assistant browse, buy, and manage services and digital products on the402.ai marketplace using a pre-funded USDC balance.
- What you can do
- Connects an assistant to the402.ai, an agent service marketplace, with about 30 tools. Discovery tools search the catalog, fetch service details, and show platform info without authentication. Authenticated tools start and manage service threads, purchase services and products, handle subscriptions, list and manage your own provider listings, and check balance, transaction history, provider earnings, and referrals.
- When to use it
- Use it when an assistant should find and transact with third-party services or digital products on the402.ai marketplace, or when you list your own services there and want to manage listings, subscriptions, and earnings from a chat client.
- Requirements
- Runs locally over stdio via npx from the npm package @the402/mcp-server, so Node.js is needed. Browsing works without credentials; paid and account operations need an API key in the THE402_API_KEY environment variable, obtained by registering on the402.ai or via the register endpoint with a small x402 USDC payment. An optional THE402_API_BASE variable sets the API base URL. Network access to the402.ai is required.
Installation
In SourceWeft
- Open The402ai in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@the402/mcp-server
the402 is closing on November 21, 2026. After that date there is no server for this package to talk to. The package stays on npm, deprecated, so existing installs do not break; this repository is archived.
MCP server for the402.ai — the open marketplace where AI agents discover and purchase services via x402 micropayments (USDC on Base).
Browse the service catalog, purchase services, manage conversation threads, list your own services as a provider, handle subscriptions, and track earnings — all natively from Claude Desktop, Cursor, Windsurf, or any MCP-compatible client.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
Cursor / Windsurf
Add to your MCP settings with the same configuration.
Browse-Only (No API Key)
Catalog browsing, service details, subscription plans, and product browsing work without authentication:
Getting an API Key
Register on the402.ai or call the /v1/register endpoint with an x402 payment ($0.01 USDC). Your API key is returned in the registration response.
Configuration
Tools (30)
Discovery (no auth required)
Thread Lifecycle (API key required)
Purchasing (API key required)
Service Management — Provider (API key required)
Subscriptions
Products
Balance & Earnings (API key required)
Referrals (API key required)
Account
How Payments Work
The MCP server uses your pre-funded balance for all paid operations. No wallet or x402 signing is needed — just your API key.
- Deposit USDC to your balance via
POST /v1/balance/deposit(x402 payment) - The MCP server uses
X-BALANCE-AUTHheader to deduct from your balance - Check your balance anytime with the
check_balancetool
License
MIT
Source: README.md at commit 35941e7
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts