HelloWorld icon

HelloWorld

Provides a basic Model Context Protocol (MCP) server demonstrating simple tools for greeting and arithmetic operations.

关于

This TypeScript-based boilerplate offers a foundational Model Context Protocol (MCP) server designed for experimentation and learning. It comes with two simple, illustrative tools: a 'hello' tool for personalized greetings and an 'add' tool for basic arithmetic operations. The project serves as an excellent starting point for developers looking to understand and build their own MCP-compliant servers, emphasizing best practices like type safety with TypeScript and code quality with ESLint through a strict configuration.

主要功能

  • Implements the Model Context Protocol (MCP) for stdio-based communication
  • Includes a 'hello' tool for custom greetings with an optional name parameter
  • Provides an 'add' tool for numerical calculations with required parameters
  • Built with TypeScript for type safety and strict configuration
  • Utilizes ESLint for code quality and automatic issue fixing
  • 0 GitHub stars

使用案例

  • Learning and experimenting with the Model Context Protocol (MCP)
  • Serving as a boilerplate for building custom MCP servers and tools
  • Demonstrating basic server-side tool creation with TypeScript