mcp
Verified Safeby sergiuiacob1
Overview
Provides a Flask-based JSON-RPC 2.0 server implementation for the Model Context Protocol (MCP), enabling AI clients to discover and execute external tools.
Installation
flask run --port 5050Security Notes
The `call_tool` function directly unpacks `arguments` into tool handlers using `**arguments`. While the current tools (`random_number`, `random_sentence`) are simple and do not pose an immediate risk, this pattern could be exploited if new tools with unsafe implementations or vulnerable dependencies were added, potentially allowing for arbitrary code execution if inputs are not strictly validated. No `eval` or hardcoded secrets found.
Similar Servers
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
agents-mcp-usage
This repository demonstrates the integration of a Model Context Protocol (MCP) server with various AI agent frameworks, showcasing agent communication and operation within a shared context.
universal-mcp-servers
A comprehensive collection of 40+ Model Context Protocol (MCP) servers providing powerful capabilities for all major AI development tools, offering integration for IDEs, desktop applications, and command-line interfaces.