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
Build Model Context Protocol (MCP) servers for AI agents, providing schema-agnostic tools, resources, and prompts, with optional OAuth 2.1 authentication and distributed session management.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-mcp
A Meta-MCP server to discover, suggest, and potentially provision other Model Context Protocol (MCP) servers for AI assistants.
agents-mcp-usage
Demonstrates a Model Context Protocol (MCP) server integration with various AI agent frameworks.