mcp-server-demo
Verified Safeby Mahmoud-Khater
Overview
This project demonstrates running an MCP (Model Control Protocol) server with a simple calculator tool, deployed via Docker.
Installation
docker run -p 8050:8050 mcp-serverSecurity Notes
The server binds to `0.0.0.0`, making it broadly accessible; ensure proper firewall rules are in place for production environments. Environment variables are loaded from a `.env` file, which is good practice for managing secrets, though the relative path `../.env` could lead to issues if the execution context changes. No direct malicious patterns or dangerous functions like `eval` were observed in the provided source.
Similar Servers
MCPCalculatorSample
Provides a sample Model Context Protocol (MCP) server with a calculator tool and a dynamic greeting resource, designed for integration with a VS Code Cline agent.
localmcp
Provides basic mathematical addition and CSV data analysis functionalities as an MCP server tool.
mcp-server-demo
This server acts as an AI assistant tool provider (MCP server) offering calculator functions, data logging, and reporting capabilities via SQLite, demonstrating how AI can interact with external services.
mcp_calculator
A beginner-friendly Model Context Protocol (MCP) server exposing a simple calculator tool (add, subtract, multiply, divide) over WebSocket using FastAPI.