MCP.so
Sign In

create-typescript-server

@modelcontextprotocol

About create-typescript-server

CLI tool to create a new TypeScript MCP server

Basic information

Category

Other

Transports

stdio

Publisher

modelcontextprotocol

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "create-typescript-server": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/create-server",
        "my-server"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is create-typescript-server?

A command line tool for quickly scaffolding new Model Context Protocol (MCP) servers. It generates a ready-to-use TypeScript project structure for building MCP servers.

How to use create-typescript-server?

Run npx @modelcontextprotocol/create-server my-server to scaffold a new server in a directory. After creation, navigate into the directory, run npm install to install dependencies, then npm run build to compile the TypeScript code. Optional flags like --name and --description can customize the generated project.

Key features of create-typescript-server

  • Scaffolds new MCP servers from the command line
  • Supports custom server name and description via flags
  • Provides npm run build and npm run watch commands
  • Optional npm link to make server binary globally available
  • Licensed under MIT

Use cases of create-typescript-server

  • Rapidly bootstrap a new MCP server project
  • Start building custom MCP integrations with a standard template
  • Create multiple MCP servers with consistent project structure

FAQ from create-typescript-server

What does create-typescript-server do?

It generates a complete TypeScript project skeleton for a new MCP server, including package.json, source files, and build configuration.

What runtime is required?

Node.js and npm (or an equivalent package manager) are needed to run the scaffolding command and install dependencies.

How do I create a server with a custom name and description?

Use the --name and --description flags when running the scaffolding command, e.g., npx @modelcontextprotocol/create-server my-server --name "My Server" --description "A custom server".

What license is the project released under?

This project is licensed under the MIT License.

Comments

More Other MCP servers