# AgentDiet A2A & MCP Pre-Flight Security Audit & TDQS Certification

> AgentDiet A2A & MCP Pre-Flight Security Audit & TDQS Certification is a paid API for AI agents from preflight.agentdiet.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Runs a security and readiness audit on an A2A or MCP HTTP endpoint, certifying it for x402 payment compatibility and prompt-injection safety.

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/certify?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-a2a-mcp-pre-flight-security-audit-tdqs-certification-4ebfdca2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fCL638GrXygIanFs1V5Vi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-a2a-mcp-pre-flight-security-audit-tdqs-certification-4ebfdca2
```

Example prompt: Can you run a pre-flight security audit on my MCP endpoint at https://myservice.example.com/mcp using a GET request and tell me if it passes TDQS certification and is safe from prompt injections?

## When to prefer this

Choose this endpoint when you need to certify an A2A or MCP HTTP endpoint for security and x402 payment readiness before integrating it into an AI agent pipeline. It is especially valuable for detecting hidden prompt injections in third-party tools and obtaining a TDQS compliance certificate. Prefer this over generic HTTP scanners when you specifically need agent-protocol readiness auditing.

## Known failure modes

- Target URL is unreachable or returns non-2xx — audit fails with connectivity error
- Missing required 'type' or 'method' fields — returns 400 validation error
- Target endpoint has malformed or non-standard responses — partial audit with warnings
- Rate limiting or payment failure — returns 402 or 429 with retry guidance

## How this service works

Assay A2A & MCP Pre-Flight Security Audit & TDQS Certification ($0.005 Base USDC) (https://preflight.agentdiet.dev/v1/certify)

## Output

Returns a structured audit report including TDQS certification status, prompt-injection findings, x402 payment readiness assessment, and an overall security grade for the scanned HTTP endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "target": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-a2a-mcp-pre-flight-security-audit-tdqs-certification-4ebfdca2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
