MCP.so
ログイン

MCP TypeScript Simple Template

@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.

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

ChenReuven

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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

FAQ from MCP TypeScript Simple Template

What is this template for?

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

What tools are included by default?

It includes a sample BMI calculator tool.

What are the prerequisites?

Node.js v20 or higher and npm or yarn.

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.

What license is used?

ISC license.

コメント

「開発者ツール」の他のコンテンツ