HTTP 402 AI Tollbooth — a pay-per-call API tollbooth demo with free previews, Lightning Network settlement, and MCP server integration. Includes a runnable Node 22+ agent recovery sample.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add --transport http http-402-ai-tollbooth https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp~/.codex/config.toml
[mcp_servers.http-402-ai-tollbooth]
url = "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
# codex mcp add http-402-ai-tollbooth --url https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"http-402-ai-tollbooth": {
"url": "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"http-402-ai-tollbooth": {
"type": "http",
"url": "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"http-402-ai-tollbooth": {
"httpUrl": "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"http-402-ai-tollbooth": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"http-402-ai-tollbooth": {
"url": "https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp"
}
}
}