MCP.so
登录

SSE Calculator MCP Server

@phamtienduceng

基本信息

分类

其他

传输方式

stdio

作者

phamtienduceng

关于 SSE Calculator MCP Server

暂无概览

SSE Calculator MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

SSE Calculator MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is SSE Calculator MCP Server?

A stateful calculator server that uses Server-Sent Events (SSE) for real-time communication and implements the Model Context Protocol (MCP) for integration with AI assistants. It provides a web-based calculator interface and tracks calculation history per session.

How to use SSE Calculator MCP Server?

Install Node.js v14+ and npm v6+, clone the repository, run npm install, then start the server with npm run start:dev. Open http://localhost:3000 in a browser to access the calculator interface. For MCP integration, add the provided configuration to your MCP settings file, pointing to the SSE stream URL.

Key features of SSE Calculator MCP Server

  • Real-time calculator operations via Server-Sent Events
  • Stateful sessions for ongoing calculations
  • History tracking for all calculations per session
  • Web-based calculator interface
  • MCP integration for AI assistant compatibility
  • Built with NestJS for modular architecture

Use cases of SSE Calculator MCP Server

  • AI assistants performing arithmetic operations with persistent session state
  • Demonstrating SSE-based real-time data streaming in a calculator application
  • Testing MCP client integration with a simple, stateful service
  • Multi-step calculations where history is needed for review or debugging

常见问题

1

What is the SSE Calculator MCP Server and how does it integrate with AI assistants?

It is a real-time calculator server that implements MCP, allowing AI assistants to send calculation requests and receive results over an SSE stream.

2

What are the prerequisites and how do I install it?

You need Node.js v14+ and npm v6+. Install by cloning the repository and running `npm install`.

3

How do I connect to the server from an MCP client?

Add the server’s URL (e.g., `http://localhost:3000/calculator/stream`) to your MCP settings file under `mcpServers`, along with optional timeout and allowed tools.

4

What calculator operations are supported?

Supported operations are `add`, `subtract`, `multiply`, `divide`, and `clear`. You send the operation and two numbers (`a` and `b`) via POST to `/calculator/calculate/:sessionId`.

5

How can I deploy this server to production?

You can deploy using Docker (with provided Dockerfile and docker-compose.yml), via Smithery.ai, on cloud platforms like Heroku or DigitalOcean, or self-hosted with SSL termination and load balancing.

评论

其他 分类下的更多 MCP 服务器