Toll402 MCP Server
by toll402dev.toll402/toll402-mcpv0.5.1
Pay-per-call tools for agents: 2,600+ APIs, OAuth connector; pay with x402 or card credits.
context tax
queued
security
queued
cold start
queued
freshness
Active10d ago
Install Toll402 MCP server
Install in Claude Code
claude mcp add toll402 -e TOLL402_WALLET_KEY='<toll402-wallet-key>' -e TOLL402_API_KEY='<toll402-api-key>' -- npx -y toll402-mcpInstall in Cursor
{
"mcpServers": {
"toll402": {
"command": "npx",
"args": [
"-y",
"toll402-mcp"
],
"env": {
"TOLL402_WALLET_KEY": "<toll402-wallet-key>",
"TOLL402_API_KEY": "<toll402-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"toll402": {
"command": "npx",
"args": [
"-y",
"toll402-mcp"
],
"env": {
"TOLL402_WALLET_KEY": "<toll402-wallet-key>",
"TOLL402_API_KEY": "<toll402-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"toll402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"toll402-mcp"
],
"env": {
"TOLL402_WALLET_KEY": "<toll402-wallet-key>",
"TOLL402_API_KEY": "<toll402-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"toll402": {
"command": "npx",
"args": [
"-y",
"toll402-mcp"
],
"env": {
"TOLL402_WALLET_KEY": "<toll402-wallet-key>",
"TOLL402_API_KEY": "<toll402-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TOLL402_WALLET_KEY | — | yes | 0x private key of a wallet holding USDC on Base (pays per call via x402). Use this or TOLL402_API_KEY. |
| TOLL402_API_KEY | — | yes | Prepaid-credits key (tk_…) bought by card at https://toll402.dev/credits. Use this or TOLL402_WALLET_KEY. |
| TOLL402_URL | — | — | Gateway URL |
| TOLL402_MAX_USD | — | — | Max USD per single call |
| TOLL402_REF | — | — | Referrer wallet (0x) that earns a share of your calls |
Remote endpoints
- streamable-http
https://toll402.dev/connector/mcp
Freshness
Active — last maintenance signal 10d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-29 · 10d ago · GitHub
Latest release
2026-09-29 · 10d ago · GitHub · v0.5.0-desktop
Package published
no data · npm/PyPI
Registry entry updated
2026-09-29 · 10d ago · official registry · v0.5.1
FAQ
›How do I install the Toll402 MCP server in Claude Code?
Run: claude mcp add toll402 -e TOLL402_WALLET_KEY='<toll402-wallet-key>' -e TOLL402_API_KEY='<toll402-api-key>' -- npx -y toll402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Toll402 require an API key?
Yes. It expects TOLL402_WALLET_KEY, TOLL402_API_KEY, of which 2 are secrets.
›Can I use Toll402 as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Toll402 in the official MCP registry?
Yes, as dev.toll402/toll402-mcp.