Skip to content

Commit b1edca3

Browse files
Merge pull request #68 from MarcSkovMadsen/enhancement/docs
docs update
2 parents 38826fc + 8deb6e3 commit b1edca3

10 files changed

Lines changed: 52 additions & 42 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Build documentation locally:
306306
pixi run -e docs build
307307

308308
# Serve documentation locally
309-
pixi run -e docs docs-serve
309+
pixi run -e docs serve
310310
```
311311

312312
### Documentation Style
-41.6 KB
Binary file not shown.
-117 KB
Binary file not shown.
-254 KB
Binary file not shown.
-106 KB
Binary file not shown.
-67.7 KB
Binary file not shown.
-17.5 KB
Binary file not shown.
-125 KB
Binary file not shown.

docs/explanation/tools.md

Lines changed: 51 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ HoloViz MCP provides several categories of tools that enable AI assistants to he
66

77
Tools for discovering and working with Panel components.
88

9-
### list_packages
9+
### panel_list_packages
1010

1111
**Purpose**: List all installed packages that provide Panel UI components.
1212

@@ -16,7 +16,9 @@ Tools for discovering and working with Panel components.
1616

1717
**Example Query**: *"What Panel packages are installed?"*
1818

19-
### search_components
19+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_packages](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_packages)
20+
21+
### panel_search_components
2022

2123
**Purpose**: Search for Panel components by name, module path, or description.
2224

@@ -29,7 +31,9 @@ Tools for discovering and working with Panel components.
2931

3032
**Example Query**: *"Search for Panel input components"*
3133

32-
### list_components
34+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/panel_search_components](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_search_components)
35+
36+
### panel_list_components
3337

3438
**Purpose**: Get a summary list of Panel components without detailed docstring and parameter information.
3539

@@ -39,7 +43,9 @@ Tools for discovering and working with Panel components.
3943

4044
**Example Query**: *"List all Panel components"*
4145

42-
### get_component
46+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_packages](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_packages)
47+
48+
### panel_get_component
4349

4450
**Purpose**: Get complete details about a single Panel component including docstring and parameters.
4551

@@ -52,7 +58,9 @@ Tools for discovering and working with Panel components.
5258

5359
**Example Query**: *"Tell me about Panel's TextInput component"*
5460

55-
### get_component_parameters
61+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/panel_get_component](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_get_component)
62+
63+
### panel_get_component_parameters
5664

5765
**Purpose**: Get detailed parameter information for a single Panel component.
5866

@@ -65,7 +73,9 @@ Tools for discovering and working with Panel components.
6573

6674
**Example Query**: *"What parameters does Panel's Button accept?"*
6775

68-
### serve
76+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/panel_get_component_parameters](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_get_component_parameters)
77+
78+
### panel_serve
6979

7080
**Purpose**: Start a Panel server for a given file (requires code execution to be enabled).
7181

@@ -81,7 +91,7 @@ Tools for discovering and working with Panel components.
8191

8292
**Security Note**: This tool executes arbitrary code. Can be disabled with `HOLOVIZ_MCP_ALLOW_CODE_EXECUTION=false`.
8393

84-
### get_server_logs
94+
### panel_get_server_logs
8595

8696
**Purpose**: Get logs for a running Panel application server.
8797

@@ -92,7 +102,7 @@ Tools for discovering and working with Panel components.
92102

93103
**Returns**: Server logs and output.
94104

95-
### close_server
105+
### panel_close_server
96106

97107
**Purpose**: Close a running Panel application server.
98108

@@ -103,11 +113,11 @@ Tools for discovering and working with Panel components.
103113

104114
**Returns**: Confirmation of closure.
105115

106-
## Documentation Tools
116+
## HoloViz Tools
107117

108118
Tools for searching and accessing HoloViz documentation.
109119

110-
### search
120+
### holoviz_search
111121

112122
**Purpose**: Search HoloViz documentation using semantic similarity.
113123

@@ -122,7 +132,9 @@ Tools for searching and accessing HoloViz documentation.
122132

123133
**Example Query**: *"How do I create a layout in Panel?"*
124134

125-
### get_document
135+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_search](https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_search)
136+
137+
### holoviz_get_document
126138

127139
**Purpose**: Retrieve a specific document by path and project.
128140

@@ -134,7 +146,7 @@ Tools for searching and accessing HoloViz documentation.
134146

135147
**Returns**: Complete document content.
136148

137-
### get_reference_guide
149+
### holoviz_get_reference_guide
138150

139151
**Purpose**: Find reference guides for specific HoloViz components.
140152

@@ -145,15 +157,15 @@ Tools for searching and accessing HoloViz documentation.
145157

146158
**Returns**: Reference guide content.
147159

148-
### list_best_practices
160+
### holoviz_list_best_practices
149161

150162
**Purpose**: List all available best practices projects.
151163

152164
**Use Case**: Discover available best practices guides.
153165

154166
**Returns**: List of projects with best practices.
155167

156-
### get_best_practices
168+
### holoviz_get_best_practices
157169

158170
**Purpose**: Get best practices for using a project with LLMs.
159171

@@ -164,6 +176,8 @@ Tools for searching and accessing HoloViz documentation.
164176

165177
**Returns**: Best practices guide content.
166178

179+
**Demo**: [https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_get_best_practices](https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_get_best_practices)
180+
167181
## hvPlot Tools
168182

169183
Tools for working with hvPlot plotting functionality.
@@ -207,40 +221,44 @@ Tools for working with hvPlot plotting functionality.
207221
### Discovery
208222

209223
Find what's available:
210-
- `list_packages`: Available Panel packages
211-
- `list_components`: Available Panel components
212-
- `list_plot_types`: Available hvPlot plots
213-
- `list_best_practices`: Available best practices
224+
225+
- `panel_list_packages`: Available Panel packages
226+
- `panel_list_components`: Available Panel components
227+
- `hvplot_list_plot_types`: Available hvPlot plots
228+
- `hvplot_list_best_practices`: Available best practices
214229

215230
### Information
216231

217232
Get detailed information:
218-
- `get_component`: Complete component details
219-
- `get_component_parameters`: Parameter information
220-
- `get_docstring`: Plot type documentation
221-
- `get_signature`: Function signatures
222-
- `get_best_practices`: Best practices guide
233+
234+
- `panel_get_component`: Complete component details
235+
- `panel_get_component_parameters`: Parameter information
236+
- `hvplot_get_docstring`: Plot type documentation
237+
- `hvplot_get_signature`: Function signatures
238+
- `holoviz_get_best_practices`: Best practices guide
223239

224240
### Search
225241

226242
Find relevant information:
227-
- `search` (Panel): Find components
228-
- `search` (Documentation): Find documentation
229-
- `get_reference_guide`: Find reference docs
230-
- `get_document`: Get specific document
243+
244+
- `panel_search` (Panel): Find components
245+
- `holoviz_search` (Documentation): Find documentation
246+
- `holoviz_get_reference_guide`: Find reference docs
247+
- `holoviz_get_document`: Get specific document
231248

232249
### Execution
233250

234251
Run and manage applications:
235-
- `serve`: Start Panel server
236-
- `get_server_logs`: View server logs
237-
- `close_server`: Stop server
252+
253+
- `panel_serve`: Start Panel server
254+
- `panel_get_server_logs`: View server logs
255+
- `panel_close_server`: Stop server
238256

239257
## Tool Usage Patterns
240258

241259
### Component Discovery Pattern
242260

243-
```
261+
```markdown
244262
1. AI Assistant receives: "I need an input component"
245263
2. Calls: list_components or search with query="input"
246264
3. Presents: List of input components
@@ -251,7 +269,7 @@ Run and manage applications:
251269

252270
### Documentation Search Pattern
253271

254-
```
272+
```markdown
255273
1. AI Assistant receives: "How do I create a layout?"
256274
2. Calls: search (documentation) with query="layout"
257275
3. Receives: Relevant documentation chunks
@@ -261,7 +279,7 @@ Run and manage applications:
261279

262280
### Code Generation Pattern
263281

264-
```
282+
```markdown
265283
1. User requests: "Create a dashboard"
266284
2. AI uses: list_components, get_component_parameters
267285
3. Generates: Code using component information

docs/how-to/serve-apps.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,3 @@ How‑To: Serve HoloViz MCP Panel apps locally for exploration, learning, and va
1717
## Online Demo
1818

1919
Try the hosted demo: [🤗 holoviz-mcp-ui](https://huggingface.co/spaces/awesome-panel/holoviz-mcp-ui)
20-
21-
[![Configuration Viewer Tool](../assets/thumbnails/configuration_viewer.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/configuration_viewer)
22-
[![HoloViz Get Best Practices Tool](../assets/thumbnails/holoviz_get_best_practices.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_get_best_practices)
23-
[![HoloViz Search Tool](../assets/thumbnails/holoviz_search.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/holoviz_search)
24-
[![Panel Get Component Tool](../assets/thumbnails/panel_get_component.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_get_component)
25-
[![Panel List Components Tool](../assets/thumbnails/panel_list_components.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_components)
26-
[![Panel List Packages Tool](../assets/thumbnails/panel_list_packages.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_list_packages)
27-
[![Panel Search Components Tool](../assets/thumbnails/panel_search_components.png)](https://awesome-panel-holoviz-mcp-ui.hf.space/panel_search_components)

0 commit comments

Comments
 (0)