# auth.md — Set Calculator

This site provides a **public, client-side** set operations calculator. No login or API key is required to use the tools exposed through WebMCP or the browser UI.

## Audience

- Human visitors using the web calculator
- AI agents consuming markdown (`Accept: text/markdown`) or WebMCP tools on the homepage

## Registration

Anonymous access is supported. Agents do not need to register before using the calculator.

| Method | Endpoint | Notes |
| --- | --- | --- |
| Anonymous | `/` | Use WebMCP tools registered on page load |
| Documentation | `/auth.md` | This file |
| OpenAPI | `/openapi.json` | Machine-readable operation schema |

## OAuth metadata

- Protected resource metadata: `/.well-known/oauth-protected-resource`
- Authorization server metadata: `/.well-known/oauth-authorization-server`
- OpenID Connect discovery: `/.well-known/openid-configuration`

## Scopes

| Scope | Description |
| --- | --- |
| `set.read` | Read current calculator state |
| `set.compute` | Compute union, intersection, or difference |

## Credentials

No bearer token is required. All computation runs locally in the browser.