mcp
Let your AI assistant pay for web content in USDC (x402) within a budget you set.
我该使用它吗
质量与安全性
发现(1)
- LOW在 check_price 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"@p2flux/mcp"
]
}
}
}可运行的软件包
0.3.1stdio远程端点
https://agent.p2flux.com/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢find_paid_content(query)
Search the P2Flux directory for websites that sell content to AI agents. Returns site names, what they offer and the price per page. Costs nothing.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 100,
"description": "Words to look for, e.g. \"soup recipes\". Empty lists the newest sites."
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢check_price(url, access_tokens)
See what a web page costs for an AI agent, without paying.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"description": "The page address (https)."
},
"access_tokens": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 10,
"description": "Access tokens exactly as get_paid_page gave them (host|token|seal). Each is sent only to the site it was given for; others are ignored."
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢request_paid_page(url, max_price, access_tokens)
Ask to read a paid web page. Returns a link the USER must open to approve the payment in their own wallet - show the link and the price to the user and wait. Then call get_paid_page with the request_id. Nothing is paid without the user approving it.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"description": "The page address (https)."
},
"max_price": {
"type": "string",
"maxLength": 12,
"description": "The most to pay for this page, in USDC, e.g. \"0.10\". Required, after asking the user, for anything above a few USDC (a subscription)."
},
"access_tokens": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 10,
"description": "Access tokens exactly as get_paid_page gave them (host|token|seal). Each is sent only to the site it was given for; others are ignored."
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_paid_page(request_id)
Get the text of a page after the user approved its payment (see request_paid_page).
输入模式
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"maxLength": 64,
"description": "The request_id from request_paid_page."
}
},
"required": [
"request_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据