Quickstart
Run your first statutory audit in minutes.
Authentication
Bearer tokens, key management, and HTTPS requirements.
Execution Lifecycle
SSE streams, session IDs, and JSON-RPC dispatch.
Tools Overview
All MCP tools, invocation patterns, and auth requirements.
How it works
1
Open an SSE stream
Connect to
https://lexera.dev/mcp-server/sse with your Bearer token. The server returns a persistent stream and an endpoint event containing your session ID.2
Dispatch a document
POST a JSON-RPC 2.0 payload to your session URL calling
lexera_route_to_specialist. The server returns HTTP 202 Accepted and places a temporary AED hold.3
Retrieve certified artifacts
Poll
lexera_get_order_status over the same SSE stream. When current_status becomes verified_executed, download the law firm-certified .docx redline and report.Explore
MCP Architecture
Why Lexera uses MCP, JSON-RPC 2.0 over SSE, and async stateful design.
Wallet & Pricing
AED wallet holds, per-jurisdiction tiers, and alias resolution.
Tools Overview
Reference for every MCP tool and its JSON-RPC invocation pattern.
Errors
Error signatures, streamed payloads, and how to resolve them.