---
title: "Mistral Vibe"
description: "Configure and verify the rstream MCP server in Vibe Code CLI."
url: "https://rstream.io/docs/integrations/mistral-vibe"
---

# Mistral Vibe

Connect Vibe Code CLI to the local rstream MCP server.

Written by [uartnet](https://x.com/uartnet)

Mistral Vibe can use rstream to reach private services and operate machines through WebTTY. Vibe sends tool calls to the rstream MCP server on the workstation, which uses the active rstream project. The model can run locally or on a separate inference endpoint.

## Register rstream

Install both CLIs on the workstation and make `rstream` and `vibe` available on `PATH`. [rstream CLI installation](/docs/getting-started/installation) · [Vibe Code CLI installation](https://docs.mistral.ai/vibe/code/cli)

```bash
rstream --version
vibe mcp add rstream --transport stdio --command rstream --arg mcp --arg serve
```

The command registers `rstream mcp serve` over stdio in the Vibe user configuration. [Vibe Code MCP configuration](https://docs.mistral.ai/vibe/code/cli/mcp-servers)

## Verify the connection

Start `vibe` and open `/connectors` to check that `rstream` is available. Run the status prompt and approve the call if Vibe asks. The response reports the selected context and whether rstream sign-in is needed.

Verify the rstream connection in Mistral Vibe

Read the current context and sign-in state through the local MCP server.

```text
Call rstream_runtime_status through the rstream MCP server. Report the selected context, if any, and whether rstream needs sign-in. Stop after the status check.
```

## Project setup

If sign-in is needed, run `rstream login` in a terminal and approve the request in the browser. Run `rstream project list` and set `RSTREAM_ENDPOINT` to the value in the intended project's `ENDPOINT` column.

```bash
rstream project use "$RSTREAM_ENDPOINT"
rstream doctor -o json
```

In a new Vibe session, run the verification prompt again. Expect the intended context and a signed-in status. The CLI readiness check also reports whether it can connect to the Engine.



## Use WebTTY from the session

Once the project context is ready, `rstream_webtty_list` returns the available machines and their advertised execution paths. Calling `rstream_webtty_exec` with the selected machine and path runs a command under that host’s execution account. The result includes the command output and exit status. A machine can appear in the inventory even when the project credential lacks permission to connect to it.

## Model hosting

For a private inference deployment, configure Vibe to use a self-hosted Devstral endpoint. Vibe sends model requests there while its rstream tool calls continue to run under the selected workstation context. [Vibe Code with offline models](https://docs.mistral.ai/vibe/code/cli/offline-models)

Previous page: [Claude Code](/docs/integrations/claude-code)

Next page: [Labels](/docs/integrations/labels)