Skip to main content

API Parity

Mallary exposes a remote MCP server over Streamable HTTP for public API parity. MCP tools route through the existing /api/v1/* handlers. Mallary does not duplicate posting logic in a separate MCP-only layer.

Preflight

mallary_create_post runs preflight first by default with run_preflight=true.

Idempotency

If you send idempotency_key, Mallary forwards it as an Idempotency-Key header to the underlying API handler.

Error Shape

Mallary returns non-2xx API results as structured MCP errors with:
  • http_status
  • code
  • message
  • details when available

Transport Note

Streamable HTTP can return event-stream payloads for tool responses.
Last modified on July 30, 2026