npm-run-mcp-server 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -211,7 +211,7 @@ 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}`;
214
+ const description = `Run npm script "${scriptName}": ${scriptCommand}`;
215
215
  server.tool(toolName, {
216
216
  description: description,
217
217
  inputSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-run-mcp-server",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "An MCP server that exposes package.json scripts as tools for agents.",
5
5
  "bin": {
6
6
  "npm-run-mcp-server": "dist/index.js"