@zelklab/seevo-mcp-server 0.1.3 → 0.1.4

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 +16 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -177,8 +177,23 @@ Seevoダッシュボードで確認できます: http://localhost:3000/dashboard
177
177
  };
178
178
  }
179
179
  });
180
- // Start server
180
+ // Start server or run CLI
181
181
  async function main() {
182
+ const args = process.argv.slice(2);
183
+ // CLI mode: handle subcommands
184
+ if (args.length > 0 && args[0] === 'register') {
185
+ // Dynamically import and run register command
186
+ // register.ts executes its top-level code when imported
187
+ await import('./register.js');
188
+ return;
189
+ }
190
+ if (args.length > 0 && args[0] === 'setup') {
191
+ // Dynamically import and run setup command
192
+ // setup.ts executes its top-level code when imported
193
+ await import('./setup.js');
194
+ return;
195
+ }
196
+ // MCP Server mode: start stdio server
182
197
  const transport = new StdioServerTransport();
183
198
  await server.connect(transport);
184
199
  console.error("Seevo MCP Server running on stdio");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zelklab/seevo-mcp-server",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "MCP Server for Seevo - AI-powered project registration from Claude Code",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",