express-mcp

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Express MCP Server

Express MCP 服务器

An MCP (Model Context Protocol) server implementation with Express.js and TypeScript.
这是一个基于Express.js和TypeScript的MCP(Model Context Protocol,模型上下文协议)服务器实现。

Tech Stack

技术栈

  • Framework: Express.js
  • Language: TypeScript
  • Protocol: MCP (Model Context Protocol)
  • Package Manager: npm
  • 框架:Express.js
  • 语言:TypeScript
  • 协议:MCP (Model Context Protocol)
  • 包管理器:npm

Setup

搭建步骤

1. Clone the Template

1. 克隆模板

bash
git clone --depth 1 https://github.com/Eng0AI/express-mcp.git .
If the directory is not empty:
bash
git clone --depth 1 https://github.com/Eng0AI/express-mcp.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
bash
git clone --depth 1 https://github.com/Eng0AI/express-mcp.git .
如果目标目录非空:
bash
git clone --depth 1 https://github.com/Eng0AI/express-mcp.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

2. 移除Git历史记录(可选)

bash
rm -rf .git
git init
bash
rm -rf .git
git init

3. Install Dependencies

3. 安装依赖

bash
npm install
bash
npm install

Build

构建

bash
npm run build
bash
npm run build

Development

开发

bash
npm run dev
bash
npm run dev