🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@socketsecurity/mcp

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/mcp - npm Package Compare versions

Comparing version

to
0.0.5

11

build/index.js

@@ -228,2 +228,13 @@ #!/usr/bin/env node

const url = new URL(req.url, `http://localhost:${port}`);
// Health check endpoint for K8s/Docker
if (url.pathname === '/health') {
res.writeHead(200, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({
status: 'healthy',
service: 'socket-mcp',
version: VERSION,
timestamp: new Date().toISOString()
}));
return;
}
if (url.pathname === '/mcp') {

@@ -230,0 +241,0 @@ if (req.method === 'POST') {

4

package.json
{
"name": "@socketsecurity/mcp",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",

@@ -10,3 +10,3 @@ "main": "./build/index.js",

"scripts": {
"build": "tsc && chmod 755 ./build/index.js && (chmod 755 ./build/mock-client/*.js 2>/dev/null || true)",
"build": "tsc && tsc -p tsconfig.mock-client.json && chmod 755 ./build/index.js && (chmod 755 ./build/mock-client/*.js 2>/dev/null || true)",
"debug:stdio": "node ./build/mock-client/debug-client.js",

@@ -13,0 +13,0 @@ "debug:sdk": "node ./build/mock-client/stdio-client.js",