@ninebone/mcp 1.0.13 → 1.0.14

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,8 @@
1
+ module.exports = {
2
+ apps: [{
3
+ name: "nine-mcp",
4
+ script: "./src/index.js", // 상대 경로로 지정 가능
5
+ interpreter: "node", // 윈도우/맥 모두 node로 실행 보장
6
+ watch: false
7
+ }]
8
+ }
@@ -0,0 +1,12 @@
1
+ // pm2-start.js (프로젝트 루트에 이 파일 하나만 있으면 됨)
2
+ const { execSync } = require('child_process');
3
+ const path = require('path');
4
+
5
+ // 현재 스크립트가 위치한 곳이 곧 프로젝트 루트
6
+ const projectRoot = __dirname;
7
+ const configPath = path.join(projectRoot, 'ecosystem.config.js');
8
+
9
+ console.log(`🚀 프로젝트 경로에서 PM2 시작: ${projectRoot}`);
10
+
11
+ // PM2 명령어를 절대 경로로 실행
12
+ execSync(`pm2 start "${configPath}"`, { stdio: 'inherit' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninebone/mcp",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "NineQuery AI Connector for Database",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/core/init.js CHANGED
@@ -139,7 +139,7 @@ export async function runInit() {
139
139
  const success = await createEnvFile(rl);
140
140
  if (success) {
141
141
  createPromptFiles();
142
- createEcosystemFile();
142
+ //createEcosystemFile();
143
143
  console.log('\n✅ 모든 초기화 작업이 완료되었습니다.');
144
144
 
145
145
  // MCP 환경에 특화된 안내 문구 추가