Configure Mistral Vibe CLI
Connect the Mistral Vibe CLI to your Datasentinel MCP server on Linux, sign in, install the Datasentinel Skill, and verify the configuration.
This page shows how to wire Mistral Vibe CLI to your Datasentinel platform on a Linux host: add the MCP server, sign in once, install the Skill that tells the assistant how to use it, and check that everything is connected.
The same pattern applies to other MCP-and-Skill-capable assistants. The commands below are specific to Mistral Vibe CLI (the vibe command), Mistral's open-source terminal coding agent.
Before you start
Mistral Vibe CLI is installed and you can run
vibefrom a terminal. If it is not yet installed, follow the steps below. Version 2.23 or later is needed for thevibe mcp addcommand used on this page.The host has an OS keyring (Vibe stores the Datasentinel session in it). A desktop Linux has one; a bare server usually does not, see the sign-in step.
Your Datasentinel MCP server is reachable over HTTPS at
https://<public-host>/mcp. See MCP Server Setup if it is not yet running.
Install Mistral Vibe CLI
Launch and authenticate
Start the CLI:
vibeOn first launch, the setup wizard offers Launch browser (sign in with your Mistral account) or Use an API key. Vibe stores the credential in the OS keyring, or in ~/.vibe/.env when the host has no keyring, so you only sign in once. vibe --setup runs the wizard again.
Set it up
Add the Datasentinel MCP server
Vibe reads MCP servers from a config.toml file. The user-level file at ~/.vibe/config.toml applies to every project; a ./.vibe/config.toml in a project directory applies to that project only, once you trust the folder. If an administrator set enable_mcp = false in the managed configuration, Vibe refuses to add or sign in to MCP servers. For the full set of MCP server options, see Vibe's MCP servers documentation and the MCP section of its README.
Register the server from the shell with the streamable-HTTP transport and your platform URL:
vibe mcp add datasentinel-production --url https://<public-host>/mcpWithout a token option, Vibe treats the server as an OAuth server, writes it to ~/.vibe/config.toml and starts the sign-in at once (next step). Add --no-login to write the configuration only and sign in later from inside Vibe.
The same server written by hand in ~/.vibe/config.toml:
[[mcp_servers]]
name = "datasentinel-production"
transport = "streamable-http"
url = "https://<public-host>/mcp"
[mcp_servers.auth]
type = "oauth"
scopes = []Self-signed or invalid certificate
Vibe validates the /mcp certificate against its bundled public roots and offers no switch to turn validation off (the request in mistralai/mistral-vibe#30 was closed without one). A certificate from an internal CA works once Vibe trusts that CA. Either point it at the CA file with the standard SSL_CERT_FILE variable (the /proxy-setup command inside Vibe writes it to ~/.vibe/.env for you), or, if the CA is installed in the host's trust store, opt in to that store in ~/.vibe/config.toml:
enable_system_trust_store = trueSSL_CERT_FILE is additive: the public roots stay trusted. enable_system_trust_store uses the operating system store instead of Vibe's bundled roots, which is fine as long as that store holds the public roots too, as it normally does. Since Vibe 3.0 the bundled roots and SSL_CERT_FILE apply stricter RFC 5280 chain checks: a private CA certificate without the SKID/AKID or KeyUsage extensions may be rejected, in which case use enable_system_trust_store or reissue the CA. A self-signed certificate that belongs to no CA cannot be trusted this way, so give the endpoint a certificate from a CA, or put a reverse proxy with a trusted certificate in front of it. The sign-in below also opens the login page in your browser, so the browser must trust the certificate too.
Sign in to the platform
With a browser
If vibe mcp add started the sign-in, it opens the Datasentinel login page in your browser and prints the link in the terminal as well. Otherwise start an interactive vibe session and run:
/mcp login datasentinel-productionVibe shows a small panel: press Enter to open the login page in your browser, or choose Copy URL to clipboard or Manually show the URL to open it yourself. Sign in with your platform login and password, the same ones as the Datasentinel web interface. The page names the assistant that is asking; after the sign-in the browser hands the session back to Vibe, and /mcp status shows the server as ok.
You sign in once. Vibe stores the session in the OS keyring and renews it by itself. It asks again only after ten days without using the server, or when an administrator ends the session. Your password goes to the login page only; Vibe never sees it and never asks for a token. /mcp logout datasentinel-production ends the session on this host; vibe mcp remove also deletes the stored session.
Without a browser
On a server without a browser (an SSH session, a build machine), two things get in the way: Vibe stores the session in an OS keyring, which a server usually lacks, and it waits for the browser to come back on a fixed local port, 47823 by default.
1. Give Vibe a keyring. Without one, the sign-in stops at once with No OS keyring backend is available, and Vibe's message suggests the token option instead. Vibe relies on the standard Python keyring library, which accepts a file-based backend from the keyrings.alt package. Vibe is installed as a uv tool, so reinstall it with that package added, then check which backend it sees:
uv tool install --force --python cpython-3.14+gil --with keyrings.alt mistral-vibe
"$(uv tool dir)/mistral-vibe/bin/python" -c "import keyring; print(keyring.get_keyring())"The --python cpython-3.14+gil pin matches what the official installer uses since Vibe 3.0.1 (Vibe needs a GIL-enabled Python). The second command must print keyrings.alt.file.PlaintextKeyring (priority: 0.5); before the change it prints keyring.backends.fail.Keyring (priority: 0). The session is then stored under ~/.local/share/python_keyring/, encoded but not encrypted, the same protection as a cached token file. uv tool upgrade keeps the added package, but a reinstall with uv tool install --force (which Vibe's updater runs when a plain upgrade does not take) drops it: if the sign-in fails again after an update, run the first command again. The install script puts uv in ~/.local/bin/ if it is not on your PATH.
2. Forward the callback port. Open the SSH session from your laptop with the port forwarded, start Vibe inside that session, run /mcp login datasentinel-production and pick Manually show the URL in the sign-in panel:
# on the laptop: the tunnel only exists in a session opened this way
ssh -L 47823:127.0.0.1:47823 <user>@<server>Open the shown link in the laptop's browser and sign in; the way back to http://127.0.0.1:47823/callback travels through the tunnel to Vibe on the server. If you are already connected without the option, log out and reconnect with it before starting Vibe. Another port can be set with redirect_port under the server's [mcp_servers.auth] block. The general procedure is in How authentication works. If you would rather not add a keyring, use the token option below instead.
For a script or a scheduled run
Where nobody can sign in, register the server with a user token as an authorization header instead. The token is the platform's 24-hour user token. Vibe reads it from an environment variable, so the token is never written in the configuration:
export DS_TOKEN=<user token>
vibe mcp add datasentinel-production --url https://<public-host>/mcp --api-key-env DS_TOKENThis writes a static-auth entry that sends Authorization: Bearer <token> on every call:
[[mcp_servers]]
name = "datasentinel-production"
transport = "streamable-http"
url = "https://<public-host>/mcp"
[mcp_servers.auth]
type = "static"
api_key_env = "DS_TOKEN"A server registered this way never opens the login page, and /mcp status shows it as static; when the token expires, the calls fail until a fresh one is set. See Refresh the user token automatically to keep it current. Do not use --header for the token: Vibe stores header values in clear text in config.toml.
Install the Datasentinel Skill
The Datasentinel Skill is made of several files (a SKILL.md entrypoint plus supporting files) and ships as a single archive, datasentinel-skill.zip. Download it from https://app.datasentinel.io/ds-api/download/datasentinel-skill.zip.
Skills in Vibe are file-based: there is no install command. Create the Skills directory if it does not exist yet, then unzip the archive into it so it produces a datasentinel/ folder. Since Vibe 3.0.3 a running session picks up the new Skill by itself; if it does not show up, run /reload.
mkdir -p ~/.vibe/skills/
unzip datasentinel-skill.zip -d ~/.vibe/skills/Check your configuration
Inside an interactive vibe session, use the /mcp command to list the configured servers and their connection status:
/mcpA healthy entry shows the server connected with its tools available. /mcp status prints the authentication state of each server: ok once you are signed in, needs_auth when the sign-in is still to be done (go back to the previous step), static for a server registered with a token. If a server shows an error, check the URL in config.toml and that the server is up.
Approve the Datasentinel tools
The first time the assistant calls a Datasentinel tool, Vibe asks you to approve it. The prompt offers four choices: allow once, allow for the rest of the session, always allow, or deny. Choosing Always allow writes a permanent rule for that tool into ~/.vibe/config.toml, so after one pass through the tools you use, the prompts stop. The rule is keyed by the tool's full name, the server name followed by an underscore and the tool name, and can also be written by hand:
[tools.datasentinel-production_get_platform_status]
permission = "always"The Datasentinel tools only read monitoring data, so approving them permanently is safe. A middle option is the smart-approve agent (vibe --smart-approve, or Shift+Tab during the session): since Vibe 3.0.3 it no longer asks before read-only calls to MCP servers you added, while still reviewing riskier actions. To approve every tool of every kind instead, including shell commands and file edits, start Vibe with vibe --auto-approve, or switch to the auto-approve agent with Shift+Tab during the session. Setting default_agent = "auto-approve" in config.toml makes that the default for all sessions; use it with care. An administrator can forbid auto-approve with enable_auto_approve = false; the per-tool permission = "always" rules above still apply then. See Mistral's Safety, approvals and permissions page.
Once the server shows as connected and the Skill is in place, run through the checks below to confirm the end-to-end flow.
How the Skill loads
The Datasentinel Skill loads on demand. Vibe reads every Skill's name and description up front, and applies the full instructions automatically when your prompt relates to Datasentinel: asking about PostgreSQL performance, instances, sessions, or the platform itself is enough. One Skill serves every platform, because it discovers all the datasentinel-* MCP servers you registered, so adding a second platform needs no Skill change.
If Vibe answers generically instead (no Datasentinel tool calls in the response), load the Skill manually:
Type
/datasentinelin the prompt: Skills autocomplete as slash commands unless their frontmatter setsuser-invocable: false.Or name it in the prompt:
Use the datasentinel skill to check the platform status.
If the Skill is not picked up at all, re-check the unzip location from the setup step, then run /reload or start a new session. See Mistral's Skills reference for the details.
Test the MCP server and Skill
Run these checks inside an interactive vibe session.
You exercise the Skill by asking in plain language and letting it drive the MCP tools (see How the Skill loads above). The Datasentinel Skill recognises four built-in checks. Run them in order:
datasentinel help
Displays the Skill's help, listing the available commands.
datasentinel platforms
Lists every MCP server (platform) the Skill discovered by its datasentinel- prefix.
datasentinel status
Checks the platform status, confirming the MCP server answers.
datasentinel whoami
Shows who you are signed in as, your privilege and the session expiry.
These four are the setup checks. The full command list, with what each one needs, is in the Skill commands reference.
Start with datasentinel help to confirm the Skill responds. Then run datasentinel platforms to verify your server is discovered: each datasentinel-* MCP server you registered should appear in the list. Then run datasentinel status to confirm the platform is reachable and the MCP tools return live data. Finally, datasentinel whoami confirms the session belongs to your platform user, with the privilege you expect.
Last updated