@zelklab/seevo-mcp-server 0.1.4 → 0.1.5
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/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -180,20 +180,26 @@ Seevoダッシュボードで確認できます: http://localhost:3000/dashboard
|
|
|
180
180
|
// Start server or run CLI
|
|
181
181
|
async function main() {
|
|
182
182
|
const args = process.argv.slice(2);
|
|
183
|
+
// Debug: log args
|
|
184
|
+
console.error("DEBUG: process.argv =", process.argv);
|
|
185
|
+
console.error("DEBUG: args =", args);
|
|
183
186
|
// CLI mode: handle subcommands
|
|
184
187
|
if (args.length > 0 && args[0] === 'register') {
|
|
188
|
+
console.error("DEBUG: Running register subcommand");
|
|
185
189
|
// Dynamically import and run register command
|
|
186
190
|
// register.ts executes its top-level code when imported
|
|
187
191
|
await import('./register.js');
|
|
188
192
|
return;
|
|
189
193
|
}
|
|
190
194
|
if (args.length > 0 && args[0] === 'setup') {
|
|
195
|
+
console.error("DEBUG: Running setup subcommand");
|
|
191
196
|
// Dynamically import and run setup command
|
|
192
197
|
// setup.ts executes its top-level code when imported
|
|
193
198
|
await import('./setup.js');
|
|
194
199
|
return;
|
|
195
200
|
}
|
|
196
201
|
// MCP Server mode: start stdio server
|
|
202
|
+
console.error("DEBUG: Starting MCP server mode");
|
|
197
203
|
const transport = new StdioServerTransport();
|
|
198
204
|
await server.connect(transport);
|
|
199
205
|
console.error("Seevo MCP Server running on stdio");
|