Version: 2.4.1
Protocol: Model Context Protocol (MCP) — latest revision served: 2026-07-28
Transport: Streamable HTTP
Returned during the MCP handshake:
{
"name": "jusmundi-assistant",
"version": "2.4.1"
}
Legal research assistant powered by JusMundi. Use the legal_research tool to ask legal research questions and receive structured results with citations to legal documents.
GET /.well-known/openai-apps-challenge returns the OpenAI submission portal’s
domain-verification token as text/plain, unauthenticated. It is configured via
MCP_APPS_CHALLENGE_TOKEN; when unset the path returns 404.
The MCP server uses OAuth 2.0 with Protected Resource Metadata (RFC 9728) for standard-compliant discovery and authentication.
Jus Mundi will provide a client ID and client secret that can be configured in the MCP client to send with requests.
If a request is made without a valid token, the server responds with HTTP 401 and a WWW-Authenticate header:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata=https://<host_placeholder>/.well-known/oauth-protected-resource
The client fetches the protected resource metadata:
GET /.well-known/oauth-protected-resource
Response:
{
"resource": "https://mcp.jusmundi.com",
"authorization_servers": ["https://<keycloak_issuer>/realms/jus_mundi"],
"scopes_supported": ["openid", "mcp:tools:legal_research"],
"bearer_methods_supported": ["header"],
"resource_name": "JusMundi Legal Research Assistant (MCP)"
}
The client discovers the authorization server’s endpoints via standard OIDC discovery at the issuer URL and obtains an access token (JWT) through an OAuth 2.0 flow (e.g. Authorization Code with PKCE).