holoviz-mcp 0.0.1a0__py3-none-any.whl → 0.0.1a2__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.
Potentially problematic release.
This version of holoviz-mcp might be problematic. Click here for more details.
- holoviz_mcp/__init__.py +18 -0
- holoviz_mcp/apps/__init__.py +1 -0
- holoviz_mcp/apps/configuration_viewer.py +116 -0
- holoviz_mcp/apps/search.py +314 -0
- holoviz_mcp/config/__init__.py +31 -0
- holoviz_mcp/config/config.yaml +167 -0
- holoviz_mcp/config/loader.py +308 -0
- holoviz_mcp/config/models.py +216 -0
- holoviz_mcp/config/resources/best-practices/hvplot.md +62 -0
- holoviz_mcp/config/resources/best-practices/panel-material-ui.md +318 -0
- holoviz_mcp/config/resources/best-practices/panel.md +294 -0
- holoviz_mcp/config/schema.json +203 -0
- holoviz_mcp/docs_mcp/__init__.py +1 -0
- holoviz_mcp/docs_mcp/data.py +963 -0
- holoviz_mcp/docs_mcp/models.py +21 -0
- holoviz_mcp/docs_mcp/pages_design.md +407 -0
- holoviz_mcp/docs_mcp/server.py +220 -0
- holoviz_mcp/hvplot_mcp/__init__.py +1 -0
- holoviz_mcp/hvplot_mcp/server.py +152 -0
- holoviz_mcp/panel_mcp/__init__.py +17 -0
- holoviz_mcp/panel_mcp/data.py +316 -0
- holoviz_mcp/panel_mcp/models.py +124 -0
- holoviz_mcp/panel_mcp/server.py +650 -0
- holoviz_mcp/py.typed +0 -0
- holoviz_mcp/serve.py +34 -0
- holoviz_mcp/server.py +77 -0
- holoviz_mcp/shared/__init__.py +1 -0
- holoviz_mcp/shared/extract_tools.py +74 -0
- holoviz_mcp-0.0.1a2.dist-info/METADATA +641 -0
- holoviz_mcp-0.0.1a2.dist-info/RECORD +33 -0
- {holoviz_mcp-0.0.1a0.dist-info → holoviz_mcp-0.0.1a2.dist-info}/WHEEL +1 -2
- holoviz_mcp-0.0.1a2.dist-info/entry_points.txt +4 -0
- holoviz_mcp-0.0.1a2.dist-info/licenses/LICENSE.txt +30 -0
- holoviz_mcp-0.0.1a0.dist-info/METADATA +0 -6
- holoviz_mcp-0.0.1a0.dist-info/RECORD +0 -5
- holoviz_mcp-0.0.1a0.dist-info/top_level.txt +0 -1
- main.py +0 -6
|
@@ -0,0 +1,203 @@
|
|
|
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
|
+
"anonymized_telemetry": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Enable anonymized telemetry",
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
43
|
+
"jupyter_server_proxy_url": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Jupyter server proxy URL for Panel app integration",
|
|
46
|
+
"default": ""
|
|
47
|
+
},
|
|
48
|
+
"security": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"description": "Security configuration",
|
|
51
|
+
"properties": {
|
|
52
|
+
"allow_code_execution": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "Allow LLM to execute arbitrary code (Python, bash, pytest, Panel apps, etc.)",
|
|
55
|
+
"default": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
},
|
|
63
|
+
"docs": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"description": "Documentation configuration",
|
|
66
|
+
"properties": {
|
|
67
|
+
"repositories": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"description": "Repository configurations",
|
|
70
|
+
"patternProperties": {
|
|
71
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"description": "Git repository configuration",
|
|
74
|
+
"properties": {
|
|
75
|
+
"url": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Git repository URL",
|
|
78
|
+
"pattern": "^(https://|http://|git://|ssh://)"
|
|
79
|
+
},
|
|
80
|
+
"branch": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Git branch to use"
|
|
83
|
+
},
|
|
84
|
+
"tag": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Git tag to use"
|
|
87
|
+
},
|
|
88
|
+
"commit": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Git commit hash to use"
|
|
91
|
+
},
|
|
92
|
+
"folders": {
|
|
93
|
+
"oneOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "array",
|
|
96
|
+
"description": "List of folders to index within the repository",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"default": ["doc"]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "object",
|
|
104
|
+
"description": "Mapping of folder names to folder configurations",
|
|
105
|
+
"patternProperties": {
|
|
106
|
+
"^[a-zA-Z0-9_/-]+$": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"description": "Folder configuration",
|
|
109
|
+
"properties": {
|
|
110
|
+
"url_path": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "URL path mapping for this folder",
|
|
113
|
+
"default": ""
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"additionalProperties": false
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"base_url": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Base URL for documentation links"
|
|
126
|
+
},
|
|
127
|
+
"reference_patterns": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"description": "Glob patterns for reference documentation files",
|
|
130
|
+
"items": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"default": ["examples/reference/**/*.md", "examples/reference/**/*.ipynb"]
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": ["url"],
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": false
|
|
141
|
+
},
|
|
142
|
+
"index_patterns": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"description": "File patterns to include when indexing",
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"default": ["**/*.md", "**/*.rst", "**/*.txt"]
|
|
149
|
+
},
|
|
150
|
+
"exclude_patterns": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"description": "File patterns to exclude when indexing",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"default": ["**/node_modules/**", "**/.git/**", "**/build/**"]
|
|
157
|
+
},
|
|
158
|
+
"max_file_size": {
|
|
159
|
+
"type": "integer",
|
|
160
|
+
"description": "Maximum file size in bytes to index",
|
|
161
|
+
"minimum": 0,
|
|
162
|
+
"default": 1048576
|
|
163
|
+
},
|
|
164
|
+
"update_interval": {
|
|
165
|
+
"type": "integer",
|
|
166
|
+
"description": "Update interval in seconds",
|
|
167
|
+
"minimum": 0,
|
|
168
|
+
"default": 86400
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"additionalProperties": false
|
|
172
|
+
},
|
|
173
|
+
"resources": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"description": "Resources configuration",
|
|
176
|
+
"properties": {
|
|
177
|
+
"search_paths": {
|
|
178
|
+
"type": "array",
|
|
179
|
+
"description": "Additional resource search paths",
|
|
180
|
+
"items": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"additionalProperties": false
|
|
186
|
+
},
|
|
187
|
+
"prompts": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"description": "Prompts configuration",
|
|
190
|
+
"properties": {
|
|
191
|
+
"search_paths": {
|
|
192
|
+
"type": "array",
|
|
193
|
+
"description": "Additional prompt search paths",
|
|
194
|
+
"items": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"additionalProperties": false
|
|
203
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""docs_mcp package."""
|