A-Pay Protocol

Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents

사용해야 할까요

품질 및 안전성

A
설명 품질
92%
스키마 완전성
81%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~467토큰 (도구 정의)
~654 B일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.36%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "apay": {
      "command": "uvx",
      "args": [
        "apay"
      ]
    }
  }
}

실행 가능한 패키지

pypiapay0.1.8stdio

원격 엔드포인트

https://apay-network.vercel.app/api/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (5)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪apay_request(url, method, json_body, headers)

Probe and automatically pay HTTP 402 crypto micropayments on Base Layer 2 with USDC or $APAY within pre-configured budget limits.

입력 스키마

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The target endpoint URL"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "DELETE"
      ],
      "default": "GET"
    },
    "json_body": {
      "type": "object",
      "description": "Optional JSON request body"
    },
    "headers": {
      "type": "object",
      "description": "Optional additional HTTP headers"
    }
  },
  "required": [
    "url"
  ]
}
🟢apay_get_wallet_status

Inspect the agent's active non-custodial wallet address, network, current spending guardrails, and total spent in USDC and $APAY.

입력 스키마

{
  "type": "object",
  "properties": {}
}
🟡apay_set_budget(max_per_call_usdc, daily_budget_usdc, max_per_call_apay, daily_budget_apay)

Configure agent safety invariants and spending guardrails. Prevents runaway loops or overcharging.

입력 스키마

{
  "type": "object",
  "properties": {
    "max_per_call_usdc": {
      "type": "number",
      "description": "Maximum USDC allowance for a single API call"
    },
    "daily_budget_usdc": {
      "type": "number",
      "description": "Maximum USDC rolling 24-hour spending budget"
    },
    "max_per_call_apay": {
      "type": "number",
      "description": "Maximum $APAY token allowance for a single API call"
    },
    "daily_budget_apay": {
      "type": "number",
      "description": "Maximum $APAY token rolling 24-hour spending budget"
    }
  }
}
🟢apay_inspect_endpoint(url)

Inspect an endpoint to check if it requires an A-Pay micropayment, inspect the exact price quote, currency, and payout receiver without spending any funds.

입력 스키마

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The URL to probe for HTTP 402 payment requirements"
    }
  },
  "required": [
    "url"
  ]
}
🟢apay_get_balance(address)

Inspect the agent's live on-chain balances on Base Layer 2, including native ETH (for gas), USDC, and $APAY tokens.

입력 스키마

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Optional target EVM address to inspect balances for"
    }
  }
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 5개