🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ravendb/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ravendb/mcp - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+13
-0
bin/cli.js

@@ -23,2 +23,15 @@ #!/usr/bin/env node

// npm records file modes from whichever machine packed the tarball. Packing on Windows loses the
// POSIX executable bit, so the binary can arrive as 0644 and every launch fails with EACCES. That
// is exactly how 1.0.3 shipped. Restore the bit rather than trusting the tarball.
if (process.platform !== 'win32') {
try {
const { statSync, chmodSync } = require('node:fs');
const { mode } = statSync(binaryPath);
if ((mode & 0o111) === 0) chmodSync(binaryPath, (mode & 0o777) | 0o755);
} catch (err) {
console.error(`[ravendb-mcp] Could not mark "${binaryPath}" executable: ${err.message}`);
}
}
// stdout is the MCP JSON-RPC stream; never write to it. Inherit stdio so the binary owns it, and our own output goes to stderr.

@@ -25,0 +38,0 @@ const result = spawnSync(binaryPath, process.argv.slice(2), { stdio: 'inherit' });

+6
-6
{
"name": "@ravendb/mcp",
"version": "1.0.3",
"version": "1.0.4",
"description": "Read-only MCP diagnostics server for RavenDB. Run it with npx; no .NET required.",

@@ -14,7 +14,7 @@ "mcpName": "io.github.ravendb/ravendb-mcp",

"optionalDependencies": {
"@ravendb/mcp-win32-x64": "1.0.3",
"@ravendb/mcp-win32-arm64": "1.0.3",
"@ravendb/mcp-linux-x64": "1.0.3",
"@ravendb/mcp-darwin-x64": "1.0.3",
"@ravendb/mcp-darwin-arm64": "1.0.3"
"@ravendb/mcp-win32-x64": "1.0.4",
"@ravendb/mcp-win32-arm64": "1.0.4",
"@ravendb/mcp-linux-x64": "1.0.4",
"@ravendb/mcp-darwin-x64": "1.0.4",
"@ravendb/mcp-darwin-arm64": "1.0.4"
},

@@ -21,0 +21,0 @@ "engines": {