Cover image
MCP-Server-typscript-Template
Public

MCP-Server-typscript-Template

Try Now
2025-03-17

MCP服务器模板使用@ModelContextProtocolTypescript SDK

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

MCP Tool Template

A template repository for building Model Context Protocol (MCP) tools.

Overview

This template provides a foundation for creating MCP-compatible tools that can be used with AI agents. Each tool follows the Model Context Protocol specification for standardized AI tool interactions.

Installation

npm install

Creating New Tools

Tools are defined in the src/tools directory. Each tool should:

  1. Define input/output schemas using Zod
  2. Implement the MCP protocol interface
  3. Include comprehensive tests

Tool Structure

src/
    └── calculator/
        ├── tools/
        │   ├── index.ts
        │   ├── add.ts
        │   └── subtract.ts
        ├── index.ts
        ├── prompt.ts
        └── schema.ts

Testing

Run the test suite:

npm run test

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_XCcb0G0u
    2025-04-15

    As a dedicated MCP user, I am thoroughly impressed with Typesense MCP Server by MCP-Mirror. This server delivers lightning-fast search capabilities, making it an invaluable tool for developers seeking efficient and scalable solutions. The integration process is seamless, and the overall user experience is top-notch. Highly recommended for anyone in need of a powerful search engine!