🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

create-mcp-ts
Create a new MCP server in TypeScript, batteries included.
3 years
Works with Finder
4
Github Watches
0
Github Forks
4
Github Stars
create-mcp-ts 
Create a new MCP server in TypeScript, batteries included.
Getting started
npm init mcp-ts your-server
cd your-server
npm run dev
create-mcp-ts
requires zero build configuration - it will automatically install everything you need to develop, build, and set up your MCP server.
Set up your MCP server in Cursor, Windsurf, and Claude Desktop
create-mcp-ts
can automatically configure your MCP server in Cursor, Windsurf, and Claude Desktop:
npm run setup
This script checks if your-server
already exists in each client's respective MCP configuration file. If not, it adds an entry pointing to the server script (dist/index.js
):
{
"mcpConfig": {
"your-server": {
"command": "node",
"args": ["/path/to/your-server/dist/index.js"]
}
}
}
For more details on how to set up MCP servers in Cursor, Windsurf, and Claude Desktop, see:
Custom templates
If you'd like to use a custom template, you can do so by passing the template npm package name or file path to the npx create-mcp-ts
command:
npx create-mcp-ts your-server --template=mcp-ts-template-default
npx create-mcp-ts your-server --template=file:/path/to/mcp-ts-template
Publishing your MCP server
If you plan to share your MCP server, you can publish it to npm:
- Set
"version"
inpackage.json
and ensure"private"
is set tofalse
. - Run
npm install
. - Run
npm run build
. - Run
npm login
(if needed). - Run
npm publish
.
Ejecting from mcp-scripts
The mcp-scripts
package contains build tools for create-mcp-ts
projects - everything you'll need to develop, build, and set up an MCP server without any additional configuration.
Under the hood mcp-scripts
uses tsup and esbuild, lightweight, battle-tested utilities that are well-suited for production-grade TypeScript projects.
If you'd like to eject from mcp-scripts
, run the following command:
npm run eject
This will remove the mcp-scripts
dependency and replace any related commands from your project's package.json
file.
Troubleshooting your MCP server
Confirm you have Node.js installed
If you experience issues running your MCP server, the first thing to check is that you have Node.js installed globally. You can check this by running:
node --version
If you don't have Node.js installed, you can install it by following the instructions here.
Usage with Node.js version managers
Some MCP client environments may not have access to the full system PATH, which can cause issues when using Node.js version managers like nodenv
or nvm
. In these cases, you'll need to specify the full path to the Node.js binary in your MCP config:
{
"mcpConfig": {
"your-server": {
"command": "/absolute/path/to/node",
"args": ["/path/to/your-mcp-server/dist/index.js"]
}
}
}
To find the absolute path to your Node.js binary, you can run:
which node
Make sure to update your MCP config in each client (Cursor, Windsurf, or Claude Desktop) with the correct absolute path to the Node.js binary you want to use.
For any other issues, please open an issue here.
Philosophy
create-mcp-ts
is designed to be a batteries-included, "it just works" experience for MCP server developers.
-
Batteries included: there is only one build dependency,
mcp-scripts
. It uses tsup, esbuild, and other amazing open source projects, but provides a curated experience on top of them. - Zero configuration: you don't need to configure anything. A reasonably good configuration is handled for you so you can focus on writing code.
- No lock-in: you can "eject" to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.
This project is inspired by create-react-app.
Related packages
-
packages/mcp-scripts: The build tools that power
create-mcp-ts
projects. -
packages/mcp-ts-template-default: Default project template for
create-mcp-ts
.
相关推荐
PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
🧑🚀 全世界最好的LLM资料总结(数据处理、模型训练、模型部署、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信(企业微信、个人微信)/ 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 ChatGPT、DeepSeek、Dify、Claude、Gemini、xAI、PPIO、Ollama、LM Studio、阿里云百炼、火山方舟、SiliconFlow、Qwen、Moonshot、ChatGLM、SillyTraven、MCP 等 LLM 的机器人 / Agent | LLM-based instant messaging bots platform, supports Discord, Telegram, WeChat, Lark, DingTalk, QQ, Slack
Reviews

user_A95tGw2n
I've been using create-mcp-ts for a while now, and it's an outstanding tool for anyone working with MCP applications. Developed by stephencme, this product stands out due to its user-friendly interface and efficient functionality. It saved me a lot of development time and streamlined my workflow. Highly recommended!

user_9HLlGznO
I've been using create-mcp-ts by stephencme, and it has significantly improved my development workflow. Its seamless integration and user-friendly interface make it a top choice for those working with MCP applications. Highly recommended for anyone looking to streamline their projects efficiently.

user_a97GWooK
As a dedicated user of create-mcp-ts by stephencme, I must say this MCP application has exceeded my expectations. It's intuitive, user-friendly, and has significantly streamlined my tasks. I highly recommend this to anyone looking for an efficient tool that delivers excellent performance. Kudos to the developer for such a fantastic creation!

user_nFuUzF0l
As an avid user of the create-mcp-ts application by stephencme, I must say it has revolutionized my project workflow. Its intuitive design and comprehensive features cater perfectly to my needs. From the welcoming interface to the seamless transitions between tasks, it has truly elevated my development experience. Highly recommend this tool to anyone looking for an efficient project management solution!

user_dlDUYoYZ
I have been using create-mcp-ts by stephencme and it has significantly improved my TypeScript projects. Easy to integrate and with a seamless user experience, this tool stands out. Also, the comprehensive documentation and support have been tremendously helpful. Highly recommended for developers looking to streamline their workflow!

user_WogSm0vC
As a dedicated MCP app user, I highly recommend create-mcp-ts by Stephencme. This tool simplifies TypeScript development enormously, enhancing both productivity and code quality. The clean and intuitive interface makes it accessible for both beginners and experienced developers. A must-have for anyone looking to streamline their development workflow!