You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -360,42 +360,52 @@ HoloViz MCP supports user configuration via a YAML file, allowing you to customi
360
360
361
361
### Custom Configuration File
362
362
363
-
You can provide a custom configuration file to override or extend the default settings. By default, configuration is loaded from `~/.holoviz-mcp/config.yaml`, but you can specify a different location using the `HOLOVIZ_MCP_USER_DIR` environment variable:
363
+
By default, configuration is loaded from `~/.holoviz-mcp/config.yaml`.
364
+
To use a different location, set the `HOLOVIZ_MCP_USER_DIR` environment variable:
To add documentation from other libraries or your own projects, edit your configuration YAML and add entries under `docs.repositories`.
372
+
You can add documentation from other libraries or your own projects by editing your configuration YAML and adding entries under `docs.repositories`.
372
373
373
-
#### Example: Adding Plotly and Altair Documentation
374
+
**Example: Adding Plotly and Altair Documentation**
374
375
375
376
```yaml
376
377
docs:
377
378
repositories:
378
379
plotly:
379
380
url: "https://github.com/plotly/plotly.py.git"
380
-
branch: "main"
381
-
folders:
382
-
docs: {}
383
381
base_url: "https://plotly.com/python"
384
382
altair:
385
383
url: "https://github.com/altair-viz/altair.git"
386
-
branch: "main"
387
-
folders:
388
-
doc: {}
389
384
base_url: "https://altair-viz.github.io"
390
385
```
391
386
392
387
After updating your configuration:
393
388
394
-
- update your index (`holoviz-mcp-update`)
395
-
- restart the MCP server
389
+
1. Update your documentation index:
390
+
```bash
391
+
holoviz-mcp-update
392
+
```
393
+
2. Restart the MCP server.
396
394
397
395
Your custom documentation repositories will now be available for search and reference within HoloViz MCP.
398
396
397
+
### Schema Validation
398
+
399
+
A [`schema.json`](https://raw.githubusercontent.com/MarcSkovMadsen/holoviz-mcp/refs/heads/main/src/holoviz_mcp/config/schema.json) file is provided for configuration validation and editor autocompletion.
400
+
401
+
**For VS Code with [vscode-yaml](https://github.com/redhat-developer/vscode-yaml):**
0 commit comments