mcp
Let your AI assistant pay for web content in USDC (x402) within a budget you set.
使うべきか
品質と安全性
検出事項(1)
- LOWcheck_price 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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#"
}コミュニティ
エビデンス