@zelklab/seevo-mcp-server 0.1.5 → 0.1.6
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 +0 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -180,26 +180,20 @@ 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);
|
|
186
183
|
// CLI mode: handle subcommands
|
|
187
184
|
if (args.length > 0 && args[0] === 'register') {
|
|
188
|
-
console.error("DEBUG: Running register subcommand");
|
|
189
185
|
// Dynamically import and run register command
|
|
190
186
|
// register.ts executes its top-level code when imported
|
|
191
187
|
await import('./register.js');
|
|
192
188
|
return;
|
|
193
189
|
}
|
|
194
190
|
if (args.length > 0 && args[0] === 'setup') {
|
|
195
|
-
console.error("DEBUG: Running setup subcommand");
|
|
196
191
|
// Dynamically import and run setup command
|
|
197
192
|
// setup.ts executes its top-level code when imported
|
|
198
193
|
await import('./setup.js');
|
|
199
194
|
return;
|
|
200
195
|
}
|
|
201
196
|
// MCP Server mode: start stdio server
|
|
202
|
-
console.error("DEBUG: Starting MCP server mode");
|
|
203
197
|
const transport = new StdioServerTransport();
|
|
204
198
|
await server.connect(transport);
|
|
205
199
|
console.error("Seevo MCP Server running on stdio");
|