@vespermcp/mcp-server 1.0.1 → 1.0.3

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:
@@ -65,13 +63,9 @@ Add Vesper to your MCP settings file:
65
63
  {
66
64
  "mcpServers": {
67
65
  "vesper": {
68
- "command": "node",
69
- "args": [
70
- "vesper"
71
- ],
66
+ "command": "vesper",
67
+ "args": [],
72
68
  "env": {
73
- "KAGGLE_USERNAME": "your-username",
74
- "KAGGLE_KEY": "your-api-key",
75
69
  "HF_TOKEN": "your-huggingface-token"
76
70
  }
77
71
  }
@@ -79,7 +73,7 @@ Add Vesper to your MCP settings file:
79
73
  }
80
74
  ```
81
75
 
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).
76
+ > **Note**: If the `vesper` command isn't found, you can stick to the absolute path method.
83
77
 
84
78
  ### Environment Variables (Optional)
85
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vespermcp/mcp-server",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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",
@@ -57,10 +57,53 @@ dirs.forEach(dir => {
57
57
 
58
58
  console.log(`āœ… Data directories created at ${vesperDataDir}`);
59
59
 
60
- // 4. Display setup instructions
60
+ // 4. Auto-configure Claude Desktop (Best Effort)
61
+ console.log('\nāš™ļø Attempting to auto-configure Claude Desktop...');
62
+
63
+ function getClaudeConfigPath() {
64
+ const platform = process.platform;
65
+ const home = process.env.HOME || process.env.USERPROFILE;
66
+
67
+ if (platform === 'win32') {
68
+ return path.join(process.env.APPDATA, 'Claude', 'claude_desktop_config.json');
69
+ } else if (platform === 'darwin') {
70
+ return path.join(home, 'Library', 'Application Support', 'Claude', 'claude_desktop_config.json');
71
+ }
72
+ return null;
73
+ }
74
+
75
+ const configPath = getClaudeConfigPath();
76
+
77
+ if (configPath && fs.existsSync(configPath)) {
78
+ try {
79
+ const configContent = fs.readFileSync(configPath, 'utf8');
80
+ let config = JSON.parse(configContent);
81
+
82
+ if (!config.mcpServers) config.mcpServers = {};
83
+
84
+ if (!config.mcpServers.vesper) {
85
+ config.mcpServers.vesper = {
86
+ command: "vesper",
87
+ args: [],
88
+ env: {
89
+ "HF_TOKEN": ""
90
+ }
91
+ };
92
+
93
+ fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
94
+ console.log(`āœ… Automatically added 'vesper' to ${configPath}`);
95
+ } else {
96
+ console.log(`ā„¹ļø 'vesper' is already configured in ${configPath}`);
97
+ }
98
+ } catch (e) {
99
+ console.warn(`āš ļø Could not auto-configure Claude Desktop: ${e.message}`);
100
+ }
101
+ } else {
102
+ console.log('ā„¹ļø Claude Desktop config not found (skipping auto-config)');
103
+ }
104
+
61
105
  console.log('\n✨ Vesper MCP Server installed successfully!\n');
62
106
  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")');
107
+ console.log(' 1. Restart your AI assistant (Cursor/Claude)');
108
+ console.log(' 2. Try: search_datasets(query="sentiment analysis")');
66
109
  console.log('\nšŸ’” For full documentation, visit: https://github.com/vesper/mcp-server\n');