# agentguard — policy proxy for agent tool calls

> Free spend report from an agent log, no key. Hosted proxies: caps, audit export, buy calls.

- name: io.github.agentwares/agentguard-cloud
- version: 0.2.0
- connection class: R0 (autonomous)
- trust: 90/100 flags: duplicate-repo
- quality: 95/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.agentwares%2Fagentguard-cloud
- tools: https://api.protogrid.dev/v1/servers/io.github.agentwares%2Fagentguard-cloud/tools

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

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "agentguard-cloud": {
      "type": "http",
      "url": "https://agentwares-agentguard.vercel.app/api/mcp",
      "headers": {
        "Authorization": "Bearer ${AGENTGUARD_CLOUD_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${AGENTGUARD_CLOUD_TOKEN}`.

## Trust

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

## Quality 95/100 (strong)

### protocol: 100 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- pass `protocol.list_ttl`: tool list is cacheable (ttlMs 300000)

### 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: 100 (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
- pass `tools.annotations`: 7 of 7 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 1,514 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 75 (weight 15)

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

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

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 7, about 1,514 tokens to load them all
- tool set hash: cde60812a8a8cc4f0a0eca24d7afc6f9
- tools last changed: 2026-10-12T05:32:20.307Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.agentwares/agentguard-cloud.svg)](https://protogrid.dev/servers/io.github.agentwares/agentguard-cloud)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-12 `okgate_get_pricing` changed (description)
  - before: Machine-readable pricing for okgate hosted: bands (Starter/Pro/Team) with included tool calls per month, the 80% soft alert and 150% hard stop, features, the free trial allowance, `per_call` — buying tool calls outright at POST /api/v1/calls from a prepaid balance, which is the one purchase here an unattended agent can complete — and `one_time`: the $49 EU AI Act Article 50 readiness report, paid once by a person on Stripe Checkout. Same data as /pricing.json.
  - after: Machine-readable pricing for okgate hosted: bands (Starter/Pro/Team) with included tool calls per month, the 80% soft alert and 150% hard stop, features, the free trial allowance, `per_call` — buying tool calls outright at POST /api/v1/calls from a prepaid balance, which is the one purchase here an unattended agent can complete — and `one_time`: reports a person pays for once on Stripe Checkout, such as the $49 EU AI Act Article 50 readiness report. Same data as /pricing.json.
- 2026-10-10 `okgate_get_pricing` changed (description)
  - before: Machine-readable pricing for okgate hosted: bands (Starter/Pro/Team) with included tool calls per month, the 80% soft alert and 150% hard stop, features, the free trial allowance, and `per_call` — buying tool calls outright at POST /api/v1/calls from a prepaid balance, which is the one purchase here an unattended agent can complete. Same data as /pricing.json.
  - after: Machine-readable pricing for okgate hosted: bands (Starter/Pro/Team) with included tool calls per month, the 80% soft alert and 150% hard stop, features, the free trial allowance, `per_call` — buying tool calls outright at POST /api/v1/calls from a prepaid balance, which is the one purchase here an unattended agent can complete — and `one_time`: the $49 EU AI Act Article 50 readiness report, paid once by a person on Stripe Checkout. Same data as /pricing.json.
- 2026-10-09 `okgate_recommend_allowlist` changed (annotations)
- 2026-10-09 `okgate_export_audit` changed (annotations)
- 2026-10-09 `okgate_get_run` changed (annotations)
- 2026-10-09 `okgate_set_policy` changed (annotations)
- 2026-10-09 `okgate_create_proxy` changed (annotations)
- 2026-10-09 `okgate_spend_report` changed (annotations)
- 2026-10-09 `okgate_get_pricing` changed (annotations)
- 2026-10-09 `agentguard_recommend_allowlist` removed
  - Least-privilege recommendation from the proxy's recorded calls: the minimal tool allowlist, argument keys used per tool, and the upstream tools never used (remove them first). No LLM call here; apply it in the dashboard. Requires an account key.

Full history: https://api.protogrid.dev/v1/servers/io.github.agentwares%2Fagentguard-cloud/changes

## Remotes

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

## Packages

_none_

## Tools (7)

- `okgate_create_proxy`: Create a hosted okgate proxy in front of an MCP server. Returns the proxy id, the per-customer MCP URL and the proxy key (shown once). Point your agent's MCP client at the URL with `Authorization: Bearer <key>`. Requires an account key.
- `okgate_export_audit`: Export a run's hash-chained audit entries (prev_hash, hash, redacted args) with the Merkle root, for disputes and questionnaires. Verify offline with sha256(prev_hash + canonical(entry)). Requires an account key.
- `okgate_get_pricing`: Machine-readable pricing for okgate hosted: bands (Starter/Pro/Team) with included tool calls per month, the 80% soft alert and 150% hard stop, features, the free trial allowance, `per_call` — buying tool calls outright at POST /api/v1/calls from a prepaid balance, which is the one purchase here an unattended agent can complete — and `one_time`: reports a person pays for once on Stripe Checkout, such as the $49 EU AI Act Article 50 readiness report. Same data as /pricing.json.
- `okgate_get_run`: The incident-shaped report for one run: counts (calls, reads, writes, faked, blocked, spend), the call timeline with decisions, dry-run mutations (what would have changed), ledger entries and the audit-chain verification. Requires an account key.
- `okgate_recommend_allowlist`: Least-privilege recommendation from the proxy's recorded calls: the minimal tool allowlist, argument keys used per tool, and the upstream tools never used (remove them first). No LLM call here; apply it in the dashboard. Requires an account key.
- `okgate_set_policy`: Replace a proxy's policy (YAML: mode, upstreams, classify, caps, loop, dry_run, approvals, alerts, chaos, drift). Validated before saving; takes effect within 30 seconds. Requires an account key.
- `okgate_spend_report`: Read an agent log and report what it spent: totals, calls by tool and by class, estimated
dollars by rail, loops, the largest single run, and — for every overspend — the okgate
band whose cap would have stopped it, the exact cap, and the call that would have tripped
it.

Needs no account and no key. The log is read in the request and discarded; nothing is
stored. Accepts an agentwares audit export (`agentwares.audit/v1`), a Claude Code session
`.jsonl`, or a CSV/JSONL of tool calls with any of `tool`, `ts`, `class`, `amount_usd`,
`rail`, `run_id`, `model`, `input_tokens`, `output_tokens`.

Caps come from the proxy's own default policy, so a band named here refuses exactly what
it says it refuses. Buying that band is a checkout a person completes; the calls-only
purchase an unattended agent can complete is in `okgate_get_pricing` instead.
