qtmcp
by natcoder
Overview
Provides a Model Context Protocol (MCP) server framework for AI applications, offering tool, resource, and prompt services via HTTP.
Installation
.\MCPXServer.exeSecurity Notes
CRITICAL: The server is highly insecure for production use. It is vulnerable to path traversal: the `resources/read` method allows clients to specify a `uri` (e.g., `file:///../../../../etc/passwd`) to read arbitrary files from the server's filesystem. There is a high risk of arbitrary code execution if an attacker can manipulate or inject tool configuration files (e.g., `calculator.json`). Tools define `execHandler` and `execMethod` fields, dynamically invoking methods on `QObject`s found in the application, which could lead to calling malicious functions. The server completely lacks authentication and authorization mechanisms, meaning any client can connect and invoke any method, further exacerbating the other vulnerabilities. Manual input validation is applied in some places (e.g., `MCPClientInitializeMessage` for protocol version, `MCPTool` for input/output schema), but this does not mitigate the fundamental architectural flaws related to dynamic resource/tool loading and the absence of access control. The `llhttp` C library could also introduce lower-level memory safety issues if not handled with extreme care.
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.
eofmcp
A server for managing source code files, providing APIs for listing, reading, and writing files locally.
prompts-mcp
A Model Context Protocol (MCP) server for managing, templating, and exposing AI prompts defined in markdown files via stdio and HTTP transports.
universal-mcp-servers
Provides secure, Model Context Protocol (MCP)-compliant access to file system operations (read, write, move, list, search, get metadata, edit files) for AI development tools, including dynamic access control.