UNPKG

survey-mcp-server

Version:

Survey management server handling survey creation, response collection, analysis, and reporting with database access for data management

34 lines (24 loc) 958 B
#!/usr/bin/env node import { spawn } from 'child_process'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); console.log('Testing survey-mcp-server...'); console.log('If this works, the package is properly installed!'); // Show help information console.log(` survey-mcp-server ================ A survey management MCP server for creating, managing, and analyzing surveys. Usage: survey-mcp-server [options] Options: --mongo-uri <uri> MongoDB connection URI --db-name <name> Database name (default: mcp_survey) --openai-api-key <key> OpenAI API key for AI features --help Show this help message Example: survey-mcp-server --mongo-uri mongodb://localhost:27017 --db-name survey_db For more information, visit: https://github.com/your-repo/survey-mcp-server `); process.exit(0);