npm-run-mcp-server 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -162,7 +162,10 @@ async function main() {
|
|
|
162
162
|
const toolName = scriptName.toLowerCase().replace(/[^a-z0-9_-]/g, '_');
|
|
163
163
|
// Create a more descriptive description
|
|
164
164
|
const scriptCommand = scripts[scriptName];
|
|
165
|
-
const description = `Run npm script
|
|
165
|
+
const description = `Run npm script ${scriptName} - ${scriptCommand}`;
|
|
166
|
+
if (verbose) {
|
|
167
|
+
console.error(`[mcp] registering tool: ${toolName} with description: ${description}`);
|
|
168
|
+
}
|
|
166
169
|
server.tool(toolName, {
|
|
167
170
|
description,
|
|
168
171
|
inputSchema: {
|