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#"
}커뮤니티
증거