trackmcp
Back to directory
modelcontextprotocol

create-typescript-server

View on GitHub

CLI tool to create a new TypeScript MCP server JavaScript-based implementation.

165 stars JavaScriptDeveloper Kits Updated Oct 27, 2025

Documentation

create-typescript-server !NPM Version

A command line tool for quickly scaffolding new MCP (Model Context Protocol) servers.

Getting Started

bash
# Create a new server in the directory `my-server`
npx @modelcontextprotocol/create-server my-server

# With options
npx @modelcontextprotocol/create-server my-server --name "My MCP Server" --description "A custom MCP server"

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

# optional
npm link         # Make your server binary globally available

License

This project is licensed under the MIT License—see the LICENSE file for details.

Frequently asked questions

What is create-typescript-server?

create-typescript-server is CLI tool to create a new TypeScript MCP server JavaScript-based implementation.

How do I install create-typescript-server?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is create-typescript-server open source?

Yes — it is hosted on GitHub at https://github.com/modelcontextprotocol/create-typescript-server and has 165 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP