🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@webdevtoday/ds-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdevtoday/ds-mcp-server - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+17
-1
bin/ds-mcp-server.js

@@ -5,3 +5,4 @@ #!/usr/bin/env node

import { dirname, join } from 'path';
import { spawn } from 'child_process';
import { spawn, execSync } from 'child_process';
import { existsSync } from 'fs';

@@ -11,2 +12,17 @@ const __filename = fileURLToPath(import.meta.url);

// Check if node_modules exists
const nodeModulesPath = join(__dirname, '..', 'node_modules');
if (!existsSync(nodeModulesPath)) {
console.error('Installing dependencies...');
try {
execSync('npm install --omit=dev', {
cwd: join(__dirname, '..'),
stdio: 'inherit'
});
} catch (error) {
console.error('Failed to install dependencies:', error.message);
process.exit(1);
}
}
// Get the path to mcpServer.js

@@ -13,0 +29,0 @@ const serverPath = join(__dirname, '..', 'mcpServer.js');

+2
-2
{
"name": "@webdevtoday/ds-mcp-server",
"version": "0.1.0",
"version": "0.1.1",
"description": "MCP server for DirectStay API integration",

@@ -8,3 +8,3 @@ "main": "mcpServer.js",

"bin": {
"ds-mcp-server": "./bin/ds-mcp-server.js"
"ds-mcp-server": "bin/ds-mcp-server.js"
},

@@ -11,0 +11,0 @@ "scripts": {