create-typescript-server

CLI tool to create a new TypeScript MCP server

GitHub Stars

162

User Rating

Not Rated

Favorites

0

Views

33

Forks

61

Issues

4

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Node.js: 18.0.0 or higher
npm: 8.0.0 or higher

Installation Steps

1. Create a new server

bash
npx @modelcontextprotocol/create-server my-server

2. Navigate to the server directory

bash
cd my-server

3. Install dependencies

bash
npm install

4. Build the server

bash
npm run build
Or start the TypeScript compiler in watch mode:
bash
npm run watch

5. Optionally make your server binary globally available

bash
npm link

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Node.js version and reinstall dependencies.