经 AI Skill Hub 精选评估,MCP TypeScript 模板 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
TypeScript模板,用于构建MCP服务器,提高开发效率和代码质量。
MCP TypeScript 模板 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
TypeScript模板,用于构建MCP服务器,提高开发效率和代码质量。
MCP TypeScript 模板 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/nickytonline/mcp-typescript-template
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp-typescript---": {
"command": "npx",
"args": ["-y", "mcp-typescript-template"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP TypeScript 模板 执行以下任务... Claude: [自动调用 MCP TypeScript 模板 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp_typescript___": {
"command": "npx",
"args": ["-y", "mcp-typescript-template"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
A TypeScript template for building remote Model Context Protocol (MCP) servers with modern tooling and best practices while leveraging the MCP TypeScript SDK.
This template provides:
The easiest way to get started is using degit:
npx degit nickytonline/mcp-typescript-template my-mcp-server
cd my-mcp-server
npm install
npm run build
4. Start the server
npm start
The server will be available at http://localhost:3000 for MCP connections.
npm run build
Build and run using Docker:
docker build -t my-mcp-server .
docker run -p 3000:3000 my-mcp-server
```yaml
version: "3.8" services: mcp-server: build: . ports: - "3000:3000" environment: - PORT=3000
bash docker-compose up --build ```
import { createTextResult } from "./lib/utils.js";
server.registerTool(
"my_tool",
{
title: "My Custom Tool",
description: "Description of what this tool does",
inputSchema: {
param1: z.string().describe("Description of param1"),
param2: z.number().optional().describe("Optional parameter"),
},
},
async (args) => {
// Your tool logic here
const result = await myCustomLogic(args.param1, args.param2);
return createTextResult(result);
},
);
Contributors should review AGENTS.md for project structure, coding standards, and pull request expectations before opening changes.
You can also click the "Use this template" button on GitHub to create a new repository, then clone it:
git clone <your-repo-url>
cd my-mcp-server
npm install
该项目提供了一个开源的MCP工具,使用TypeScript构建MCP服务器,提高开发效率和代码质量,值得关注。
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
AI Skill Hub 点评:MCP TypeScript 模板 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | mcp-typescript-template |
| Topics | mcptypescript |
| GitHub | https://github.com/nickytonline/mcp-typescript-template |
| 语言 | TypeScript |
收录时间:2026-05-24 · 更新时间:2026-05-24 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端