Skip to content

Commit 73666d9

Browse files
Merge pull request #49 from LittleCoinCoin/dev
Mistral Vibe MCP config support
2 parents db0fb91 + d6a75a8 commit 73666d9

33 files changed

+1070
-114
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Hatch supports deployment to the following MCP host platforms:
2828
- **Codex** — OpenAI Codex with MCP server configuration support
2929
- **LM Studio** — Local LLM inference platform with MCP server integration
3030
- **Google Gemini CLI** — Command-line interface for Google's Gemini model with MCP support
31+
- **Mistral Vibe** — Mistral Vibe CLI coding agent
3132

3233
## Quick Start
3334

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Mistral Vibe Parameter Analysis
2+
3+
## Model
4+
5+
| Item | Finding |
6+
| --- | --- |
7+
| Host | Mistral Vibe |
8+
| Config path | `./.vibe/config.toml` first, fallback `~/.vibe/config.toml` |
9+
| Config key | `mcp_servers` |
10+
| Structure | TOML array-of-tables: `[[mcp_servers]]` |
11+
| Server identity | Inline `name` field per entry |
12+
13+
## Field Summary
14+
15+
| Category | Fields |
16+
| --- | --- |
17+
| Transport | `transport`, `command`, `args`, `url` |
18+
| Common | `headers`, `prompt`, `startup_timeout_sec`, `tool_timeout_sec`, `sampling_enabled` |
19+
| Auth | `api_key_env`, `api_key_header`, `api_key_format` |
20+
| Local-only | `env` |
21+
22+
## Host Spec
23+
24+
```yaml
25+
host: mistral-vibe
26+
format: toml
27+
config_key: mcp_servers
28+
config_paths:
29+
- ./.vibe/config.toml
30+
- ~/.vibe/config.toml
31+
transport_discriminator: transport
32+
supported_transports:
33+
- stdio
34+
- http
35+
- streamable-http
36+
canonical_mapping:
37+
type_to_transport:
38+
stdio: stdio
39+
http: http
40+
sse: streamable-http
41+
httpUrl_to_url: true
42+
extra_fields:
43+
- prompt
44+
- sampling_enabled
45+
- api_key_env
46+
- api_key_header
47+
- api_key_format
48+
- startup_timeout_sec
49+
- tool_timeout_sec
50+
```
51+
52+
## Sources
53+
54+
- Mistral Vibe README and docs pages for config path precedence
55+
- Upstream source definitions for MCP transport variants in `vibe/core/config`
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Mistral Vibe Architecture Analysis
2+
3+
## Model
4+
5+
| Layer | Change |
6+
| --- | --- |
7+
| Unified model | Add Vibe-native fields and host enum |
8+
| Adapter | New `MistralVibeAdapter` to map canonical fields to Vibe TOML entries |
9+
| Strategy | New TOML strategy for `[[mcp_servers]]` read/write with key preservation |
10+
| Registries | Add adapter, strategy, backup/reporting, and fixture registration |
11+
| Tests | Extend generic adapter suites and add focused TOML strategy tests |
12+
13+
## Integration Notes
14+
15+
| Concern | Decision |
16+
| --- | --- |
17+
| Local vs global config | Prefer existing project-local file, otherwise global fallback |
18+
| Remote transport mapping | Canonical `type=sse` maps to Vibe `streamable-http` |
19+
| Cross-host sync | Accept canonical `type` and `httpUrl`, serialize to `transport` + `url` |
20+
| Non-MCP settings | Preserve other top-level TOML keys on write |
21+
22+
## Assessment
23+
24+
- **GO** — current adapter/strategy architecture already supports one more standalone TOML host.
25+
- No dependency installation is required.
26+
- Main regression surface is registry completeness and TOML round-tripping, covered by targeted tests.

__reports__/mistral_vibe/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Mistral Vibe Reports
2+
3+
## Status
4+
5+
- Latest discovery: `00-parameter_analysis_v0.md`
6+
- Latest architecture analysis: `01-architecture_analysis_v0.md`
7+
- Current assessment: `GO`
8+
9+
## Documents
10+
11+
1. `00-parameter_analysis_v0.md` — upstream config path/schema discovery and host spec
12+
2. `01-architecture_analysis_v0.md` — integration plan, touched files, and go/no-go assessment

docs/articles/api/cli/mcp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This module provides handlers for:
2424
- codex: OpenAI Codex
2525
- lm-studio: LM Studio
2626
- gemini: Google Gemini
27+
- mistral-vibe: Mistral Vibe CLI coding agent
2728

2829
## Handler Functions
2930

docs/articles/devs/architecture/mcp_backup_system.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ The system supports all MCP host platforms:
146146
| `cursor` | Cursor IDE MCP integration |
147147
| `lmstudio` | LM Studio MCP support |
148148
| `gemini` | Google Gemini MCP integration |
149+
| `mistral-vibe` | Mistral Vibe CLI coding agent |
149150

150151
## Performance Characteristics
151152

docs/articles/devs/architecture/mcp_host_configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ supported = registry.get_supported_hosts() # List all hosts
143143
- `claude-desktop`, `claude-code`
144144
- `vscode`, `cursor`, `lmstudio`
145145
- `gemini`, `kiro`, `codex`
146+
- `mistral-vibe`
146147

147148
### BaseAdapter Protocol
148149

docs/articles/users/CLIReference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ Available MCP Host Platforms:
10171017
claude-desktop ✓ Available /Users/user/.config/claude/...
10181018
cursor ✓ Available /Users/user/.cursor/mcp.json
10191019
vscode ✗ Not Found -
1020+
mistral-vibe ✓ Available /Users/user/.config/mistral/mcp.toml
10201021
```
10211022

10221023
**Key Details**:
@@ -1039,6 +1040,8 @@ Available MCP host platforms:
10391040
Config path: ~/.cursor/config.json
10401041
vscode: ✗ Not detected
10411042
Config path: ~/.vscode/config.json
1043+
mistral-vibe: ✓ Available
1044+
Config path: ~/.config/mistral/mcp.toml
10421045
```
10431046

10441047
#### `hatch mcp discover servers`

docs/articles/users/MCPHostConfiguration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Hatch currently supports configuration for these MCP host platforms:
2323
- **Codex** - OpenAI Codex with MCP server configuration support
2424
- **LM Studio** - Local language model interface
2525
- **Gemini** - Google's AI development environment
26+
- **Mistral Vibe** - Mistral Vibe CLI coding agent
2627

2728
## Hands-on Learning
2829

docs/articles/users/tutorials/04-mcp-host-configuration/01-host-platform-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Hatch currently supports configuration for these MCP host platforms:
5757
- [**Codex**](https://github.com/openai/codex) - OpenAI Codex with MCP server configuration support
5858
- [**LM Studio**](https://lmstudio.ai/) - Local language model interface
5959
- [**Gemini**](https://github.com/google-gemini/gemini-cli) - Google's AI Command Line Interface
60+
- [**Mistral Vibe**](https://mistral.ai/vibe) - Mistral Vibe CLI coding agent
6061

6162
## Configuration Management Workflow
6263

0 commit comments

Comments
 (0)