# Australian Christian Arts public discovery API

Version: `1.0.0`. Base URL: `https://www.australianchristianarts.com`.

These anonymous, read-only interfaces provide a directory of public website
page titles, paths and canonical URLs. They do not retrieve full page text,
answer arbitrary questions or access private systems. No account, registration,
API key or OAuth flow is required. See [auth.md](/auth.md).

## HTTP directory

| Request | Response |
| --- | --- |
| `GET /api/discovery` | `{name, version, readOnly: true, pages: [{path, title, url}]}` |
| `GET /api/discovery?q=choir` | `{query, results: [{path, title, url}], count}` |
| `GET /api/discovery?path=/choir` | `{page: {path, title, url}}` |
| `GET /api/discovery?health=1` | `{status: "ok", version, readOnly: true}` |

Search matches title/path keywords; it does not search page bodies. Queries
must contain 1 to 300 characters. Paths must contain 1 to 200 characters and
match a published directory path. Invalid input returns `400`; unknown paths
return `404`. Open returned canonical URLs for current dates, fees and details.

The [OpenAPI contract](/openapi.json) describes the public interfaces.
The [RFC 9727 catalog](/.well-known/api-catalog) links each API to this
documentation, its service description and the shared discovery health check.

## MCP

Connect to `/mcp` using stateless Streamable HTTP. Requests use
`Content-Type: application/json` and `Accept: application/json, text/event-stream`.
The supported MCP protocol revision is `2025-11-25` with `initialize`,
`notifications/initialized`, `notifications/cancelled`, `ping`, `tools/list`
and `tools/call`.
The server offers tools only, with no resources, prompts or server event stream.
After `initialize`, send `MCP-Protocol-Version: 2025-11-25` on every request.
MCP browser callers must use the site's apex or `www` origin; browser MCP
clients on other origins are unsupported. Server clients may omit `Origin`.
The HTTP directory separately allows cross-origin anonymous GET requests.

- `search_site`: `{ "query": "choir" }`.
- `get_page`: `{ "path": "/choir" }`.

Tool results contain text JSON and `structuredContent`. The
[current Server Card](/mcp/server-card) follows SEP-2127's identity/remote format.
The [AI catalog](/.well-known/ai-catalog.json) advertises it. The separate
[compatibility card](/.well-known/mcp/server-card.json) preserves the earlier
scanner discovery layout; negotiated runtime capabilities remain authoritative.

## A2A

The [Agent Card](/.well-known/agent-card.json) describes an A2A `1.0` JSON-RPC
interface at `/a2a`. Send `A2A-Version: 1.0` and `Content-Type: application/json`:

```json
{
  "jsonrpc": "2.0",
  "id": "find-choir",
  "method": "SendMessage",
  "params": {
    "message": {
      "messageId": "request-choir",
      "role": "ROLE_USER",
      "parts": [{ "text": "choir" }]
    }
  }
}
```

The immediate response contains `result.message` with text and structured
directory results. This deterministic directory agent has no LLM, streaming,
stored tasks, push notifications, authenticated extended card or outbound sends.

## Browser tools and skills

On page load, browsers with native WebMCP support register `search_site` and
`get_page`. Unsupported browsers continue normally. Tools call the same public
directory API and unregister when the page leaves; no compatibility shim is
installed. Draft implementations may expose `navigator.modelContext` or
`document.modelContext`.

The [Agent Skills index](/.well-known/agent-skills/index.json) publishes the
[explore-acha skill](/skills/explore-acha/SKILL.md) with a SHA-256 integrity digest.

## Scope and unsupported protocols

This public site does not offer an OAuth/OIDC issuer, OAuth-protected agent
resource, ACP checkout or x402 paid API. It does not advertise those capabilities. Anonymous discovery is free.
Signup, ticket, membership and donation forms remain their existing user
journeys and are not autonomous tools in this catalog. Do not send private
keys, credentials or personal information to discovery endpoints.

## Signed automated checks

The website's automated verification client signs its own HTTPS requests using
Ed25519 HTTP Message Signatures and Web Bot Auth. Its public verification key
is published at `/.well-known/http-message-signatures-directory`. This identifies
our outgoing checks; public readers do not need credentials or signatures.
It does not claim Cloudflare Verified Bot registration.
