# AGENTS.md — RungLab DevTools MCP

## Quick Facts for AI Agents
- **Service**: RungLab DevTools MCP (`dev.runglab/devtools` v1.10.0)
- **Streamable HTTP MCP Endpoint**: `https://mcp-server.runglab.dev/mcp`
- **Authentication**: None required (`authentication.required = false`, zero cookies, zero PII storage)
- **Safety Guarantees**: All 15 tools declare `readOnlyHint: true` and `destructiveHint: false`
- **Machine-Readable Discovery**:
  - OpenAPI 3.1: `https://mcp-server.runglab.dev/openapi.json`
  - MCP Discovery: `https://mcp-server.runglab.dev/.well-known/mcp.json`
  - MCP Server Card: `https://mcp-server.runglab.dev/.well-known/mcp/server-card.json`
  - A2A Agent Card: `https://mcp-server.runglab.dev/.well-known/agent-card.json`
  - ARD Catalog: `https://mcp-server.runglab.dev/.well-known/ard.json`
  - AgentHermes Profile: `https://mcp-server.runglab.dev/.well-known/agent-hermes.json`
  - Documentation & Pricing: `https://mcp-server.runglab.dev/docs` · `https://mcp-server.runglab.dev/pricing` · `https://mcp-server.runglab.dev/llms-full.txt`
  - Health & Support: `https://mcp-server.runglab.dev/health` · `https://mcp-server.runglab.dev/status` · `https://mcp-server.runglab.dev/support` · `https://mcp-server.runglab.dev/.well-known/security.txt`

## 15 Available Read-Only Tools
- `audit_domain_readiness`: Audit a public domain for AI search (AEO), SPF/DMARC email, and security headers via ReadyCheck.
- `profile_mcp_tools`: Analyze MCP tool schemas for pre-prompt token cost ($4.50/1M), bloat, and schema hygiene.
- `check_spf_dmarc_syntax`: Validate RFC 7208 SPF and RFC 7489 DMARC TXT records for 10-lookup limits and PermError risks.
- `check_spdx_license_pair`: Check directional SPDX license compatibility when adding a dependency to a host project.
- `audit_openapi_spec`: Audit JSON OpenAPI 2.0/3.0/3.1 specs for OWASP API security hygiene and MCP/LLM token footprint.
- `check_security_headers`: Audit HTTP response headers for HSTS/CSP/CORS flaws and generate stack-specific hardened snippets.
- `audit_sbom_manifest`: Audit package.json, requirements.txt, go.mod, CycloneDX, or SPDX manifests for pinning, copyleft risk & readiness.
- `audit_checkout_pci_html`: Audit checkout HTML for PCI DSS 4.0.1 Req 6.4.3/11.6.1 scripts, SRI, trackers, CSP & SAQ scope.
- `audit_ai_transparency_html`: Audit HTML/headers for EU AI Act Art. 50 AI widgets, disclosure links, C2PA provenance & TDM tags.
- `audit_webhook_headers`: Audit HTTP/webhook response headers for RFC RateLimit, Retry-After, CORS safety, and HSTS/CSP/nosniff.
- `audit_consent_gdpr_html`: Audit HTML, Set-Cookie headers & GPC for GDPR, pre-consent trackers, Consent Mode v2 & dark patterns.
- `audit_wcag_accessibility_html`: Zero-outbound WCAG 2.2 AA & EAA HTML audit (landmarks, headings, alt, labels, focus, zoom, buttons).
- `audit_eu_cra_readiness`: Audit EU CRA (Reg. 2024/2847 Art. 13/14) posture from security.txt, CSAF/OpenVEX, SBOM & headers.
- `audit_auth_oauth_posture`: Zero-outbound OAuth 2.1/OIDC, RFC 9728, WebAuthn passkeys, Set-Cookie & login header audit.
- `audit_email_deliverability_dns`: Zero-outbound email DNS audit checking SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI & MX.

## Preferred Invocation Pattern
1. Send `POST https://mcp-server.runglab.dev/mcp` with JSON-RPC `{"jsonrpc":"2.0","id":1,"method":"tools/list"}`.
2. Call any tool with `tools/call` and parse the structured JSON in `result.content[0].text`.
3. Every response omits auth walls, enforces strict SSRF protection on domain checks, and links to a `$0`-upfront interactive scanner report.
