simple_mcp_server
Verified Safeby ruk-shan
Overview
This server exposes Python functions as an API using FastMCP, primarily intended for LLM function calling to integrate custom tools with AI models.
Installation
uvx mcpo --host 0.0.0.0 --port 8003 -- .venv/bin/python3 mcp_server.pySecurity Notes
The provided source code is minimal and focuses on exposing a simple `add` function. It does not contain direct file system access, network requests, hardcoded secrets, or dynamic code execution like `eval` or `exec`. The primary security consideration would be the `fastmcp` library itself or any additional tools integrated later, but the current implementation appears safe.
Similar Servers
fastapi_mcp
Automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools for seamless integration with LLM agents.
mcp-framework-server
A Python-based server for a Model Context Protocol (MCP) enabling interactive career orientation (proforientation) dialogues via a REST API, designed to integrate with a Telegram bot.
MCP-Server
A server for exposing local tool APIs via the Model Context Protocol (MCP) to be consumed by AI/ML clients or agents.
mcp-skeleton
A generic template for building Model Context Protocol (MCP) servers to expose custom business logic as tools for AI models and clients.