Back to Home
RyutaSuzuki77 icon

mcp-server-write-log

Verified Safe

by RyutaSuzuki77

Overview

An MCP server designed to store conversation logs as text files in a specified local directory.

Installation

Run Command
npx ts-node src/server.ts

Environment Variables

  • LOG_BASE_DIR

Security Notes

The server writes user-provided 'text' directly to a file within a directory specified by the 'LOG_BASE_DIR' environment variable. While the filename is internally generated with a timestamp, preventing direct path traversal via filename, an insecurely configured 'LOG_BASE_DIR' (e.g., pointing to a sensitive system directory or one with limited space) could allow arbitrary content to be written to files in that location, potentially filling up disk space or overwriting non-critical data if the server process has broad write permissions. There are no obvious signs of 'eval', obfuscation, hardcoded secrets, or direct network vulnerabilities in the provided code, beyond its intended function of writing user-supplied data to the file system.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2026-01-17

Tags

MCP ServerLog StorageConversation LogsTypeScriptFile System