Back to Home
renuo icon

lw25-mcp-nctl

by renuo

Overview

This server acts as an MCP interface for the 'nctl' command-line tool, exposing its functionality to allow external clients to query application statistics, retrieve logs, and list application resources.

Installation

Run Command
ruby main.rb

Security Notes

The server directly interpolates user-provided string inputs (`project`, `app`) into shell commands executed via `nctl`. While `input_schema` provides basic type validation, it does not sanitize or escape malicious characters within string inputs. This creates a significant risk of command injection if a malicious string (e.g., `myproject; rm -rf /`) is passed as `project` or `app` to the `GetAppsStatsTool` or `GetAppLogsTool`.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-20

Tags

MCPnctlRubyCLI WrapperApplication Management