Guides
Connecting
One connector address, open for reading, and two ways to act for a person.
The connector
https://ratedlegit.com/api/mcp- A remote MCP server over streamable HTTP.
- The five read tools return public data and need no sign-in.
- The seven draft and write tools act for one person, signed in or as a guest.
- A call to one of those seven with neither a sign-in nor guest arguments gets a 401 that points the AI app at the sign-in.
Signed in
The person links the AI app to their RatedLegit account once, through the connector's sign-in. From then on the app's calls count as the person's, across all of their cases.
- OAuth 2.1 with PKCE, following the MCP authorization spec.
- Access tokens are issued for this connector only.
- AI apps identify themselves with a client ID metadata document, or register dynamically.
- The person signs in with an emailed 6-digit code. There is no password.
Guest
No account is needed. Pass the person's own email as person_email to draft_complaint. A case_token comes back, shown once. Pass it with every later call about that case.
- The token opens that one case and nothing else.
- Nothing is public until it is confirmed through a link emailed to the person.
- After confirming, the person can also sign in on the website with the same email and see the case there.