npm-run-mcp-server 0.2.4 → 0.2.6
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 +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -211,9 +211,8 @@ async function main() {
|
|
|
211
211
|
const toolName = scriptName.toLowerCase().replace(/[^a-z0-9_-]/g, '_');
|
|
212
212
|
// Create a more descriptive description
|
|
213
213
|
const scriptCommand = scripts[scriptName];
|
|
214
|
-
const description = `Run script ${scriptName}`;
|
|
215
|
-
server.tool(toolName, {
|
|
216
|
-
description: description,
|
|
214
|
+
const description = `Run npm script "${scriptName}": ${scriptCommand}`;
|
|
215
|
+
server.tool(toolName, description, {
|
|
217
216
|
inputSchema: {
|
|
218
217
|
type: 'object',
|
|
219
218
|
properties: {
|