project-graph-mcp 1.2.2 → 1.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/package.json +1 -1
- package/src/server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-graph-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server for AI agents — multi-language project graph (JS, TS, Python, Go), code quality analysis, and framework-specific lint rules. Zero dependencies.",
|
|
6
6
|
"main": "src/server.js",
|
package/src/server.js
CHANGED
|
@@ -13,7 +13,7 @@ import { runCLI } from './cli.js';
|
|
|
13
13
|
|
|
14
14
|
// Main execution logic
|
|
15
15
|
// We check endsWith('server.js') to verify this is the main module being run
|
|
16
|
-
if (process.argv[1] && process.argv[1].endsWith('server.js')) {
|
|
16
|
+
if (process.argv[1] && (process.argv[1].endsWith('server.js') || process.argv[1].endsWith('project-graph-mcp'))) {
|
|
17
17
|
const [, , command, ...args] = process.argv;
|
|
18
18
|
|
|
19
19
|
if (command) {
|