mcp-server-demo
Verified Safeby remcoboerma
Overview
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.
Installation
inv docker-upEnvironment Variables
- PROJECT
- HOSTINGDOMAIN
- MCP_SERVER_NAME
- FASTMCP_LOG_LEVEL
Security Notes
The server correctly uses parameterized queries for SQLite operations, preventing SQL injection. It explicitly warns about user input validation for logging functions. The `test_sse.py` client disables SSL verification for `localhost` testing, with an explicit note to re-enable for production, which is a common and acceptable practice for local development.
Similar Servers
mcp_server
Provides a Python server that exposes various external APIs (Microsoft Graph, GitHub, OpenWeatherMap) as tools to be consumed by AI assistants via the Model Context Protocol (MCP).
mcp-math-server
A minimal Model Context Protocol (MCP) server designed to expose basic mathematical tools to AI models.
mcp_calculator
A beginner-friendly Model Context Protocol (MCP) server exposing a simple calculator tool (add, subtract, multiply, divide) over WebSocket using FastAPI.
MCP-Servers-using-Python
Demonstrates how to build Model Context Protocol (MCP) servers using `fastmcp` and `fastapi_mcp` libraries through various examples.