Skip to content

Commit 021f7e8

Browse files
Merge pull request #111 from MarcSkovMadsen/enhancement/uv-tool-update
Enhancement/uv tool update
2 parents 0e91f3a + 293da21 commit 021f7e8

12 files changed

Lines changed: 131 additions & 130 deletions

File tree

docs/explanation/architecture.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ MCP Server → MCP Client → AI Assistant (with app URL)
112112

113113
### Documentation Index
114114

115-
Location: `~/.holoviz-mcp/chroma/`
115+
Location: `~/.holoviz-mcp/vector_db/`
116116

117117
The documentation index uses ChromaDB to store:
118+
118119
- Document embeddings (vector representations)
119120
- Document metadata (source, project, path)
120121
- Original document text

docs/explanation/security.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ HoloViz MCP is designed with security in mind, but like any tool that provides A
2626

2727
**Localhost Only** (Secure):
2828
```bash
29-
HOLOVIZ_MCP_HOST=127.0.0.1 HOLOVIZ_MCP_TRANSPORT=http uvx holoviz-mcp
29+
HOLOVIZ_MCP_HOST=127.0.0.1 HOLOVIZ_MCP_TRANSPORT=http holoviz-mcp
3030
```
3131

3232
**All Interfaces** (Requires firewall):
3333
```bash
34-
HOLOVIZ_MCP_HOST=0.0.0.0 HOLOVIZ_MCP_TRANSPORT=http uvx holoviz-mcp
34+
HOLOVIZ_MCP_HOST=0.0.0.0 HOLOVIZ_MCP_TRANSPORT=http holoviz-mcp
3535
```
3636

3737
### Docker Deployments
@@ -48,7 +48,7 @@ Docker images default to `0.0.0.0` for accessibility. Secure with:
4848
### Documentation Indexing
4949

5050
- **Data Flow**: GitHub → Local Machine → ChromaDB
51-
- **Storage**: `~/.holoviz-mcp/chroma/`
51+
- **Storage**: `~/.holoviz-mcp/vector_db/`
5252
- **External Services**: None (except GitHub for cloning)
5353
- **Privacy**: All processing is local
5454

@@ -64,7 +64,7 @@ Docker images default to `0.0.0.0` for accessibility. Secure with:
6464
By default, ChromaDB telemetry is disabled. If you enable it:
6565

6666
```bash
67-
ANONYMIZED_TELEMETRY=true uvx holoviz-mcp
67+
ANONYMIZED_TELEMETRY=true holoviz-mcp
6868
```
6969

7070
Only anonymized usage statistics are sent to ChromaDB.
@@ -83,7 +83,7 @@ HoloViz MCP can read:
8383

8484
HoloViz MCP writes to:
8585
- Configuration directory (`~/.holoviz-mcp/`)
86-
- Documentation index (`~/.holoviz-mcp/chroma/`)
86+
- Documentation index (`~/.holoviz-mcp/vector_db/`)
8787
- Log files (if configured)
8888
- Server processes (if code execution enabled)
8989

@@ -217,7 +217,7 @@ Logs may contain:
217217
Set appropriately for your environment:
218218

219219
```bash
220-
HOLOVIZ_MCP_LOG_LEVEL=WARNING uvx holoviz-mcp
220+
HOLOVIZ_MCP_LOG_LEVEL=WARNING holoviz-mcp
221221
```
222222

223223
## Security Checklist

docs/how-to/configuration.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide explains how to customize HoloViz MCP behavior through configuration
66

77
HoloViz MCP uses a YAML configuration file located at:
88

9-
```
9+
```bash
1010
~/.holoviz-mcp/config.yaml
1111
```
1212

@@ -40,23 +40,23 @@ Values: `stdio`, `http`
4040
Default: `stdio`
4141

4242
```bash
43-
HOLOVIZ_MCP_TRANSPORT=http uvx holoviz-mcp
43+
HOLOVIZ_MCP_TRANSPORT=http holoviz-mcp
4444
```
4545

4646
**HOLOVIZ_MCP_HOST**
4747
Host address to bind to (HTTP transport only).
4848
Default: `127.0.0.1`
4949

5050
```bash
51-
HOLOVIZ_MCP_HOST=0.0.0.0 HOLOVIZ_MCP_TRANSPORT=http uvx holoviz-mcp
51+
HOLOVIZ_MCP_HOST=0.0.0.0 HOLOVIZ_MCP_TRANSPORT=http holoviz-mcp
5252
```
5353

5454
**HOLOVIZ_MCP_PORT**
5555
Port to bind to (HTTP transport only).
5656
Default: `8000`
5757

5858
```bash
59-
HOLOVIZ_MCP_PORT=9000 HOLOVIZ_MCP_TRANSPORT=http uvx holoviz-mcp
59+
HOLOVIZ_MCP_PORT=9000 HOLOVIZ_MCP_TRANSPORT=http holoviz-mcp
6060
```
6161

6262
**HOLOVIZ_MCP_LOG_LEVEL**
@@ -65,7 +65,7 @@ Values: `DEBUG`, `INFO`, `WARNING`, `ERROR`
6565
Default: `INFO`
6666

6767
```bash
68-
HOLOVIZ_MCP_LOG_LEVEL=DEBUG uvx holoviz-mcp
68+
HOLOVIZ_MCP_LOG_LEVEL=DEBUG holoviz-mcp
6969
```
7070

7171
**HOLOVIZ_MCP_SERVER_NAME**
@@ -78,7 +78,7 @@ Default: `holoviz-mcp`
7878
URL prefix for Panel apps when running remotely.
7979

8080
```bash
81-
JUPYTER_SERVER_PROXY_URL=/proxy/5007/ uvx holoviz-mcp
81+
JUPYTER_SERVER_PROXY_URL=/proxy/5007/ holoviz-mcp
8282
```
8383

8484
This is useful when running in JupyterHub or similar environments.
@@ -91,7 +91,7 @@ Values: `true`, `false`
9191
Default: `false`
9292

9393
```bash
94-
ANONYMIZED_TELEMETRY=true uvx holoviz-mcp
94+
ANONYMIZED_TELEMETRY=true holoviz-mcp
9595
```
9696

9797
### Display Server Configuration
@@ -192,7 +192,7 @@ docs:
192192
After adding repositories, update the index:
193193

194194
```bash
195-
uvx holoviz-mcp update index
195+
holoviz-mcp update index
196196
```
197197

198198
## IDE-Specific Configuration
@@ -206,10 +206,9 @@ Set environment variables in `mcp.json`:
206206
"servers": {
207207
"holoviz": {
208208
"type": "stdio",
209-
"command": "uvx",
210-
"args": ["holoviz-mcp"],
209+
"command": "holoviz-mcp",
211210
"env": {
212-
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG",
211+
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG"
213212
}
214213
}
215214
}
@@ -222,8 +221,7 @@ Set environment variables in `mcp.json`:
222221
{
223222
"mcpServers": {
224223
"holoviz": {
225-
"command": "uvx",
226-
"args": ["holoviz-mcp"],
224+
"command": "holoviz-mcp",
227225
"env": {
228226
"HOLOVIZ_MCP_LOG_LEVEL": "INFO"
229227
}
@@ -241,7 +239,7 @@ See the [Docker Guide](docker.md) for Docker-specific configuration options.
241239
HoloViz MCP includes a built-in configuration viewer. Run:
242240

243241
```bash
244-
uvx holoviz-mcp serve
242+
holoviz-mcp serve
245243
```
246244

247245
Navigate to the Configuration Viewer tool to see your current configuration.

docs/how-to/ide-configuration.md

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,22 @@ This guide covers configuring HoloViz MCP with different IDEs and AI assistants.
44

55
## VS Code + GitHub Copilot
66

7-
### Quick Install
8-
9-
Click to install automatically:
10-
11-
[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square)](https://vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522holoviz%2522%252C%2522command%2522%253A%2522uvx%2522%252C%2522args%2522%253A%255B%2522holoviz-mcp%255Bpanel-extensions%255D%2522%255D%257D)
12-
13-
### Manual Configuration
14-
157
1. Open VS Code
168
2. Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS)
179
3. Type "MCP: Edit Settings" and press Enter
1810
4. Add this configuration to your `mcp.json`:
1911

20-
```json
21-
{
22-
"servers": {
23-
"holoviz": {
24-
"type": "stdio",
25-
"command": "uvx",
26-
"args": ["holoviz-mcp"]
27-
}
28-
},
29-
"inputs": []
30-
}
31-
```
12+
```json
13+
{
14+
"servers": {
15+
"holoviz": {
16+
"type": "stdio",
17+
"command": "holoviz-mcp"
18+
}
19+
},
20+
"inputs": []
21+
}
22+
```
3223

3324
5. Save and restart VS Code
3425

@@ -61,8 +52,7 @@ Click to install automatically:
6152
{
6253
"mcpServers": {
6354
"holoviz": {
64-
"command": "uvx",
65-
"args": ["holoviz-mcp"]
55+
"command": "holoviz-mcp"
6656
}
6757
}
6858
}
@@ -90,8 +80,7 @@ After restarting Claude Desktop, look for the MCP indicator (🔌) in the interf
9080
```json
9181
{
9282
"name": "holoviz",
93-
"command": "uvx",
94-
"args": ["holoviz-mcp"]
83+
"command": "holoviz-mcp"
9584
}
9685
```
9786

@@ -105,8 +94,7 @@ Add to your Windsurf MCP configuration:
10594
{
10695
"mcpServers": {
10796
"holoviz": {
108-
"command": "uvx",
109-
"args": ["holoviz-mcp"]
97+
"command": "holoviz-mcp"
11098
}
11199
}
112100
}
@@ -119,8 +107,7 @@ For other MCP-compatible clients, use the standard configuration:
119107
```json
120108
{
121109
"name": "holoviz",
122-
"command": "uvx",
123-
"args": ["holoviz-mcp"]
110+
"command": "holoviz-mcp"
124111
}
125112
```
126113

@@ -135,8 +122,7 @@ You can customize server behavior using environment variables:
135122
"servers": {
136123
"holoviz": {
137124
"type": "stdio",
138-
"command": "uvx",
139-
"args": ["holoviz-mcp"],
125+
"command": "holoviz-mcp",
140126
"env": {
141127
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG"
142128
}
@@ -154,8 +140,7 @@ Use a custom directory for configuration and data:
154140
"servers": {
155141
"holoviz": {
156142
"type": "stdio",
157-
"command": "uvx",
158-
"args": ["holoviz-mcp"],
143+
"command": "holoviz-mcp",
159144
"env": {
160145
"HOLOVIZ_MCP_USER_DIR": "/path/to/custom/dir"
161146
}
@@ -169,16 +154,19 @@ Use a custom directory for configuration and data:
169154
After configuration, test with your AI assistant:
170155

171156
1. **Simple Query**:
157+
172158
```
173159
List available Panel input components
174160
```
175161

176162
2. **Detailed Query**:
163+
177164
```
178165
What parameters does the Panel TextInput component have?
179166
```
180167

181168
3. **Code Generation**:
169+
182170
```
183171
Create a simple Panel dashboard with a slider
184172
```
@@ -190,31 +178,36 @@ If you get detailed, accurate responses, your configuration is working! 🎉
190178
### Server Not Starting
191179

192180
**Check the command**:
181+
193182
```bash
194183
# Test the server directly
195-
uvx holoviz-mcp
184+
holoviz-mcp
196185
```
197186

198187
**Verify uv installation**:
188+
199189
```bash
200190
uv --version
201191
```
202192

203193
**Check Python version**:
194+
204195
```bash
205196
python --version # Should be 3.11 or higher
206197
```
207198

208199
### AI Assistant Not Recognizing Components
209200

210201
1. **Verify documentation index exists**:
202+
211203
```bash
212204
ls ~/.holoviz-mcp
213205
```
214206

215207
2. **Recreate the index**:
208+
216209
```bash
217-
uvx holoviz-mcp update index
210+
holoviz-mcp update index
218211
```
219212

220213
3. **Restart your IDE**
@@ -228,6 +221,7 @@ python --version # Should be 3.11 or higher
228221
### Permission Errors
229222

230223
**Linux/macOS**: Ensure the configuration file is readable:
224+
231225
```bash
232226
chmod 644 ~/.config/Code/User/globalStorage/github.copilot/mcp.json
233227
```

0 commit comments

Comments
 (0)