# A-Pay Protocol

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

- name: io.github.neuralaisofficial-lang/apay
- version: 0.1.8
- connection class: R0 (autonomous)
- trust: 94/100
- quality: 83/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.neuralaisofficial-lang%2Fapay
- tools: https://api.protogrid.dev/v1/servers/io.github.neuralaisofficial-lang%2Fapay/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "apay": {
      "type": "http",
      "url": "https://apay-network.vercel.app/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-100% +updated-23d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 83/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: apay_set_budget (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); apay_inspect_endpoint (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); apay_get_wallet_status (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 456 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: 100 (weight 15)

- pass `deps.known_vulns`: no known advisory in 33 resolved packages
- n/a `deps.mcp_sdk_version`: the official MCP SDK is not in the dependency graph
- pass `deps.resolvable`: apay@0.1.8 resolved: 33 packages

- tools: 5, about 456 tokens to load them all
- tool set hash: c3959256ef2ed9a957c7de15bb61a343
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.neuralaisofficial-lang/apay.svg)](https://protogrid.dev/servers/io.github.neuralaisofficial-lang/apay)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- pypi apay@0.1.8: resolved, 32 dependencies

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://apay-network.vercel.app/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- pypi apay@0.1.8 secrets: APAY_PRIVATE_KEY

## Tools (5)

- `apay_get_balance`: Inspect the agent's live on-chain balances on Base Layer 2, including native ETH (for gas), USDC, and $APAY tokens.
- `apay_get_wallet_status`: Inspect the agent's active non-custodial wallet address, network, current spending guardrails, and total spent in USDC and $APAY.
- `apay_inspect_endpoint`: 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.
- `apay_request`: Probe and automatically pay HTTP 402 crypto micropayments on Base Layer 2 with USDC or $APAY within pre-configured budget limits.
- `apay_set_budget`: Configure agent safety invariants and spending guardrails. Prevents runaway loops or overcharging.
