npm-run-mcp-server 0.2.1 → 0.2.3
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 +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -162,9 +162,12 @@ 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
|
|
165
|
+
const description = `Run script ${scriptName}`;
|
|
166
|
+
if (verbose) {
|
|
167
|
+
console.error(`[mcp] registering tool: ${toolName} with description: ${description}`);
|
|
168
|
+
}
|
|
166
169
|
server.tool(toolName, {
|
|
167
|
-
description,
|
|
170
|
+
description: description,
|
|
168
171
|
inputSchema: {
|
|
169
172
|
type: 'object',
|
|
170
173
|
properties: {
|