create-typescript
CLI tool to create a new TypeScript MCP server
claude mcp add --transport stdio modelcontextprotocol-create-typescript-server npx -y @modelcontextprotocol/create-server
How to use
This MCP server is a CLI scaffolder for quickly generating new MCP (Model Context Protocol) servers written in TypeScript. It lets you spin up a ready-to-develop MCP server project by invoking the generator with your desired server name and optional metadata. After generation, you’ll get a structured project containing the MCP server skeleton, ready to customize with your context models, handlers, and protocol logic. Use the included commands to install dependencies, build, and run in watch mode during development. The tooling emphasizes fast iteration for TypeScript-based MCP servers and aims to streamline boilerplate setup so you can focus on implementing your MCP-specific behavior.
How to install
Prerequisites:
- Node.js (recommended LTS) and npm installed
- Basic familiarity with TypeScript and MCP concepts
Install and scaffold a new server:
-
Create the server scaffold in a desired directory (example uses a folder named my-server): npx @modelcontextprotocol/create-server my-server
-
Change into the new server directory and install dependencies: cd my-server npm install
-
Build your server (TypeScript compilation): npm run build
-
(Optional) Run in watch mode to rebuild on file changes: npm run watch
-
(Optional) If you want to expose the local scaffold as a global binary during development: npm link
Notes:
- The generator creates a TypeScript-based MCP server scaffold you can customize. It does not publish a runnable server by itself; you’ll configure and run the generated project using the standard Node.js tooling provided by the scaffold.
Additional notes
Tips and common issues:
- Ensure you have a compatible Node.js version for the TypeScript project generated by the scaffold.
- If npm install fails due to network issues, retry or configure a registry proxy.
- The generated project typically includes npm scripts such as build and watch; use them to compile and iterate quickly.
- When linking locally (npm link), ensure you’re using the linked binary from the scaffolded project rather than the generator package.
- If you plan to publish or reuse this server, verify package.json metadata (name, version, description) matches your MCP deployment conventions.
- Check the README or generated docs inside the new server for any server-specific configuration options and environment variables.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.