calculator-sse

calculator-sse

3.4

If you are the rightful owner of calculator-sse 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.

This is a demo Node.js + TypeScript MCP SDK using Model Context Protocol SDK, exposing simple calculation tools like BMI and addition through MCP, and supporting real-time responses via Server-Sent Events (SSE).

The Model Context Protocol (MCP) Server is a Node.js and TypeScript-based server that utilizes the Model Context Protocol SDK to provide simple calculation tools such as BMI and addition. It supports real-time responses through Server-Sent Events (SSE) and is designed to integrate with platforms like Microsoft Copilot Studio and Github Copilot Agent. The server is Azure App Service ready, making it suitable for deployment in cloud environments. The project structure is organized to facilitate easy setup and integration, with a focus on demonstrating the capabilities of MCP in a practical, real-world scenario. The server can be accessed locally or deployed to Azure, and it provides endpoints for calculating BMI and sums, with responses formatted in JSON. The integration with Copilot platforms allows for enhanced functionality and user interaction, showcasing the potential of MCP in modern development environments.

Features

  • SSE (Server-Sent Events) Support
  • BMI Calculator Tool
  • Addition Tool
  • MCP Tool + Github Copilot Agent Integration
  • MCP Tool + Microsoft Copilot Studio Integration

Tools

  1. calculate-bmi

    Calculates Body Mass Index (BMI) based on weight and height inputs.

  2. calculate-sum

    Calculates the sum of two numbers.