# TautFrame Developer and Agent Documentation

> Integration manual for the Movement Reference Atlas, `<biomech-viewer>`, `biomech-mcp`, Markdown content negotiation, and prepaid `order_token` rendering.

## 1. Markdown Content Negotiation

Send `Accept: text/markdown` to public Hub pages (`/`, `/coaches`, `/academies`, `/studios`, `/creators`, `/docs`, `/atlas/`, `/atlas/<slug>`) or append `.md` to `/docs.md` and `/atlas/<slug>.md`.
Responses return `Content-Type: text/markdown; charset=utf-8`, `Vary: Accept`, `X-Markdown-Tokens`, and a `Link: <...>; rel="alternate"; type="text/markdown"` header.

## 2. Discovery Endpoints

- `GET https://tautframe.com/llms.txt`: Compact Markdown site directory
- `GET https://tautframe.com/llms-full.txt`: Complete Markdown reference manifest
- `GET https://tautframe.com/.well-known/mcp/server-card.json`: MCP server card
- `GET https://tautframe.com/.well-known/agent-card.json`: Agent capability card
- `GET https://tautframe.com/.well-known/openapi.json`: OpenAPI 3.1 specification

## 3. Embeddable <biomech-viewer> Web Component (MIT)

```html
<biomech-viewer
  src="https://tautframe.com/renders/demo/overhead-squat-bioscan.glb"
  slug="overhead-squat-bioscan"
  atlas-base-url="https://tautframe.com/atlas"
  exposure="1.0"
  auto-rotate>
</biomech-viewer>
```

Every `<biomech-viewer>` instance displays orbit presets, an exposure slider, a deterministic `CC BY 4.0` Atlas attribution link, and an assumption-of-risk wellness notice.

## 4. MCP Server (uvx biomech-mcp)

```json
{
  "mcpServers": {
    "biomech": {
      "command": "uvx",
      "args": ["biomech-mcp"]
    }
  }
}
```

Read-only tools (`list_atlas_movements`, `get_movement_reference`, `validate_pack_spec`) run freely with zero credentials. Server-side rendering (`submit_render_job` -> `POST /api/jobs`) requires a prepaid `order_token` (`bts_...`) obtained from Stripe Managed Payments checkout (`/checkout/<sku>`); unpaid calls return structured `402` guidance.

## 5. General Wellness Boundary and Support

- Educational biomechanical visualization only under the FDA January 6, 2026 Revised General Wellness Policy. Exercise form, posture symmetry, relaxation, and movement reference only; not medical diagnosis, clinical advice, or treatment instruction.
- Anatomical mesh segments derived from BodyParts3D (DBCLS), licensed under CC BY 4.0.
- Support: support@tautframe.com
