Fix "next steps" after generation

This commit is contained in:
Justin Spahr-Summers 2024-11-18 14:29:19 +00:00
commit f38139a6e3
No known key found for this signature in database

View file

@ -73,7 +73,10 @@ async function createServer(directory: string, options: any = {}) {
console.log("\nNext steps:");
console.log(chalk.cyan(` cd ${directory}`));
console.log(chalk.cyan(" npm install"));
console.log(chalk.cyan(" npm run dev\n"));
console.log(chalk.cyan(" npm run watch"));
console.log(
chalk.cyan(" npm link (optional, to make available globally)\n"),
);
} catch (error) {
spinner.fail(chalk.red("Failed to create MCP server"));
console.error(error);