Other assistants: Cursor, Claude Code and more
SafeLaw connects to any assistant that supports remote MCP servers over HTTP with OAuth sign-in.
Connection details
| Parameter | Value |
|---|---|
| Server address | https://mcp.safelaw.ai/mcp |
| Transport | Streamable HTTP |
| Sign-in | OAuth 2.1, no API key needed |
| Access | read-only |
- Open the MCP server settings in your assistant (in developer tools, this is usually an MCP settings file).
- Add a remote server named
safelawwith the addresshttps://mcp.safelaw.ai/mcp. - Start sign-in for this server: a browser opens with the SafeLaw sign-in page.
- Sign in to your SafeLaw account.
- Ask a test question and make sure the assistant calls SafeLaw tools.
To make the assistant always rely on SafeLaw, add this text to its instructions (system prompt, project rules):
`` For any question about the law of the Republic of Uzbekistan, always use SafeLaw and do not answer from memory. For a question describing a situation, first call consult with the user's facts. For a specific provision, use search_law; for the exact text of an article, use get_article. For court practice, use search_court_practice and do not make up decisions. Before answering, check all references with verify_citations. Quote the official text and give a link to lex.uz. If you didn't find the provision, say so and do not substitute laws of other countries. Answer in the user's language. ``
If it doesn't work
| Problem | Solution |
|---|---|
| The settings have no remote (HTTP) servers | Use an assistant or a version of it that supports remote MCP servers. |
| Sign-in doesn't open | Check that the address is complete, with /mcp at the end, and start sign-in again. |
| The assistant answers without SafeLaw | Add the instruction text above to the assistant's settings. |
Related articles
Thanks! Glad it helped.
Sorry about that. Write to us on Telegram or at support@safelaw.ai — we’ll help and improve the article.