mcp-server-typescript-template
If you are the rightful owner of mcp-server-typescript-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A template for creating Model Context Protocol (MCP) servers using TypeScript.
The MCP Server TypeScript Template is designed to facilitate the creation of Model Context Protocol servers using TypeScript. This template provides a basic implementation of an MCP server that includes tools for performing example operations and addition. It leverages the Model Context Protocol SDK to manage communication between AI models and external tools, ensuring seamless integration and operation. The project is structured to include common utilities, type definitions, and specific operation implementations, making it easy to extend and customize according to specific needs. With prerequisites like Node.js and npm or yarn, users can quickly set up and run the server for testing and development purposes.
Features
- Example Operation: Demonstrates a simple operation using the MCP server.
- Addition Tool: Provides functionality to add two numbers.
- TypeScript Implementation: Utilizes TypeScript for type safety and modern JavaScript features.
- MCP SDK Integration: Uses the Model Context Protocol SDK for communication.
- Customizable Structure: Easily extendable project structure for additional operations.
Tools
1
Simple demonstration operation
2
The sum of two numbers can be calculated