@p402/mcp Server

by Z333Q

257 downloads
Not rated
GitHub

About

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

Details

Author
Z333Q
Downloads
257
Categories
Other, Finance, AI

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name @p402/mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

{
    "p402": {
        "command": "npx",
        "args": [
            "-y",
            "@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_health. 1% flat fee. TypeScript, cloud-hosted.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.