MCP.so
ログイン

Calculator SSE

@biswapm

Calculator SSE について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

biswapm

投稿者

Pujarini Mohapatra

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Calculator SSE?

Calculator SSE is a demo Node.js + TypeScript MCP (Model Context Protocol) server that exposes simple calculation tools—BMI (Body Mass Index) and addition—via Server-Sent Events (SSE) transport. It is designed for integration into GitHub Copilot Agent and Microsoft Copilot Studio for real-time streaming responses.

How to use Calculator SSE?

Install dependencies with npm install, compile TypeScript with npm run build, then start the server with npm run start (default port 3001). The SSE endpoint is at GET /sse. For GitHub Copilot Agent, add an MCP server entry in .vscode/mcp.json with type sse and url http://localhost:3001/sse. For Microsoft Copilot Studio, set up a custom connector using the provided Swagger specification.

Key features of Calculator SSE

  • SSE (Server-Sent Events) transport for real-time responses
  • BMI Calculator tool (calculate-bmi)
  • Addition tool (calculate-sum)
  • Ready for GitHub Copilot Agent integration
  • Ready for Microsoft Copilot Studio integration
  • Azure App Service deployment support

Use cases of Calculator SSE

  • Prototyping MCP server integration with GitHub Copilot Agent
  • Demonstrating MCP tool integration in Microsoft Copilot Studio
  • Testing SSE-transport MCP servers in local development
  • Learning MCP SDK and best practices with a simple calculator example

FAQ from Calculator SSE

What tools does Calculator SSE provide?

It provides two tools: calculate-bmi (inputs: weightKg, heightM) and calculate-sum (inputs: a, b), both returning text responses.

How do I integrate Calculator SSE with GitHub Copilot Agent?

In VSCode, open the Command Palette, select "Add MCP Server", then update .vscode/mcp.json with "type": "sse" and "url": "http://localhost:3001/sse".

How do I integrate Calculator SSE with Microsoft Copilot Studio?

Use a custom connector based on the Swagger specification provided in the README. Navigate to Copilot Studio > Actions > Custom connector, find the MCP Server Action, and configure it with the SSE endpoint.

What transport does Calculator SSE use?

It uses Server-Sent Events (SSE) via the GET /sse endpoint, which returns a full URI for subsequent MCP interactions.

Is Calculator SSE production-ready?

No. It is an unsupported, experimental demo server provided "as is" with no warranties. It is not intended for production use.

コメント

「その他」の他のコンテンツ