convex-mcp-visual 1.0.4 → 1.0.6
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.
- package/README.md +86 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,11 +238,9 @@ Check your client's MCP server status panel.
|
|
|
238
238
|
|
|
239
239
|
## Setup
|
|
240
240
|
|
|
241
|
-
### 1
|
|
241
|
+
### Step 1: Get Your Deploy Key
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
**Step-by-step:**
|
|
243
|
+
Get a **deploy key** from the Convex dashboard:
|
|
246
244
|
|
|
247
245
|
1. Go to [dashboard.convex.dev](https://dashboard.convex.dev)
|
|
248
246
|
2. Select your project
|
|
@@ -252,16 +250,35 @@ You need a **deploy key** from the Convex dashboard. This is different from `npx
|
|
|
252
250
|
6. Choose "Development" or "Production"
|
|
253
251
|
7. Copy the key (format: `prod:happy-animal-123|convex_deploy_abc123...`)
|
|
254
252
|
|
|
255
|
-
### 2
|
|
253
|
+
### Step 2: Save Your Deploy Key
|
|
256
254
|
|
|
257
|
-
|
|
255
|
+
Add the key to your shell profile so it's always available.
|
|
258
256
|
|
|
257
|
+
**For macOS/Linux (zsh):**
|
|
259
258
|
```bash
|
|
260
|
-
|
|
259
|
+
echo 'export CONVEX_DEPLOY_KEY="prod:your-deployment|your-key-here"' >> ~/.zshrc
|
|
260
|
+
source ~/.zshrc
|
|
261
261
|
```
|
|
262
262
|
|
|
263
|
-
**For
|
|
263
|
+
**For macOS/Linux (bash):**
|
|
264
|
+
```bash
|
|
265
|
+
echo 'export CONVEX_DEPLOY_KEY="prod:your-deployment|your-key-here"' >> ~/.bashrc
|
|
266
|
+
source ~/.bashrc
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
**For Windows (PowerShell):**
|
|
270
|
+
```powershell
|
|
271
|
+
[Environment]::SetEnvironmentVariable("CONVEX_DEPLOY_KEY", "prod:your-deployment|your-key-here", "User")
|
|
272
|
+
```
|
|
264
273
|
|
|
274
|
+
### Step 3: Add the MCP Server
|
|
275
|
+
|
|
276
|
+
**For Claude Code:**
|
|
277
|
+
```bash
|
|
278
|
+
claude mcp add convex-visual -- npx convex-mcp-visual --stdio
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
**For Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`):
|
|
265
282
|
```json
|
|
266
283
|
{
|
|
267
284
|
"mcpServers": {
|
|
@@ -276,23 +293,77 @@ claude mcp add convex-visual -e CONVEX_DEPLOY_KEY=prod:your-deployment|your-key-
|
|
|
276
293
|
}
|
|
277
294
|
```
|
|
278
295
|
|
|
279
|
-
|
|
296
|
+
**For Cursor/VS Code** (MCP settings):
|
|
297
|
+
```json
|
|
298
|
+
{
|
|
299
|
+
"mcp.servers": {
|
|
300
|
+
"convex-visual": {
|
|
301
|
+
"command": "npx",
|
|
302
|
+
"args": ["convex-mcp-visual", "--stdio"]
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Step 4: Verify Setup
|
|
280
309
|
|
|
281
310
|
```bash
|
|
282
|
-
# Check MCP server is registered
|
|
311
|
+
# Check MCP server is registered (Claude Code)
|
|
283
312
|
claude mcp list
|
|
284
313
|
|
|
285
|
-
#
|
|
314
|
+
# Test the connection
|
|
315
|
+
npx convex-mcp-visual --test
|
|
286
316
|
```
|
|
287
317
|
|
|
288
|
-
|
|
318
|
+
You should see:
|
|
319
|
+
```
|
|
320
|
+
Testing Convex connection...
|
|
321
|
+
✓ Connected to: https://your-deployment.convex.cloud
|
|
322
|
+
✓ Found X tables: users, posts, ...
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Changing or Updating Your Deploy Key
|
|
328
|
+
|
|
329
|
+
To switch to a different Convex project or update your key:
|
|
330
|
+
|
|
331
|
+
**1. Edit your shell profile:**
|
|
332
|
+
```bash
|
|
333
|
+
# Open in your editor
|
|
334
|
+
nano ~/.zshrc # or ~/.bashrc
|
|
335
|
+
|
|
336
|
+
# Find and update this line:
|
|
337
|
+
export CONVEX_DEPLOY_KEY="prod:new-deployment|new-key-here"
|
|
338
|
+
|
|
339
|
+
# Save and reload
|
|
340
|
+
source ~/.zshrc
|
|
341
|
+
```
|
|
289
342
|
|
|
343
|
+
**2. Test the new connection:**
|
|
290
344
|
```bash
|
|
291
|
-
# If installed globally or via npx
|
|
292
345
|
npx convex-mcp-visual --test
|
|
346
|
+
```
|
|
293
347
|
|
|
294
|
-
|
|
295
|
-
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## Removing the MCP Server
|
|
351
|
+
|
|
352
|
+
**For Claude Code:**
|
|
353
|
+
```bash
|
|
354
|
+
claude mcp remove convex-visual
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**For Claude Desktop:**
|
|
358
|
+
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` and remove the `convex-visual` entry.
|
|
359
|
+
|
|
360
|
+
**Remove the environment variable (optional):**
|
|
361
|
+
```bash
|
|
362
|
+
# Edit your shell profile
|
|
363
|
+
nano ~/.zshrc
|
|
364
|
+
|
|
365
|
+
# Delete the CONVEX_DEPLOY_KEY line, then reload
|
|
366
|
+
source ~/.zshrc
|
|
296
367
|
```
|
|
297
368
|
|
|
298
369
|
---
|