Tweak recommended next steps
This commit is contained in:
parent
6ee9231134
commit
e129377638
2 changed files with 12 additions and 3 deletions
|
|
@ -20,8 +20,13 @@ After creating your server:
|
|||
```bash
|
||||
cd my-server # Navigate to server directory
|
||||
npm install # Install dependencies
|
||||
|
||||
npm run build # Build once
|
||||
# or...
|
||||
npm run watch # Start TypeScript compiler in watch mode
|
||||
npm link # Make your server binary globally available (optional)
|
||||
|
||||
# optional
|
||||
npm link # Make your server binary globally available
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
|||
|
|
@ -163,9 +163,13 @@ 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 watch"));
|
||||
console.log(
|
||||
chalk.cyan(" npm link (optional, to make available globally)\n"),
|
||||
chalk.cyan(` npm run build ${chalk.reset("# or: npm run watch")}`),
|
||||
);
|
||||
console.log(
|
||||
chalk.cyan(
|
||||
` npm link ${chalk.reset("# optional, to make available globally")}\n`,
|
||||
),
|
||||
);
|
||||
} catch (error) {
|
||||
spinner.fail(chalk.red("Failed to create MCP server"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue