> ## Documentation Index
> Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistral Vibe

> Use the LightOn MCP server directly from Mistral Vibe.

## Prerequisites

* [Mistral Vibe](https://docs.mistral.ai/mistral-vibe/introduction/configuration) installed
* A LightOn API key from the [LightOn Console](https://console.lighton.ai)

## Configuration

Mistral Vibe configures MCP servers via a TOML file. Add the following to `~/.vibe/config.toml`:

```toml theme={null}
[[mcp_servers]]
name = "lighton"
transport = "http"
url = "https://api.lighton.ai/mcp"
api_key_env = "LIGHTON_API_KEY"
api_key_header = "Authorization"
api_key_format = "Bearer {token}"
```

<Note>
  `api_key_env` takes the **name** of an environment variable. Mistral Vibe reads the value at runtime on every request. Make sure `LIGHTON_API_KEY` is set in your shell environment, you can grab your key from the [LightOn Console](https://console.lighton.ai). To scope the server to a single project instead, place the same snippet in `.vibe/config.toml` at the root of your project.
</Note>

## Verification

1. Start a Mistral Vibe session.

2. Check that the `lighton` server is listed among the active MCP servers in the session output.

3. Test the connection with a prompt like:

   ```
   Search my LightOn workspaces for documents about [topic]
   ```

You're all set. From any Mistral Vibe session you can now ask it to search or ingest documents in your LightOn workspaces directly.

## References

* [Mistral Vibe docs: Configuration](https://docs.mistral.ai/mistral-vibe/introduction/configuration)
