Serves as a Node.js-based Model Context Protocol server, exposing utility tools for interaction.
This Node.js Model Context Protocol (MCP) server demonstrates how to expose custom tools for consumption by AI agents or other systems. It includes three example tools: 'greet' for personalized messages, 'calculate' for basic arithmetic, and 'weather_info' for mock weather data. Built using the `@modelcontextprotocol/sdk`, it leverages stdio transport for straightforward integration, making it an excellent resource for developers aiming to understand and implement MCP-based tool exposure.
主要功能
01Stdio transport for easy integration
02Extensible tool definition framework
03Includes example tools: greet, calculate, and weather_info
040 GitHub stars
05MCP server built with @modelcontextprotocol/sdk
使用案例
01Demonstrating Model Context Protocol (MCP) server implementation
02Integrating custom command-line tools with AI agents (e.g., Copilot Chat)
03Prototyping and testing new tool functionalities within an MCP environment