The402ai MCP Server

MCP server for the402.ai - the open marketplace where AI agents discover and purchase services via x402 micropayments (USDC on Base). Its 30 documented tools cover service, plan, manage, thread. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-03-23 · ★ 2 · #610 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install The402ai MCP Server

before you install - you'll need

THE402_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add the402ai-mcp-server -- npx -y @the402/mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "the402ai-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@the402/mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @the402/mcp-server - the @the402 scope differs from the repo owner (the402ai); confirm it's the project's official package

registry namespace io.github.the402ai is GitHub-verified and matches the repo owner

03 · What The402ai MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search services by keyword, category, type, price range, get full service details - pricing, input schema, provider reputation, start a conversation about a service ($0.001), and list your threads with status filter.

Capability map

Tools grouped from the project's README - what The402ai MCP Server lets an agent do.

read & search

7 tools - e.g. Search services by keyword, category, type, price range; Platform health, status, referral program details; List your threads with status filter

search_catalog · get_platform_info · list_threads · get_thread · list_plans · list_purchases…

Service

6 tools - e.g. Get full service details - pricing, input schema, provider reputation; Start a conversation about a service ($0.001); Buy a fixed-price service

get_service · inquire_service · purchase_service · create_service · update_service · delete_service

Manage

3 tools - e.g. Cancel, pause, or resume; Provider updates or deletes a plan; Provider creates, updates, or deletes products

manage_subscription · manage_plan · manage_product

run & execute

1 tool - e.g. Send a message in a thread (free)

send_message

Propose

1 tool - e.g. Provider proposes a price (free)

propose_price

Accept

1 tool - e.g. Agent accepts and pays from balance

accept_proposal

Verify

1 tool - e.g. Agent confirms delivery, releases escrow ($0.001)

verify_delivery

Decline

1 tool - e.g. Cancel a thread (free)

decline_thread

04 · Who maintains The402ai MCP Server

mcp-server is maintained by the402ai. It's the only MCP server we track from this author; the repo dates to Mar 2026.

05 · Facts

category
other - ranked #610 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.the402ai/mcp-server (active, first published 2026-03-21)
packages
npm:@the402/mcp-server

06 · The402ai MCP Server FAQ

Is The402ai MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-03-23. We re-verify nightly.

What can The402ai MCP Server do?

With this server connected, an agent can search services by keyword, category, type, price range, get full service details - pricing, input schema, provider reputation, start a conversation about a service ($0.001), and list your threads with status filter.

How do I install The402ai MCP Server?

Run `npx -y @the402/mcp-server`. The README documents one environment variable (THE402_API_KEY) to set first. You can also paste the ready-made client config above.

Does The402ai MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to The402ai MCP Server

More MCP servers to compare · Theabbie · Agent News by The Agent Times · Thecolonycc MCP Server · Psquare · Winsight

More TypeScript MCP servers · MIND · Glassbox Framework · Brainbox · Hermes Action Bridge · Totem · see all