Back to Home
jamesb97 icon

MCP-Server

by jamesb97

Overview

A TCP server exposing various system interaction tools for an AI system (LLM) to consume via a structured JSON-based protocol.

Installation

Run Command
npm run dev

Security Notes

CRITICAL: The server is vulnerable to path traversal attacks. The `listDir`, `searchFiles`, and `fileContent` tools directly use the `path` parameter provided by the client without sanitization. An attacker could provide paths like `../../../../etc/passwd` to read sensitive system files or `../../../../tmp/malicious.txt` to write arbitrary content, potentially leading to remote code execution or data exfiltration. This makes the server highly unsafe to run in any untrusted environment.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-26

Tags

LLM ToolingTCP ServerSystem InteractionDeveloper ToolsAI Integration