MCP cover image
mcp-server-typescript-template logo
Public

mcp-server-typescript-template

See in Github
2025-03-17

MCP Server Template using@modelcontextprotocolTypescript SDK

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.

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • 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

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

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

    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!