MCP connector
For marketplace reviewers
Everything a directory or marketplace reviewer needs to sign in and test the NyayAssist connector.
This page is for teams reviewing the NyayAssist connector for a connector directory or marketplace listing. For review questions, email support@nyayassist.ai.
What the connector is#
NyayAssist is a research and drafting platform for advocates practising Indian law. The NyayAssist MCP server is a hosted, remote MCP server (Streamable HTTP, OAuth 2.1 with PKCE) that gives an AI app access to the signed-in user's own NyayAssist account: their matters, documents, drafts, research, translations, due-diligence projects, workflows and meetings, plus the shared Indian Legal Library of judgments and Acts.
- 44 tools, the same list for every user; see the tools reference.
- Create, never delete. No tool deletes, overwrites, shares or sends anything, or changes billing or settings.
- Plan-aware. Tools that create work use the user's NyayAssist plan allowance; reads do not.
- Tool annotations. Every tool is marked non-destructive; tools that only list or fetch are marked read-only.
How to sign in#
Test with the public server URL and a regular NyayAssist test account:
https://mcp.nyayassist.ai/mcp- Add the server URL as a custom connector or remote MCP server in your client. Leave OAuth client ID and secret fields empty; the client registers automatically.
- Connect. The client opens the NyayAssist sign-in page.
- Sign in with the test account and approve access.
- The client lists 44 tools.
Test credentials
Credentials for a regular NyayAssist test account are provided privately with the directory submission. They are never published on this site. If you did not receive them, email support@nyayassist.ai.
An unauthenticated request to the server URL returns 401 Unauthorized with a WWW-Authenticate header that points to the OAuth protected-resource metadata. This is expected.
Test plan#
Run the steps in order in a new conversation with the connector enabled. Steps 1 to 8 only read and use no allowance. Steps 9 and 10 create work and use the test account's allowance, which is sized for review.
Read-only tools
1. Plan and usage
Read-only- Tools
get_my_plan_and_usage- Prompt
- Using NyayAssist, show my plan and how much of each feature I have left.
- Expected
- A list of metered features with the amount used, the limit and, where the plan has one, the days until reset. Some features may show as unlimited or not available on the plan.
2. List matters
Read-only- Tools
list_cases- Prompt
- List my matters in NyayAssist.
- Expected
- The account's matters, newest first, with name and status. Locked matters are marked as locked. An account with no matters returns an empty list without an error.
3. Search judgments
Read-only- Tools
search_judgments- Prompt
- Search NyayAssist for Supreme Court judgments on anticipatory bail and list the five most relevant.
- Expected
- Ranked judgments (up to 20 per page) with court, decision date, an excerpt and a handle for each. A slow search may return a job instead, which the client follows with
get_job_statusandget_job_result.
4. Open a judgment
Read-only- Tools
get_judgment- Prompt
- Open the first judgment from that search and summarise it.
- Expected
- The judgment's details (court, bench, parties, decision date, disposal, citation) and the Legal Library summary. The full text is intentionally not returned; it is read in the NyayAssist web app.
5. Search Acts
Read-only- Tools
search_acts- Prompt
- Find the Specific Relief Act, 1963 in NyayAssist.
- Expected
- Ranked Acts, rules or regulations with an excerpt and a handle for each.
6. Act details
Read-only- Tools
get_act_section- Prompt
- Show the details of that Act.
- Expected
- The Act's titles, number, year, ministry, enactment and enforcement dates, status and abstract.
7. List drafts
Read-only- Tools
list_drafts- Prompt
- List my NyayAssist drafts.
- Expected
- The account's drafts, newest first, each with its latest version number (empty if none).
8. List workflows
Read-only- Tools
list_workflows- Prompt
- Which NyayAssist workflows can I run from here?
- Expected
- The workflows available through the connector, with their inputs. Workflows that send email, route for e-signature or file outside NyayAssist are intentionally not listed.
Flows that use quota
9. Research job
Uses quota- Tools
start_research,get_job_status,get_job_result,get_research- Prompt
- Using NyayAssist research: is a pre-deposit of 75% mandatory for an appeal against an award under section 19 of the MSMED Act, 2006? Cite judgments.
- Expected
- The client asks for confirmation before the call (it creates work). The result is either the answer directly or a job with a suggested wait. The client polls
get_job_statusuntil it succeeds, thenget_job_resultreturns an answer that cites Indian judgments and Acts, plus a research handle.get_researchwith that handle returns the same answer without using more allowance.
10. Create a draft
Uses quota- Tools
create_draft,get_job_status,get_job_result,list_drafts- Prompt
- Using NyayAssist, draft a legal notice demanding payment of ₹2,50,000 due under a services agreement, giving 15 days to pay.
- Expected
- The draft text, or a job whose result holds the draft text. Running
list_draftsafterwards shows the new draft at the top with version 1.
More sample prompts#
List the documents in my most recent matter and summarise the first one.
Find Bombay High Court judgments since 2020 on section 16 of the Maharashtra Rent Control Act, 1999.
Check whether I have research allowance left before we start.
What is the status of my last NyayAssist job?
Intentionally not available#
- No delete, overwrite, share or send. Asking the assistant to delete a matter or share a draft should result in the assistant explaining that no such tool exists.
- No workflow approvals.
approve_workflow_gateaccepts only reject and cancel; approve and continue return a message directing the user to the web app. - No full texts. Judgments, Acts, meeting transcripts and due-diligence reports return details and summaries only.
- Features not on a plan stay listed and return a clear message when used.
The single outward-facing action is start_meeting, which sends a visible NyayAssist notetaker into a Google Meet or Microsoft Teams call that the user names. It is not part of the test plan.
Data handling#
- The connector acts only as the signed-in user, with OAuth scopes the user approves, and sees only that user's data plus the shared Legal Library.
- Tokens are issued for the NyayAssist MCP server only. The server exchanges them on its side; the client never receives NyayAssist backend credentials.
- Results are shaped to a fixed set of fields. Internal identifiers are replaced with opaque handles that work only for the account that received them.
- Text from judgments, Acts and user documents is returned inside
<untrusted_document>tags with an instruction to treat it as data. - Work created through the connector is stored in the user's NyayAssist account under the Privacy Policy and Terms of Use.
More: Security and privacy.
Contact for review questions#
Email support@nyayassist.ai. We respond to review questions as quickly as we can.