holoviz-mcp 0.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holoviz_mcp/__init__.py +18 -0
- holoviz_mcp/apps/__init__.py +1 -0
- holoviz_mcp/apps/configuration_viewer.py +116 -0
- holoviz_mcp/apps/holoviz_get_best_practices.py +173 -0
- holoviz_mcp/apps/holoviz_search.py +319 -0
- holoviz_mcp/apps/hvplot_get_docstring.py +255 -0
- holoviz_mcp/apps/hvplot_get_signature.py +252 -0
- holoviz_mcp/apps/hvplot_list_plot_types.py +83 -0
- holoviz_mcp/apps/panel_get_component.py +496 -0
- holoviz_mcp/apps/panel_get_component_parameters.py +467 -0
- holoviz_mcp/apps/panel_list_components.py +311 -0
- holoviz_mcp/apps/panel_list_packages.py +71 -0
- holoviz_mcp/apps/panel_search_components.py +312 -0
- holoviz_mcp/cli.py +75 -0
- holoviz_mcp/client.py +94 -0
- holoviz_mcp/config/__init__.py +29 -0
- holoviz_mcp/config/config.yaml +178 -0
- holoviz_mcp/config/loader.py +316 -0
- holoviz_mcp/config/models.py +208 -0
- holoviz_mcp/config/resources/best-practices/holoviews.md +423 -0
- holoviz_mcp/config/resources/best-practices/hvplot.md +465 -0
- holoviz_mcp/config/resources/best-practices/panel-material-ui.md +318 -0
- holoviz_mcp/config/resources/best-practices/panel.md +562 -0
- holoviz_mcp/config/schema.json +228 -0
- holoviz_mcp/holoviz_mcp/__init__.py +1 -0
- holoviz_mcp/holoviz_mcp/data.py +970 -0
- holoviz_mcp/holoviz_mcp/models.py +21 -0
- holoviz_mcp/holoviz_mcp/pages_design.md +407 -0
- holoviz_mcp/holoviz_mcp/server.py +220 -0
- holoviz_mcp/hvplot_mcp/__init__.py +1 -0
- holoviz_mcp/hvplot_mcp/server.py +146 -0
- holoviz_mcp/panel_mcp/__init__.py +17 -0
- holoviz_mcp/panel_mcp/data.py +319 -0
- holoviz_mcp/panel_mcp/models.py +124 -0
- holoviz_mcp/panel_mcp/server.py +443 -0
- holoviz_mcp/py.typed +0 -0
- holoviz_mcp/serve.py +36 -0
- holoviz_mcp/server.py +86 -0
- holoviz_mcp/shared/__init__.py +1 -0
- holoviz_mcp/shared/extract_tools.py +74 -0
- holoviz_mcp/thumbnails/configuration_viewer.png +0 -0
- holoviz_mcp/thumbnails/holoviz_get_best_practices.png +0 -0
- holoviz_mcp/thumbnails/holoviz_search.png +0 -0
- holoviz_mcp/thumbnails/hvplot_get_docstring.png +0 -0
- holoviz_mcp/thumbnails/hvplot_get_signature.png +0 -0
- holoviz_mcp/thumbnails/hvplot_list_plot_types.png +0 -0
- holoviz_mcp/thumbnails/panel_get_component.png +0 -0
- holoviz_mcp/thumbnails/panel_get_component_parameters.png +0 -0
- holoviz_mcp/thumbnails/panel_list_components.png +0 -0
- holoviz_mcp/thumbnails/panel_list_packages.png +0 -0
- holoviz_mcp/thumbnails/panel_search_components.png +0 -0
- holoviz_mcp-0.4.0.dist-info/METADATA +216 -0
- holoviz_mcp-0.4.0.dist-info/RECORD +56 -0
- holoviz_mcp-0.4.0.dist-info/WHEEL +4 -0
- holoviz_mcp-0.4.0.dist-info/entry_points.txt +2 -0
- holoviz_mcp-0.4.0.dist-info/licenses/LICENSE.txt +30 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "HoloViz MCP Configuration",
|
|
4
|
+
"description": "Configuration schema for HoloViz MCP server",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"server": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"description": "Server configuration",
|
|
10
|
+
"properties": {
|
|
11
|
+
"name": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Server name",
|
|
14
|
+
"default": "holoviz-mcp"
|
|
15
|
+
},
|
|
16
|
+
"version": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Server version",
|
|
19
|
+
"default": "1.0.0"
|
|
20
|
+
},
|
|
21
|
+
"description": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Server description",
|
|
24
|
+
"default": "Model Context Protocol server for HoloViz ecosystem"
|
|
25
|
+
},
|
|
26
|
+
"log_level": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Logging level",
|
|
29
|
+
"enum": ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
|
|
30
|
+
"default": "INFO"
|
|
31
|
+
},
|
|
32
|
+
"transport": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Transport protocol for MCP communication",
|
|
35
|
+
"enum": ["stdio", "http"],
|
|
36
|
+
"default": "stdio"
|
|
37
|
+
},
|
|
38
|
+
"host": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Host address to bind to when using HTTP transport (use 0.0.0.0 for Docker)",
|
|
41
|
+
"default": "127.0.0.1"
|
|
42
|
+
},
|
|
43
|
+
"port": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"description": "Port to bind to when using HTTP transport",
|
|
46
|
+
"default": 8000
|
|
47
|
+
},
|
|
48
|
+
"anonymized_telemetry": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Enable anonymized telemetry",
|
|
51
|
+
"default": false
|
|
52
|
+
},
|
|
53
|
+
"jupyter_server_proxy_url": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Jupyter server proxy URL for Panel app integration",
|
|
56
|
+
"default": ""
|
|
57
|
+
},
|
|
58
|
+
"vector_db_path": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Path to the Chroma vector database",
|
|
61
|
+
"format": "path"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"docs": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"description": "Documentation configuration",
|
|
69
|
+
"properties": {
|
|
70
|
+
"repositories": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"description": "Repository configurations",
|
|
73
|
+
"patternProperties": {
|
|
74
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"description": "Git repository configuration",
|
|
77
|
+
"properties": {
|
|
78
|
+
"url": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Git repository URL",
|
|
81
|
+
"pattern": "^(https://|http://|git://|ssh://)"
|
|
82
|
+
},
|
|
83
|
+
"branch": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "Git branch to use"
|
|
86
|
+
},
|
|
87
|
+
"tag": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Git tag to use"
|
|
90
|
+
},
|
|
91
|
+
"commit": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Git commit hash to use"
|
|
94
|
+
},
|
|
95
|
+
"folders": {
|
|
96
|
+
"oneOf": [
|
|
97
|
+
{
|
|
98
|
+
"type": "array",
|
|
99
|
+
"description": "List of folders to index within the repository",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"default": ["doc"]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"description": "Mapping of folder names to folder configurations",
|
|
108
|
+
"patternProperties": {
|
|
109
|
+
"^[a-zA-Z0-9_/-]+$": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"description": "Folder configuration",
|
|
112
|
+
"properties": {
|
|
113
|
+
"url_path": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "URL path mapping for this folder",
|
|
116
|
+
"default": ""
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"base_url": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "Base URL for documentation links",
|
|
129
|
+
"format": "uri"
|
|
130
|
+
},
|
|
131
|
+
"url_transform": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "How to transform file path into URL",
|
|
134
|
+
"enum": ["holoviz", "plotly", "datashader"],
|
|
135
|
+
"default": "holoviz"
|
|
136
|
+
},
|
|
137
|
+
"reference_patterns": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"description": "Glob patterns for reference documentation files",
|
|
140
|
+
"items": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"default": ["examples/reference/**/*.md", "examples/reference/**/*.ipynb"]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"required": ["url", "base_url"],
|
|
147
|
+
"additionalProperties": false
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"additionalProperties": false
|
|
151
|
+
},
|
|
152
|
+
"index_patterns": {
|
|
153
|
+
"type": "array",
|
|
154
|
+
"description": "File patterns to include when indexing",
|
|
155
|
+
"items": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"default": ["**/*.md", "**/*.rst", "**/*.txt"]
|
|
159
|
+
},
|
|
160
|
+
"exclude_patterns": {
|
|
161
|
+
"type": "array",
|
|
162
|
+
"description": "File patterns to exclude when indexing",
|
|
163
|
+
"items": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"default": ["**/node_modules/**", "**/.git/**", "**/build/**"]
|
|
167
|
+
},
|
|
168
|
+
"max_file_size": {
|
|
169
|
+
"type": "integer",
|
|
170
|
+
"description": "Maximum file size in bytes to index",
|
|
171
|
+
"minimum": 0,
|
|
172
|
+
"default": 1048576
|
|
173
|
+
},
|
|
174
|
+
"update_interval": {
|
|
175
|
+
"type": "integer",
|
|
176
|
+
"description": "Update interval in seconds",
|
|
177
|
+
"minimum": 0,
|
|
178
|
+
"default": 86400
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"additionalProperties": false
|
|
182
|
+
},
|
|
183
|
+
"resources": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"description": "Resources configuration",
|
|
186
|
+
"properties": {
|
|
187
|
+
"search_paths": {
|
|
188
|
+
"type": "array",
|
|
189
|
+
"description": "Additional resource search paths",
|
|
190
|
+
"items": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"additionalProperties": false
|
|
196
|
+
},
|
|
197
|
+
"prompts": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"description": "Prompts configuration",
|
|
200
|
+
"properties": {
|
|
201
|
+
"search_paths": {
|
|
202
|
+
"type": "array",
|
|
203
|
+
"description": "Additional prompt search paths",
|
|
204
|
+
"items": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"additionalProperties": false
|
|
210
|
+
},
|
|
211
|
+
"user_dir": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "User configuration directory",
|
|
214
|
+
"format": "path"
|
|
215
|
+
},
|
|
216
|
+
"default_dir": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"description": "Default configuration directory",
|
|
219
|
+
"format": "path"
|
|
220
|
+
},
|
|
221
|
+
"repos_dir": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"description": "Repository download directory",
|
|
224
|
+
"format": "path"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"additionalProperties": false
|
|
228
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""docs_mcp package."""
|