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