Skip to content

Commit 5988b3a

Browse files
docs(mcp): update error message examples
1 parent 17ae770 commit 5988b3a

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

docs/articles/users/MCPHostConfiguration.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,20 @@ The system validates host names against available MCP host types:
253253
- `gemini`
254254
- Additional hosts as configured
255255

256-
Invalid host names result in clear error messages with available options listed.
256+
All error messages use standardized formatting with structured details:
257+
258+
```
259+
[ERROR] Failed to configure MCP server 'my-server'
260+
Host: claude-desktop
261+
Reason: Server configuration invalid for claude-desktop
262+
```
263+
264+
Invalid host names result in clear error messages with available options listed:
265+
266+
```
267+
[ERROR] Invalid host 'vsc'
268+
Field: --host
269+
Suggestion: Supported hosts: claude-desktop, vscode, cursor, kiro, lmstudio, gemini
270+
```
257271

258272
For complete command syntax and all available options, see [CLI Reference](CLIReference.md).

0 commit comments

Comments
 (0)