calculator-mcp-remote-server

calculator-mcp-remote-server

0

The SSE Calculator MCP Server is a stateful calculator server enabling real-time calculator operations via Server-Sent Events (SSE). It is designed to integrate with AI assistants through the Model Context Protocol (MCP), providing a web-based interface and session management for calculations.

SSE Calculator MCP Server

A stateful calculator server that uses Server-Sent Events (SSE) for real-time communication. This server implements the Model Context Protocol (MCP) for integration with AI assistants.

Features

  • Real-time calculator operations using SSE
  • Stateful sessions for ongoing calculations
  • History tracking for all calculations
  • Web-based calculator interface
  • MCP integration for AI assistants

Architecture

The server is built using NestJS and includes the Session Service, Calculator Service, and SSE Controller.

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository
  2. Install dependencies
  3. Start the server
  4. Open the calculator interface in your browser

Deployment Options

  • Docker: A Dockerfile is provided for containerized deployment
  • Smithery.ai: Deploy directly from GitHub
  • Heroku/DigitalOcean: Cloud platform deployment
  • Self-hosted: Use NGINX or similar for SSL termination and load balancing

License

MIT