@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 +8 -14
- package/package.json +1 -1
- package/scripts/postinstall.cjs +47 -4
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
|
-
###
|
|
35
|
-
|
|
34
|
+
### Install Globally (Recommended)
|
|
35
|
+
|
|
36
36
|
```bash
|
|
37
|
-
npm install -g
|
|
37
|
+
npm install -g @vespermcp/mcp-server
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
### Option B: Install
|
|
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": "
|
|
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**:
|
|
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.
|
|
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",
|
package/scripts/postinstall.cjs
CHANGED
|
@@ -57,10 +57,53 @@ dirs.forEach(dir => {
|
|
|
57
57
|
|
|
58
58
|
console.log(`ā
Data directories created at ${vesperDataDir}`);
|
|
59
59
|
|
|
60
|
-
// 4.
|
|
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.
|
|
64
|
-
console.log(' 2.
|
|
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');
|