Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit e129377

Browse files
committed
Tweak recommended next steps
1 parent 6ee9231 commit e129377

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ After creating your server:
2020
```bash
2121
cd my-server # Navigate to server directory
2222
npm install # Install dependencies
23+
24+
npm run build # Build once
25+
# or...
2326
npm run watch # Start TypeScript compiler in watch mode
24-
npm link # Make your server binary globally available (optional)
27+
28+
# optional
29+
npm link # Make your server binary globally available
2530
```
2631

2732
## License

src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,13 @@ async function createServer(directory: string, options: any = {}) {
163163
console.log("\nNext steps:");
164164
console.log(chalk.cyan(` cd ${directory}`));
165165
console.log(chalk.cyan(" npm install"));
166-
console.log(chalk.cyan(" npm run watch"));
167166
console.log(
168-
chalk.cyan(" npm link (optional, to make available globally)\n"),
167+
chalk.cyan(` npm run build ${chalk.reset("# or: npm run watch")}`),
168+
);
169+
console.log(
170+
chalk.cyan(
171+
` npm link ${chalk.reset("# optional, to make available globally")}\n`,
172+
),
169173
);
170174
} catch (error) {
171175
spinner.fail(chalk.red("Failed to create MCP server"));

0 commit comments

Comments
 (0)