Feedback

Basic information

Version
1.0.0
Category
License
MIT
Transports
stdio
Author
z333q
Submitted by
Community
Quality
15

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

@p402/mcp Server is a MCP server in the Other category listed in the AddMCP.net directory, published by Z333Q. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: base, finance, llm, micropayments, payments.

Setup

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

@p402/mcp Server config

Add this server to your MCP-compatible client using the configuration below.

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

@p402/mcp Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1 What modes are available for routing?

Routing modes include cost, quality, speed, and balanced.

2 What is the fee structure?

A flat 1% fee is applied to each payment.

3 Which blockchain and token are used for settlement?

Settlement is done in USDC on the Base network via x402 micropayments.

4 What languages and runtime are supported?

The server is written in TypeScript and is deployed as a cloud-hosted service.

5 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬