@vespermcp/mcp-server 1.0.0 → 1.0.2

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 CHANGED
@@ -31,17 +31,15 @@ Vesper is a Model Context Protocol (MCP) server that helps you find, analyze, an
31
31
 
32
32
  ## šŸ“¦ Installation
33
33
 
34
- ### Option A: Install via Git (Recommended)
35
- Install directly from the repository without waiting for npm publishing:
34
+ ### Install Globally (Recommended)
35
+
36
36
  ```bash
37
- npm install -g git+https://github.com/vesper/mcp-server.git
37
+ npm install -g @vespermcp/mcp-server
38
38
  ```
39
39
 
40
- ### Option B: Install Globally from Source
41
- 1. Clone the repository
42
- 2. Run install:
40
+ ### Option B: Install via Git
43
41
  ```bash
44
- npm install -g .
42
+ npm install -g git+https://github.com/vespermcp/mcp-server.git
45
43
  ```
46
44
 
47
45
  The postinstall script will automatically:
@@ -67,7 +65,7 @@ Add Vesper to your MCP settings file:
67
65
  "vesper": {
68
66
  "command": "node",
69
67
  "args": [
70
- "vesper"
68
+ "/usr/local/lib/node_modules/@vespermcp/mcp-server/build/index.js"
71
69
  ],
72
70
  "env": {
73
71
  "KAGGLE_USERNAME": "your-username",
@@ -79,7 +77,7 @@ Add Vesper to your MCP settings file:
79
77
  }
80
78
  ```
81
79
 
82
- > **Note**: Update the path in `args` if `vesper` is not in your PATH. You can use the full path: `/usr/local/lib/node_modules/vesper-mcp-server/build/index.js` (use `npm root -g` to check location).
80
+ > **Note**: Update the path in `args` if `vesper` is not in your PATH. You can use the full path: `/usr/local/lib/node_modules/@vespermcp/mcp-server/build/index.js` (use `npm root -g` to check location).
83
81
 
84
82
  ### Environment Variables (Optional)
85
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vespermcp/mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "AI-powered dataset discovery, quality analysis, and preparation MCP server with multimodal support (text, image, audio, video)",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
@@ -10,6 +10,7 @@
10
10
  "files": [
11
11
  "build/**/*",
12
12
  "src/python/**/*",
13
+ "scripts/**/*",
13
14
  "README.md",
14
15
  "LICENSE",
15
16
  "mcp-config-template.json"
@@ -0,0 +1,66 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { execSync } = require('child_process');
4
+ const fs = require('fs');
5
+ const path = require('path');
6
+
7
+ console.log('\nšŸš€ Setting up Vesper MCP Server...\n');
8
+
9
+ // 1. Check for Python
10
+ try {
11
+ execSync('python --version', { stdio: 'pipe' });
12
+ console.log('āœ… Python found');
13
+ } catch (e) {
14
+ console.warn('āš ļø Python not found. Please install Python 3.8+ for full functionality.');
15
+ console.warn(' Image/audio/video analysis features will not work without Python.\n');
16
+ process.exit(0); // Don't fail installation
17
+ }
18
+
19
+ // 2. Install Python dependencies
20
+ console.log('\nšŸ“¦ Installing Python dependencies...');
21
+ const pythonPackages = [
22
+ 'opencv-python',
23
+ 'pillow',
24
+ 'numpy',
25
+ 'librosa',
26
+ 'soundfile'
27
+ ];
28
+
29
+ try {
30
+ execSync(`python -m pip install ${pythonPackages.join(' ')}`, {
31
+ stdio: 'inherit',
32
+ timeout: 120000 // 2 minutes timeout
33
+ });
34
+ console.log('āœ… Python dependencies installed');
35
+ } catch (e) {
36
+ console.warn('āš ļø Failed to install some Python dependencies.');
37
+ console.warn(' You may need to install them manually:');
38
+ console.warn(` pip install ${pythonPackages.join(' ')}\n`);
39
+ }
40
+
41
+ // 3. Create data directories
42
+ const homeDir = process.env.HOME || process.env.USERPROFILE;
43
+ const vesperDataDir = path.join(homeDir, '.vesper');
44
+ const dirs = [
45
+ vesperDataDir,
46
+ path.join(vesperDataDir, 'data'),
47
+ path.join(vesperDataDir, 'data', 'raw'),
48
+ path.join(vesperDataDir, 'data', 'processed'),
49
+ path.join(vesperDataDir, 'datasets')
50
+ ];
51
+
52
+ dirs.forEach(dir => {
53
+ if (!fs.existsSync(dir)) {
54
+ fs.mkdirSync(dir, { recursive: true });
55
+ }
56
+ });
57
+
58
+ console.log(`āœ… Data directories created at ${vesperDataDir}`);
59
+
60
+ // 4. Display setup instructions
61
+ console.log('\n✨ Vesper MCP Server installed successfully!\n');
62
+ console.log('šŸ“– Next steps:');
63
+ console.log(' 1. Add Vesper to your MCP settings (see README.md)');
64
+ console.log(' 2. Restart your AI assistant');
65
+ console.log(' 3. Try: search_datasets(query="sentiment analysis")');
66
+ console.log('\nšŸ’” For full documentation, visit: https://github.com/vesper/mcp-server\n');