UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

17 lines (16 loc) 506 B
export function detectCLIMode(args) { if (args.includes('--help') || args.includes('-h')) { return 'help'; } if (args.length === 0 || args.includes('--interactive') || args.includes('-i')) { return 'interactive'; } return 'oneshot'; } export function isInteractiveMode(args) { return detectCLIMode(args) === 'interactive'; } export function extractRequest(args) { const nonFlagArgs = args.filter(arg => !arg.startsWith('-')); return nonFlagArgs.join(' '); }