npm-run-mcp-server 0.2.8 → 0.2.9

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
@@ -160,7 +160,7 @@ async function main() {
160
160
  }
161
161
  const __filename = fileURLToPath(import.meta.url);
162
162
  const __dirname = dirname(__filename);
163
- const selfPkgPath = resolve(__dirname, 'package.json');
163
+ const selfPkgPath = resolve(__dirname, '..', 'package.json');
164
164
  let serverName = 'npm-run-mcp-server';
165
165
  let serverVersion = '0.0.0';
166
166
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-run-mcp-server",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
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"