Back to Home
yzhbankov icon

mcp-server

by yzhbankov

Overview

Orchestrates AI tool interactions via JSON-RPC over WebSocket, enabling AI agents to perform intelligent automation through a pluggable tool registry.

Installation

Run Command
yarn start:server

Environment Variables

  • SERVER_PORT
  • MCP_SERVER_URL
  • OPEN_AI_API_KEY

Security Notes

CRITICAL security risks identified. Hardcoded MySQL credentials ('dr2_prod' for user/password) in `apps/server/lib/models/Tools.ts` for `db_users` and `sql_query` tools. Direct arbitrary code execution via `run_js_code` (VM2 sandbox, known to have vulnerabilities), `run_docker_code`, `run_docker_command`, and `run_docker_script` (Docker containers, still a large attack surface despite isolation efforts). The `save_html_file` tool writes to a hardcoded path (`./report.html`), posing a risk of overwriting critical files if the server has broad write permissions. The `send_email` tool uses a hardcoded sender and `smtp://localhost:25`, which could be exploited if an SMTP server is exposed. Command injection attempts are made to escape user input for Docker commands, but such mechanisms are historically vulnerable.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2025-11-27

Tags

AI automationTool orchestrationJSON-RPCWebSocketNode.js