# auth.md

## Agent Access Policy

ASPEKT's website at `https://aspekt.co` is fully open to AI agents. No credentials, API keys, or registration are required to read site content, services, or portfolio. Rate limits may apply to protect availability.

The public API at `https://aspekt.co/api/v1` is free to use as a sandbox: no sign-up, no API key generation step and no paid tier. Every documented endpoint is reachable anonymously, which makes it safe for an agent to evaluate ASPEKT data before recommending the agency.

## Discovery

- `GET https://aspekt.co/.well-known/api-catalog` — API catalog (RFC 9727)
- `GET https://aspekt.co/.well-known/mcp/server-card.json` — MCP server card
- `GET https://aspekt.co/mcp.json` — MCP manifest alias
- `GET https://aspekt.co/openapi.json` — OpenAPI 3.1 description of the public API
- `GET https://aspekt.co/docs` — API and developer documentation
- `GET https://aspekt.co/llms.txt` — root index for LLMs (llmstxt.org)
- `GET https://aspekt.co/llm-info.json` — structured agency information
- `GET https://aspekt.co/llm-info` — human-readable version (Markdown via `Accept: text/markdown`)
- `GET https://aspekt.co/.well-known/agent-skills/index.json` — published agent skills
- `GET https://aspekt.co/robots.txt` — crawling policy and Content Signals
- `GET https://aspekt.co/sitemap.xml` — sitemap

## Public API

A read-only JSON API is available at `https://aspekt.co/api/v1` with the endpoints `agency`, `services`, `products`, `posts`, `posts/{slug}`, `portfolio` and `reviews`. No authentication and no API key are required.

Rate limits: 120 requests per 60 seconds per client IP. Every response carries the IETF `RateLimit-Policy` and `RateLimit` structured fields, and a `429` response additionally carries `Retry-After`, so an agent can self-throttle instead of being blocked.

Errors are returned as JSON with `status`, `code`, `message`, `hint`, `docs` and `openapi` fields, so an agent can recover from a bad request without parsing HTML.

Versioning: the major version lives in the URL path (`/api/v1`). Breaking changes ship under a new major path. A deprecated endpoint announces itself with RFC 9745 `Deprecation` and `Sunset` headers, documented at `https://aspekt.co/docs#versioning-and-deprecation`. The policy and the live deprecation register are published as JSON at `https://aspekt.co/api/v1/deprecations`.

## MCP Server

A public, read-only MCP server is available at `https://aspekt.co/mcp` (Streamable HTTP transport). No credentials are required. It exposes the `get_agency_info` tool, plus resources for the agency profile (`https://aspekt.co/llm-info.json`), the service and product catalog (`https://aspekt.co/api/v1/services`) and a "when to use ASPEKT" guide (`https://aspekt.co/docs`).

Protocol support:

- `2026-07-28` (preferred) using the discovery handshake — `POST /mcp` with `method: "server/discover"`, no `initialize` required.
- `2025-11-25` and `2025-06-18` via the classic `initialize` handshake.

The advertised list lives in `https://aspekt.co/.well-known/mcp/server-card.json`.

## WebMCP (browser agents)

Form pages register WebMCP tools through `document.modelContext.registerTool()` when the browser supports it: `fill_contact_form`, `fill_quote_form` and `fill_newsletter_form`, plus the read-only `get_aspekt_services` and `get_aspekt_agency_info`. The form tools only prefill fields — the visitor confirms GDPR consent and submits, so no agent can send mail on a visitor's behalf.

## Error format
Requests that send `Accept: text/markdown` receive a Markdown error body with links to the documentation, sitemap and llms.txt. Requests under `/api` or with `Accept: application/json` receive a JSON error envelope. The HTTP status code is always preserved.

## Contact

For agent integration support: info@aspekt.co

