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

@labwired/mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@labwired/mcp - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+11
-1
dist/cli.js

@@ -9,2 +9,7 @@ import { execFile } from 'node:child_process';

const EXEC_TIMEOUT_MS = 120_000;
const CLI_NOT_INSTALLED_MSG = `The 'labwired' CLI was not found on PATH. ` +
`@labwired/mcp shells out to the LabWired simulator binary; ` +
`install it with:\n` +
` curl -fsSL https://labwired.com/install.sh | sh\n` +
`Or set the LABWIRED_CLI env var to the absolute path of an existing binary.`;
export async function runCli(args) {

@@ -20,2 +25,5 @@ try {

const e = err;
if (e.code === 'ENOENT') {
return { stdout: '', stderr: CLI_NOT_INSTALLED_MSG, exitCode: 127 };
}
return {

@@ -91,3 +99,5 @@ stdout: e.stdout ?? '',

if (exitCode !== 0) {
throw new Error(`labwired asset list-chips failed (${exitCode}): ${stderr}`);
if (exitCode === 127)
throw new Error(stderr);
throw new Error(`labwired asset list-chips failed (exit ${exitCode}): ${stderr || '(no output)'}`);
}

@@ -94,0 +104,0 @@ try {

+1
-1

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

const SERVER_NAME = '@labwired/mcp';
const SERVER_VERSION = '0.1.0';
const SERVER_VERSION = '0.1.1';
const CatalogInput = z.object({

@@ -11,0 +11,0 @@ filter: z

{
"name": "@labwired/mcp",
"version": "0.1.0",
"version": "0.1.1",
"description": "Model Context Protocol server exposing the LabWired deterministic firmware simulator as agent tools.",

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