关于 x402 Preflight
在自主 Agent 使用 USDC 付费之前,检查并验证 x402 端点。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://x402.chikocorp.com/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http chico10117-x402-preflight https://x402.chikocorp.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"chico10117-x402-preflight":{"type":"http","url":"https://x402.chikocorp.com/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"chico10117-x402-preflight":{"type":"http","url":"https://x402.chikocorp.com/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"chico10117-x402-preflight":{"type":"http","url":"https://x402.chikocorp.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"chico10117-x402-preflight":{"serverUrl":"https://x402.chikocorp.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
3| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| method | enum | 否 | GET | HEAD | POST |
| resource_url | string | 是 | 无需支付凭据即可检查的公开 HTTPS x402 资源。 |
| max_price_usd | number | 否 | |
| expected_network | string | 否 |
详细介绍
维护者还没有提供详细介绍,可以先查看代码仓库中的 README。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。