Connecting Mistral agents to Cloudera data
Add a custom MCP connector in Mistral Vibe so that Mistral agents can query data through the MCP server of a Cloudera data service, such as Cloudera Lakehouse Engine, as the signed-in user.
Mistral agents reach your data only through Model Context Protocol (MCP) servers. The suite does not discover Cloudera MCP servers automatically, so you add each server as a custom connector. This release supports the MCP servers of Cloudera Lakehouse Engine and Cloudera Data Engineering. These servers use OAuth 2.1 authentication with the identity provider of the Anywhere Cloud Console, so each user connects with their own Cloudera Anywhere Cloud identity.
The MCP server does not have to be managed by the same Anywhere Cloud Console as the suite. The suite can call an MCP server that another console manages. In that case, the server signs users in through the identity provider of its own console, not the identity provider of the suite. The sign-in to the suite does not apply to the MCP server, so each user connects the connector with OAuth 2.1. Steps 3, 4, and 8 describe the extra settings for a server that another console manages.
You need this procedure only if you want agents to use an MCP server. You connect a server after you deploy the suite, but you must configure some of its settings before you deploy the suite.
- You know the domain of the suite, which is the Base Domain that you set in the deployment wizard or the domain of the cluster.
- You have read access, with a kubeconfig file, to the workload cluster of the MCP server and to the cluster of the Anywhere Cloud Console. You use the kubeconfig files to find the URL of the MCP server and to export the CA certificates.
- The
kubectl,openssl, andcurlcommand-line tools are installed. - You are a Cloudera Anywhere Cloud administrator who can sign in to the console.
- For the steps after the deployment, the suite is deployed and passes the checks in Checking the Mistral AI Suite deployment.
Each user connects once, with their own Cloudera Anywhere Cloud identity. The MCP server runs every tool call as that user, under the permissions of the data service, and the suite refreshes the tokens of the user so that the user does not need to connect again.
If something does not work, use the following table.
| Symptom | Cause and solution |
|---|---|
| Authentication Method stays unavailable after you enter the server. | The suite cannot reach the server. If the host of the server is outside the parent domain of the suite, check that it is listed in Allowed Outbound Domains. Also check the certificate profile. |
| server_unreachable: could not connect to MCP server | The suite blocks outbound connections to the host of the MCP server, because the host is outside the parent domain of the suite and is not listed in Allowed Outbound Domains. List the host in Allowed Outbound Domains. |
| The Protected Resource Metadata pointed to an authorization server, but fetching its /.well-known/oauth-authorization-server document failed. | The suite reached the MCP server but not the Knox host that the server names. If that host is outside the parent domain of the suite, list it in Allowed Outbound Domains. If it is the Knox host of another console, also add the CA certificate of that console to the certificate profile. |
| There was a problem connecting | The suite cannot reach the server or Knox, or it does not trust their certificates. Check that the hosts outside the parent domain of the suite are listed in Allowed Outbound Domains, and check the certificate profile. |
| Knox reports Invalid redirect_uri or Missing stored redirect_uris. | The client was registered for another redirect URI, such as the one of another suite, or the client ID came from an API token, which has no redirect URI. Register a client as described in this topic. |
| Knox reports Unknown client_id. | The client ID contains a stray space, or the client no longer exists. Register the client again and update the connector. |
| Clicking Connect opens the Mistral Vibe home page. | You have no console session yet. Click Connect again. |
| The consent page does not continue after you click Accept. | You dismissed the confirmation prompt of the browser. Click Accept again and confirm the prompt. |
| The browser stays on the sign-in page of Mistral Vibe and never returns to the connector. | Sign in to the Anywhere Cloud Console instead. |
| Registering the client returns 415. | The request body was in JSON format. Send form fields, as in the registration command. |
| Registering the client returns 401. | The bearer token is missing, expired, or from another console.
Copy the hadoop-jwt cookie of this console
again. |
The curl command exits with code 60. |
The --cacert file does not contain the CA of the
host that you called. |
The curl command exits with code 77. |
The --cacert file is not a PEM file, for
example, a trust bundle that is saved in YAML format. |
