Back to Home
tingz-personal icon

mcp-tool-tingz

Verified Safe

by 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

Run Command
mcp-tool-tingz run --mode service --host 0.0.0.0 --port 8765 --app mcp_tool.demo_app

Security 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

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-26

Tags

MCPJSON-RPCWebSocketstdioPythonTooling