# Kavach KYA Firewall

> Non-custodial agent spend policy firewall with 2FA holds and sub-50ms kill-switch.

- name: com.srigenmedia/kavach-kya
- version: 0.1.0
- connection class: R1 (autonomous)
- trust: 99/100
- quality: 89/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.srigenmedia%2Fkavach-kya
- tools: https://api.protogrid.dev/v1/servers/com.srigenmedia%2Fkavach-kya/tools

**An agent can connect on its own if it already holds `KAVACH_KYA_TOKEN`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "kavach-kya": {
      "type": "http",
      "url": "https://kavach.srigenmedia.com/mcp",
      "headers": {
        "Authorization": "Bearer ${KAVACH_KYA_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${KAVACH_KYA_TOKEN}`.

## Trust

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

## Quality 89/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-03-26; 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: 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`: 3 of 3 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 633 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

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

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 5 of the 7 days needed

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

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @srigenmedia/kavach-mcp@0.1.0

- tools: 3, about 633 tokens to load them all
- tool set hash: a7d44f67049d0bc7798dd36899046598
- badge: [![protogrid quality](https://protogrid.dev/badge/com.srigenmedia/kavach-kya.svg)](https://protogrid.dev/servers/com.srigenmedia/kavach-kya)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Dependencies

- npm @srigenmedia/kavach-mcp@0.1.0: unknown

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://kavach.srigenmedia.com/mcp (streamable-http, auth api_key ${KAVACH_KYA_TOKEN}, reachable true, uptime30d 0.9583333)

## Packages

- npm @srigenmedia/kavach-mcp@0.1.0 secrets: KAVACH_API_KEY

## Tools (3)

- `kavach_check_spend_policy`: Evaluate an agent spend 5-tuple against Kavach KYA velocity limits, merchant allowlists, and prompt-injection guards prior to payment.
- `kavach_get_agent_status`: Inspect a KYA agent's live eligibility_flag (0/1), daily velocity spend, and active policy limits.
- `kavach_trigger_kill_switch`: Atomically flip eligibility_flag = 0 in <50ms and propagate agent revocation to downstream 402-in-a-Box gateways.
