Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@modelcontextprotocol/inspector-server

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modelcontextprotocol/inspector-server - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

8

build/index.js

@@ -10,2 +10,3 @@ #!/usr/bin/env node

import mcpProxy from "./mcpProxy.js";
import { findActualExecutable } from "spawn-rx";
// Polyfill EventSource for an SSE client in Node.js

@@ -29,7 +30,8 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any

const command = query.command;
const args = query.args.split(/\s+/);
const origArgs = query.args.split(/\s+/);
const env = query.env ? JSON.parse(query.env) : undefined;
console.log(`Stdio transport: command=${command}, args=${args}, env=${JSON.stringify(env)}`);
const { cmd, args } = findActualExecutable(command, origArgs);
console.log(`Stdio transport: command=${cmd}, args=${args}, env=${JSON.stringify(env)}`);
const transport = new StdioClientTransport({
command,
command: cmd,
args,

@@ -36,0 +38,0 @@ env,

{
"name": "@modelcontextprotocol/inspector-server",
"version": "0.2.3",
"version": "0.2.4",
"description": "Server-side application for the Model Context Protocol inspector",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc