---
title: "Protocols"
description: "Send HTTP, QUERY, MCP and A2A requests to Layers of the South from the browser and read the real responses."
url: "https://layersofthesouth.org/developers/workbench/protocols"
language: "en"
license: "CC-BY-SA-4.0"
licenseUrl: "https://creativecommons.org/licenses/by-sa/4.0/"
edition: "3.0.1"
snapshotId: "18d7da7e0ccc8bd3f829fbac8752b912c6ce095ec2141eef764af0494accf50a"
aiAssisted: true
editorialDisclosure: "Editorial draft; not reviewed by a specialist."
apiCatalog: "https://layersofthesouth.org/.well-known/api-catalog"
---

**Developer Portal Standard** `1.0.0`**Site edition** `3.0.1`**Interface contract** `3.1.0`**Sample edition** `2026-11-s2` [Protocol revisions](https://layersofthesouth.org/developers/changes#versions)

[API catalog (RFC 9727)](https://layersofthesouth.org/.well-known/api-catalog) [This page as Markdown](https://layersofthesouth.org/developers/workbench/protocols/index.md)

Developers

# Protocols

Each request runs only when you press its button, against this host, with no key.

Each mark is one HTTP operation, MCP tool, MCP revision or A2A skill this bench can call. Drawn from this edition's data

90-second quickstart

## Run one study across seven client forms

Inspect study `R013` (Pattanam maritime assemblage) in PowerShell 7, curl, Python, JavaScript, stateless MCP `2026-07-28`, Agent2Agent `1.0` or declarative A2UI `1.0`, or execute the call live beside the expected envelope.

```
$uri = "https://layersofthesouth.org/api/v1/studies/R013"
$resp = Invoke-RestMethod -Uri $uri -Headers @{ Accept = "application/json" }
$d = $resp.data
[PSCustomObject]@{
  StudyId     = $d.id
  Title       = $d.title
  SnapshotId  = $resp.snapshotId
  JcsSha256   = $resp.canonicalObjectSha256
  Statements  = $d.howSure.Count
} | Format-List
```

Run the example live

### Study R013 · Pattanam Early Historic port record

[Read the study →](https://layersofthesouth.org/study/R013) [HTTP reference →](https://layersofthesouth.org/developers/reference#get_study)

Press **Run the example** to execute the selected tab’s request live (`ETag` on cached public responses; `Repr-Digest` when requested).

```
{
  "schemaVersion": "lts-api/2",
  "kind": "study_detail",
  "snapshotId": "18d7da7e0ccc8bd3…",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "data": {
    "id": "R013",
    "url": "https://layersofthesouth.org/study/R013"
  }
}
```

Live multi-protocol workbenches

## Run REST, HTTP QUERY, MCP, A2A and WebMCP side by side

Every request below goes to this site's own stateless endpoints only when you submit it.

REST and HTTP QUERY (RFC 10008)

### Try GET, HTTP QUERY, POST fallback, Repr-Digest and 304 ETag

Choose an endpoint or structured query preset

Ready. Choose a REST or HTTP QUERY preset above and press Run request.

```
Choose an endpoint preset above and press Run request.
```

Model Context Protocol · POST /api/mcp (2026-07-28, also 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05)

### Stateless server/discover, 8 tools, resources and MCP Apps

Choose an MCP JSON-RPC 2.0 frame

JSON-RPC 2.0 request body (editable)

Use legacy `2025-11-25` 3-step handshake (`initialize` → `notifications/initialized` → request). Leave unchecked for stateless `2026-07-28` direct calls.

Stateless Streamable HTTP endpoint at `POST /api/mcp`. Primary revision: `2026-07-28`; legacy revisions `2025-11-25`, `2025-06-18`, `2025-03-26`, and `2024-11-05` also supported.

```
Press Send MCP POST to inspect the JSON-RPC response.
```

Agent2Agent · POST /api/a2a (A2A 1.0)

### Invoke skills, inspect retained packs and test 1.0 guards

Choose an A2A 1.0 JSON-RPC 2.0 call

A2A JSON-RPC 2.0 payload (editable)

Include required `A2A-Version: 1.0` HTTP header (uncheck to test `-32009` version guard).

Discovery card at [/.well-known/agent-card.json](https://layersofthesouth.org/.well-known/agent-card.json).

```
Press Send A2A POST to inspect the response.
```

Browser WebMCP bridge · document.modelContext

### Register and invoke read-only browser tools

Detected browser mode: `local-adapter`. Registers all 8 read-only collection tools with JSON Schema Draft 2020-12 input checks, `AbortSignal` support and `pagehide` teardown.

Choose a registered browser WebMCP tool

Tool input JSON (checked against Draft 2020-12 before execution)

Ready to invoke a read-only browser tool.

```
Select a tool above and press Invoke WebMCP tool.
```

Cross-protocol consistency

## Verify identical RFC 8785 JCS domain digests across all four protocols

REST `GET`, RFC 10008 HTTP `QUERY`, MCP `tools/call` and A2A `SendMessage` wrap answers in different wire envelopes, while reading from one domain module. Run any scenario below to fetch all four live, unwrap each `.data` payload, canonicalize with RFC 8785 JCS and compare all four SHA-256 digests with `canonicalObjectSha256`.

Select a cross-protocol verification scenario

Press Compare all 4 protocols to verify canonical payload agreement across REST, HTTP QUERY, MCP and A2A.

```
Waiting to run 4-protocol comparison.
```

- [Overview](https://layersofthesouth.org/developers)
- [Quick start](https://layersofthesouth.org/developers/start)
- [Reference](https://layersofthesouth.org/developers/reference)
- [Agents](https://layersofthesouth.org/developers/agents)
- [Workbench](https://layersofthesouth.org/developers/workbench)
- [Protocols](https://layersofthesouth.org/developers/workbench/protocols)
- [A2UI](https://layersofthesouth.org/developers/workbench/a2ui)
- [Verify](https://layersofthesouth.org/developers/workbench/verify)
- [Samples](https://layersofthesouth.org/developers/samples)
- [Changes](https://layersofthesouth.org/developers/changes)

[This page as Markdown](https://layersofthesouth.org/developers/workbench/protocols/index.md) · [All developer pages in one Markdown file](https://layersofthesouth.org/developers/docs.md)
