Cover image
mcp-server-typescript-template
Public

mcp-server-typescript-template

Try Now
2025-03-17

MCP Server Template using@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.

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

  • Lists Tailwind CSS classes in monospaced font

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: 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!