# auth.md

You are an agent. This file tells you how to authenticate to ZivTrack's agent endpoints. The short
answer: you do not. Everything zivtrack.com publishes for agents is public, read-only and
unauthenticated on purpose. There is no API key, no OAuth flow and no account to create.

ZivTrack gives therapists, counselors and coaches a short daily check-in for each client, called a
Ziv. People who want the product start at [zivtrack.com](https://zivtrack.com/).

## Auth posture

| Surface | Auth required | Notes |
| --- | --- | --- |
| MCP server, `https://zivtrack.com/mcp` | None | Streamable HTTP, JSON-RPC 2.0 over POST. Protocol versions 2025-11-25, 2025-06-18 and 2025-03-26. Eight read-only tools and every published page as a resource. |
| A2A agent, `https://zivtrack.com/a2a` | None | A2A 1.0 over JSON-RPC (`SendMessage`, `GetAgentCard`). Also answers the v0.3.0 method names. Synchronous: no tasks, streaming or push. |
| Site pages, `https://zivtrack.com` | None | Canonical HTML. Send `Accept: text/markdown` to get a page's Markdown copy instead. |
| `/content-index.json`, `/markdown/*.md` | None | Every indexable page with its Markdown copy, generated from the published HTML on every deploy. |
| `/llms.txt`, `/llms-full.txt` | None | Curated index and full text of the site. |
| `/.well-known/mcp/server-card.json` | None | MCP transport, protocol versions, capabilities and tools. |
| `/.well-known/agent-card.json` | None | A2A Agent Card: interface, capabilities and skills. `/.well-known/agent.json` is the v0.3.0 shape. |
| `/.well-known/agent-skills/index.json` | None | One Agent Skill describing how to use the MCP server, with its sha256 digest. |
| `/.well-known/api-catalog` | None | RFC 9727 linkset for the surfaces above. |
| Forms on the site (contact, guide, coaching inquiry) | Not agent callable | For people. They are protected by Cloudflare Turnstile. |

ZivTrack publishes no OAuth authorization server or protected resource metadata, and no Web Bot
Auth key directory, because it has no protected agent API and sends no signed bot traffic.

## Rate limits

ZivTrack sets no per-client limit in code. The endpoints run on Cloudflare, which can slow or block
abusive traffic. Cache what you read, and keep to a few requests a second.

## What the endpoints will not do

They read published pages only. Nothing here signs anyone up, books a demo or a call, takes a
payment or sends a message. To act for a person, give them the public route from the
`how_to_contact` tool, or the sign-up link from `get_app_overview`, and let them use it.

## Calling the MCP server

```http
POST https://zivtrack.com/mcp
Content-Type: application/json
Accept: application/json, text/event-stream

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"your-agent","version":"1.0"}}}
```

Then call `tools/list`, and `tools/call` with one of: `get_app_overview`, `get_pricing`,
`get_coaching_offers`, `get_faq`, `how_to_contact`, `search_site`, `get_page`, `list_pages`.
Answers come back as JSON in `structuredContent`. An unsupported `MCP-Protocol-Version` header gets
HTTP 400 listing the versions served. GET and DELETE on `/mcp` answer 405: the server never opens a
stream and keeps no session.

## Calling the A2A agent

```http
POST https://zivtrack.com/a2a
Content-Type: application/json
A2A-Version: 1.0

{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"1","role":"ROLE_USER","parts":[{"text":"How much does ZivTrack cost?"}]}}}
```

Set `params.metadata.skillId` to pick a skill (`app_overview`, `pricing`, `coaching_offers`, `faq`,
`contact`, `search_site`, `get_page`, `list_pages`); otherwise the agent picks one from your text.
The reply has a plain-text summary part and a JSON data part with the published facts.

## Citing

Every answer comes from a page on zivtrack.com and carries its URL. Quote the published wording and
link the page.
