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
ruby main.rbSecurity 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
mcp-server-kubernetes
This MCP server enables AI agents to connect to and manage Kubernetes clusters by executing kubectl and Helm commands.
action_mcp
ActionMCP is a Ruby gem providing Model Context Protocol (MCP) server capabilities to Rails applications, enabling AI assistants to connect to external data sources and tools.
Ops-Tools
A Rust-based command-line interface (CLI) toolset designed for DevOps workflows, offering features like infrastructure-as-code cache cleanup, AI code assistant management, system package installation, security scanning, LLM prompt generation, container image building, and Kubernetes configuration management.
mcp-devcontainers
Provides a Model Context Protocol (MCP) server for integrating with and managing devcontainer environments via the devcontainers CLI.