@p402/mcp Server
@Z333Q
About @p402/mcp Server
AI payment router for agents. Route 300+ LLMs via cost/quality/speed/balanced modes, enforce session budgets, and settle per-request in USDC on Base via x402 micropayments. 6 tools: p402_chat, p402_create_session, p402_get_session, p402_list_models, p402_compare_providers, p402_h
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"p402": {
"command": "npx",
"args": [
"-y",
"@p402/mcp-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is @p402/mcp Server?
@ p402/mcp Server is an AI payment router for agents that routes over 300 LLMs based on cost, quality, speed, or balanced modes, enforces session budgets, and settles per-request in USDC on Base via x402 micropayments. It is built in TypeScript and hosted in the cloud, charging a 1% flat fee.
How to use @p402/mcp Server?
Configure the MCP client to connect to the server, then invoke any of the six exposed tools: p402_chat, p402_create_session, p402_get_session, p402_list_models, p402_compare_providers, or p402_health.
Key features of @p402/mcp Server
- Routes 300+ LLMs by cost, quality, speed, or balance
- Enforces per-session budget limits
- Settles each request in USDC on Base
- Uses x402 micropayments for per-request settlement
- Charges a flat 1% fee on payments
- Exposes six MCP tools for interaction
Use cases of @p402/mcp Server
- An agent automatically selects the cheapest LLM for a given task within a budget
- A developer tests multiple model providers side-by-side via p402_compare_providers
- A user creates a session with a fixed budget and monitors spending with p402_get_session
- An application pays for each LLM call instantly using USDC micropayments
FAQ from @p402/mcp Server
What modes are available for routing?
Routing modes include cost, quality, speed, and balanced.
What is the fee structure?
A flat 1% fee is applied to each payment.
Which blockchain and token are used for settlement?
Settlement is done in USDC on the Base network via x402 micropayments.
What languages and runtime are supported?
The server is written in TypeScript and is deployed as a cloud-hosted service.
How many tools does the server provide?
Six tools: p402_chat, p402_create_session, p402_get_session, p402_list_models, p402_compare_providers, p402_health.
More Other MCP servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

EverArt
modelcontextprotocolModel Context Protocol Servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments