@getmikk/mcp-server 1.5.1

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.
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Standalone MCP server binary.
5
+ * Usage: mikk-mcp --project /path/to/project
6
+ */
7
+
8
+ import { createRequire } from 'node:module'
9
+ const require = createRequire(import.meta.url)
10
+
11
+ // Parse --project flag
12
+ let projectRoot = process.cwd()
13
+ const idx = process.argv.indexOf('--project')
14
+ if (idx !== -1 && process.argv[idx + 1]) {
15
+ projectRoot = process.argv[idx + 1]
16
+ }
17
+
18
+ process.env.MIKK_PROJECT_ROOT = projectRoot
19
+
20
+ // Load the CJS bundle (auto-starts stdio server via src/index.ts)
21
+ require('../dist/index.cjs')