mcp-tool-tingz
Verified Safeby tingz-personal
Overview
A Python toolkit for building Model Context Protocol (MCP) servers, allowing exposure of custom tools via JSON-RPC 2.0 over WebSocket or stdio.
Installation
mcp-tool-tingz run --mode service --host 0.0.0.0 --port 8765 --app mcp_tool.demo_appSecurity Notes
The server leverages FastAPI for WebSocket endpoints and uses `asyncio` for stdio transport. JSON-RPC requests are deserialized and dispatched to registered tool handlers. The `import_app` utility can load arbitrary Python modules/files, which, while intended for tool registration, could be a security risk if the `--app` argument is controlled by an untrusted source. Tool handlers receive arguments directly from JSON-RPC requests (`**arguments`), requiring developers to implement robust input validation within their custom tools to prevent injection or unexpected behavior. No obvious hardcoded secrets or malicious patterns were found in the provided code, but the powerful dynamic code loading and direct argument passing necessitate careful usage and deployment practices by the developer.
Similar Servers
mcp-typescript-template
This project provides a foundational TypeScript template for developing remote Model Context Protocol (MCP) servers with robust tooling and best practices.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
fastestmcp
Framework and CLI tool for rapidly generating and developing modular MCP (Model Context Protocol) servers and clients, with capabilities for API integration, code generation, and component-based development.
mcp_server
This server template provides a foundation for building Model Context Protocol (MCP) servers to integrate with AI assistants and other MCP clients, offering tools for GitHub, Microsoft Graph, weather data, and JWT decoding.