SSE Calculator
About
A stateful calculator server using Server-Sent Events (SSE) for real-time communication.
Details
- Author
- phamtienduceng
- Categories
- Productivity
Jump to
Setup
Install SSE Calculator in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/phamtienduceng/calculator-mcp-remote-server
Follow the installation instructions in the repository README, then restart your MCP client.
A stateful calculator server using Server-Sent Events (SSE) for real-time communication.
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.
- 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
The server is built using NestJS and implements the following components:
- Session Service: Manages calculator sessions and state
- Calculator Service: Performs calculation operations
- SSE Controller: Handles client connections and event streaming
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository
- Install dependencies:
- Open the calculator interface in your browser:
Establishes an SSE connection and creates a new calculator session.
Performs a calculation operation on the specified session.
{ "operation": "add", // add, subtract, multiply, divide, clear "a": 5, "b": 3 }
Retrieves the calculation history for the specified session.
Retrieves all active calculator sessions.
To use this server as an MCP server, add the following configuration to your MCP settings file:
{ "mcpServers": { "remote-calculator": { "url": "http://localhost:3000/calculator/stream", "disabled": false, "alwaysAllow": [], "timeout": 60 } } }
For production deployment, you can use the following options:
-
Docker: A Dockerfile is provided for containerized deployment
- SeeDockerfileanddocker-compose.ymlfor configuration
Smithery.ai: Deploy directly from GitHub
- SeeSMITHERY_DEPLOYMENT.mdfor detailed instructions
- Configuration provided insmithery.json
Heroku/DigitalOcean: Cloud platform deployment
- SeeDEPLOYMENT.mdfor step-by-step instructions
Self-hosted: Use NGINX or similar for SSL termination and load balancing
After deploying your server, update your MCP client configuration to point to your hosted URL:
{ "mcpServers": { "remote-calculator": { "url": "https://your-deployed-url.com/calculator/stream", "disabled": false, "alwaysAllow": [], "timeout": 60 } } }
The 1Password MCP server creates a bridge that allows MCP clients such as Codex and Kiro to manage your 1Password Environments with secure authorization prompts.
This is the 1st, easiest, and cheapest PPT, slides, presentation AI generation MCP Server in the world.
Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.
A MCP server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
Enables LLM clients to interact with macOS applications through AppleScript. Built using the @beyondbetter/bb-mcp-server library, this server provides safe, controlled execution of predefined scripts with optional support for arbitrary script execution.
An MCP server for WordPress plugin audits
Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.
Connect AI clients to Cal.com scheduling through the Model Context Protocol using the hosted server at mcp.cal.com or a local instance.
Sync Calendars, Scheduling Links, AI Executive Scheduling Assistant, Unified Calendar
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



