Koskamo

P402 MCP

Multi-provider AI router with x402 micropayment settlement on Base L2. It handles intelligent multi-provider routing across 300+ models, on-chain micropayment settlement via the x402 protocol, and spending guardrails for autonomous agents.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

P402 MCP logo, by Z333QCommunity listingLocal stdioSource reviewed; not executedPublished by Z333Q
You need:Configure API Key from the command palette
Vendor documentation

What you can do with it

  • Route across 300+ AI models automatically
  • Settle per request in USDC on Base
  • Enforce hard spending caps for autonomous agents

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@p402/mcp-server 1.0.0

npm
@p402/mcp-server package definition
{
  "version": "1.0.0",
  "transport": "stdio",
  "identifier": "@p402/mcp-server",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "P402_API_KEY",
      "format": "string",
      "isRequired": true,
      "description": "Your P402 API key. Get one at https://p402.io/dashboard/settings"
    },
    {
      "name": "P402_ROUTER_URL",
      "format": "string",
      "description": "P402 router base URL override. Defaults to https://p402.io"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "p402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@p402/mcp-server@1.0.0"
      ],
      "env": {
        "P402_API_KEY": "<YOUR_P402_API_KEY>",
        "P402_ROUTER_URL": "<YOUR_P402_ROUTER_URL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "p402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@p402/mcp-server@1.0.0"
      ],
      "env": {
        "P402_API_KEY": "<YOUR_P402_API_KEY>",
        "P402_ROUTER_URL": "<YOUR_P402_ROUTER_URL>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "p402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@p402/mcp-server@1.0.0"
      ],
      "env": {
        "P402_API_KEY": "<YOUR_P402_API_KEY>",
        "P402_ROUTER_URL": "<YOUR_P402_ROUTER_URL>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "p402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@p402/mcp-server@1.0.0"
      ],
      "env": {
        "P402_API_KEY": "<YOUR_P402_API_KEY>",
        "P402_ROUTER_URL": "<YOUR_P402_ROUTER_URL>"
      }
    }
  }
}

Let your agent find its tools

Find servers like P402 MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.