# auth.md - anc.dev agent authentication

anc.dev publishes a public catalog of the agent-native CLI standard. The programmatic surfaces
below require **no authentication, no API key, and no agent registration**.

## Audience

AI agents and MCP clients (Claude Code, Codex, Cursor, custom runtimes) that query the
agent-native CLI standard: scorecards, the eight principles, and the vendored spec.

## Endpoints

- MCP server (streamable HTTP): `https://anc.dev/mcp` - JSON-RPC, MCP spec revision `2026-07-28`. GET returns 405.
- MCP endpoint docs: `https://anc.dev/mcp-docs.md`.
- MCP server card (SEP-1649): `https://anc.dev/.well-known/mcp/server-card.json`.
- MCP server card (SEP-2127): `https://anc.dev/mcp/server-card`.
- AI catalog: `https://anc.dev/.well-known/ai-catalog.json`.
- MCP pointer aliases (301 to the SEP-1649 card): `https://anc.dev/.well-known/mcp`, `https://anc.dev/mcp.json`.
- API catalog: `https://anc.dev/.well-known/api-catalog`.
- Client guide: `https://anc.dev/mcp-skill.md`.

## Authentication method

None. The catalog is open by design and the inventory is published. No API key and no agent
registration are required. Agents call the MCP endpoint directly over HTTPS; `Authorization`
headers are ignored.

The SEP-1649 server card (`/.well-known/mcp/server-card.json`) declares `authentication.required: false`
and points here via `authentication.documentation`.

## CORS posture

Public discovery metadata (server card, api-catalog) returns
`Access-Control-Allow-Origin: *` because these are read-only catalogs meant for cross-origin
agent tools and automated scanners. No secrets are exposed.

`POST /mcp` deliberately omits CORS so a malicious web page cannot drive JSON-RPC calls
(including metered `score_cli` audits) against the visitor IP. MCP clients are server-side
agent runtimes, not browser tabs.

## Credential use

No credentials are issued or required. Agents call the MCP endpoint directly over HTTPS.

## Rate limits

Reads are gated at 60 requests per 60 seconds per IP. The cost-bearing live-scoring tool
(`score_cli`) is metered separately at 5 fresh audits per 60 minutes per IP. Both are keyed on
the client IP; there is no per-agent identity.

## Contact

mailto:97-boss-beetle@icloud.com
