MCP.so
登录

MCP TypeScript Simple Template

@ChenReuven

基本信息

分类

开发工具

传输方式

stdio

作者

ChenReuven

关于 MCP TypeScript Simple Template

A lightweight, ready-to-use TypeScript template for building Model Context Protocol (MCP) servers. This template provides the essential scaffolding to create custom AI tools that can be seamlessly integrated with large language models.

MCP TypeScript Simple Template 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP TypeScript Simple Template 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP TypeScript Simple Template?

It is a TypeScript template for building Model Context Protocol (MCP) servers. It provides a foundation for creating custom MCP tools that integrate with AI systems, and includes a sample BMI calculator tool to demonstrate how to set up a server, define tools with Zod validation, and communicate over standard I/O.

How to use MCP TypeScript Simple Template?

Clone the repository, install dependencies with npm install, then build and start the server using npm start. For development, modify index.ts to add your own tools and run npm run build to compile.

Key features of MCP TypeScript Simple Template

  • Simple TypeScript template for MCP servers
  • Sample BMI calculator tool included
  • Uses Zod for input validation
  • Connects via standard I/O
  • Demonstrates tool definition pattern

Use cases of MCP TypeScript Simple Template

  • Quickly prototyping MCP tools
  • Learning how to build MCP servers with TypeScript
  • Starting point for custom AI integration tools
  • Testing MCP tool concepts locally

常见问题

1

What is this template for?

It is a foundation for creating custom Model Context Protocol servers in TypeScript.

2

What tools are included by default?

It includes a sample BMI calculator tool.

3

What are the prerequisites?

Node.js v20 or higher and npm or yarn.

4

How do I add a custom tool?

Modify `index.ts` and follow the pattern using `server.tool()` with a Zod schema and an async handler.

5

What license is used?

ISC license.

评论

开发工具 分类下的更多 MCP 服务器