calculator-sse

MCP.Pizza Chef: biswapm

calculator-sse is a Node.js and TypeScript MCP server that provides real-time calculation tools such as BMI and addition using Server-Sent Events (SSE). It integrates seamlessly with Microsoft Copilot Studio and GitHub Copilot Agent, demonstrating MCP architecture and best practices. This server supports live streaming responses and is ready for deployment on Azure App Service, making it ideal for developers building interactive AI-enhanced workflows.

Unmaintained · No commits in 18 months.

Use This MCP server To

Provide real-time BMI calculations via MCP Perform addition operations with live SSE responses Integrate calculation tools into Microsoft Copilot Studio Embed calculation capabilities in GitHub Copilot Agent Stream calculation results to clients using SSE Deploy MCP calculation server on Azure App Service

README

🧮 Step by step Implementation of MCP Server and Integration into Microsoft Copilot Studio and Github Copilot Agent

This is a demo Node.js + TypeScript MCP SDK using Model Context Protocol SDK. It exposes simple calculation tools like BMI and addition through MCP, and supports real-time responses via Server-Sent Events (SSE). Explore the MCP architecture and best practices using the MCP Architecture and SSE transport.

🚀 Features

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

📁 Project Structure

⚙️Quick Start

npm install      # Install dependencies
npm run build    # Compile TypeScript
npm run start    # Start server (http://localhost:3001)

The app will run at http://localhost:3001 (unless configured otherwise).

calculator-sse FAQ

How does calculator-sse deliver real-time responses?
It uses Server-Sent Events (SSE) to stream calculation results live to clients.
What calculation tools does calculator-sse support?
It currently supports BMI calculation and addition operations.
Can calculator-sse integrate with popular AI copilots?
Yes, it integrates with Microsoft Copilot Studio and GitHub Copilot Agent.
What technology stack is used for calculator-sse?
It is built with Node.js and TypeScript using the MCP SDK.
Is calculator-sse ready for cloud deployment?
Yes, it is Azure App Service ready for easy cloud hosting.
How can I extend calculator-sse with more tools?
You can add new MCP tools by extending the Node.js server code using the MCP SDK.
Does calculator-sse support other LLM providers?
While it focuses on MCP integration, it can work with models from OpenAI, Claude, and Gemini through MCP clients.
How do I start using calculator-sse?
Install dependencies via npm and follow the quick start guide in the project README.