the402ai avatar

Mcp Server

the402ai/mcp-server

Connects Claude directly to the402.ai, an AI service marketplace running on USDC micropayments via Base. Browse and purchase services, manage conversation threads with providers, list your own offerings, handle subscriptions, and track earnings without leaving your editor. Works in browse-only mode for catalog access, or authenticate with an API key to transact from a pre-funded balance. Thirty tools cover everything from service discovery and price negotiation to product sales and referral tracking. Useful when you want agents to autonomously discover and pay for external services, or when you're running a service business and want native marketplace integration in MCP clients.

tools
30
transport
STDIO
last updated
Mar 21, 2026

Tools

30 tools

Public tool metadata for what this MCP can expose to an agent.

search_catalogSearch services by keyword, category, type, price range

Search services by keyword, category, type, price range

No parameter schema in public metadata yet.

get_serviceGet full service details — pricing, input schema, provider reputation

Get full service details — pricing, input schema, provider reputation

No parameter schema in public metadata yet.

get_platform_infoPlatform health, status, referral program details

Platform health, status, referral program details

No parameter schema in public metadata yet.

inquire_serviceStart a conversation about a service ($0.001)

Start a conversation about a service ($0.001)

No parameter schema in public metadata yet.

list_threadsList your threads with status filter

List your threads with status filter

No parameter schema in public metadata yet.

get_threadGet thread details + message history

Get thread details + message history

No parameter schema in public metadata yet.

send_messageSend a message in a thread (free)

Send a message in a thread (free)

No parameter schema in public metadata yet.

propose_priceProvider proposes a price (free)

Provider proposes a price (free)

No parameter schema in public metadata yet.

accept_proposalAgent accepts and pays from balance

Agent accepts and pays from balance

No parameter schema in public metadata yet.

verify_deliveryAgent confirms delivery, releases escrow ($0.001)

Agent confirms delivery, releases escrow ($0.001)

No parameter schema in public metadata yet.

decline_threadCancel a thread (free)

Cancel a thread (free)

No parameter schema in public metadata yet.

purchase_serviceBuy a fixed-price service

Buy a fixed-price service

No parameter schema in public metadata yet.

purchase_productBuy a digital product

Buy a digital product

No parameter schema in public metadata yet.

create_serviceList a new service on the marketplace

List a new service on the marketplace

No parameter schema in public metadata yet.

update_serviceUpdate service details or status

Update service details or status

No parameter schema in public metadata yet.

delete_serviceRemove a service listing

Remove a service listing

No parameter schema in public metadata yet.

list_plansBrowse subscription plans (no auth)

Browse subscription plans (no auth)

No parameter schema in public metadata yet.

subscribe_to_planSubscribe and pay first period

Subscribe and pay first period

No parameter schema in public metadata yet.

manage_subscriptionCancel, pause, or resume

Cancel, pause, or resume

No parameter schema in public metadata yet.

create_planProvider creates a plan

Provider creates a plan

No parameter schema in public metadata yet.

manage_planProvider updates or deletes a plan

Provider updates or deletes a plan

No parameter schema in public metadata yet.

browse_productsSearch digital product catalog (no auth)

Search digital product catalog (no auth)

No parameter schema in public metadata yet.

list_purchasesList your purchased products

List your purchased products

No parameter schema in public metadata yet.

manage_productProvider creates, updates, or deletes products

Provider creates, updates, or deletes products

No parameter schema in public metadata yet.

check_balanceCheck pre-funded USDC balance

Check pre-funded USDC balance

No parameter schema in public metadata yet.

balance_historyTransaction history

Transaction history

No parameter schema in public metadata yet.

provider_earningsProvider earnings breakdown

Provider earnings breakdown

No parameter schema in public metadata yet.

referralsGet referral code, list referrals, view earnings, withdraw

Get referral code, list referrals, view earnings, withdraw

No parameter schema in public metadata yet.

get_participantView a participant's profile (no auth)

View a participant's profile (no auth)

No parameter schema in public metadata yet.

update_profileUpdate your profile (API key)

Update your profile (API key)

No parameter schema in public metadata yet.

Sponsors

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:

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

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:


View the full README on GitHub

Details

Repository
github.com/the402ai/mcp-server
Category
AI & LLM Tools
Package
@the402/mcp-server
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1xingbofeng avatarSkill Deckxingbofeng/skill-deckExpose local Agent Skills as adapter tools, MCP resources, MCP tools, and share artifacts.1stars
22fizzle avatarBIP Skills MCP2fizzle/bip-skills-mcpServes Agent Skills folders (SKILL.md + bundled files) to any MCP client. Bundles bip-xsl-hardening.0stars
3aaronkpickrell avatarMyagi - Open Agent Registryaaronkpickrell/openagent-registryScore any website's AI-agent readiness. Open Agent Registry scanner + platform tools.0stars
4acarchidi avatarAgentforgeacarchidi/agentforgeSafety checks for AI agents: preflight before signing, prompt-injection scan, sanctions, rug checks.0stars
5achilliesbot avatarAgentiam Mcpachilliesbot/agentiam-mcpStdio MCP wrapper for AgentIAM's 18 x402 endpoints — agent safety + intelligence on Base.0stars
6achreftlili avatarCode Indexachreftlili/code-indexSQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.0stars