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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@p402/mcp-server 1.0.0
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.