npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cneuen/mcp-nas

v1.0.1

Published

MCP server for NAS and Docker management (V1.0 Beta)

Readme

🛡️ MCP-NAS: AI-Powered Homelab Control

Control your Homelab via an AI Assistant with Maximalist Security

MCP-NAS Status

The mcp-nas agent is an experimental Model Context Protocol (MCP) server. It enables any compatible LLM assistant to interact natively with a Linux/NAS system via SSH for real-time monitoring, Docker management, and security intelligence.


✨ Philosophy & "Zero-Trust" Security

  • Agentless: Standard SSH communication.
  • Least Privilege: Restricted mcp-agent user with specific sudo whitelist.
  • Strong Auth: Asymmetric keys (ED25519) only.
  • Hardened Key Usage: The setup script automatically locks the SSH key (no-pty, no-port-forwarding) to prevent interactive shell access or tunneling.
  • Audit Logging: A self-deploying SSH Wrapper intercepts and logs every command executed by the AI agent to the NAS syslog (/var/log/syslog or auth.log).
  • Data Isolation: No hardcoded credentials.

⚠️ IMPORTANT SECURITY WARNINGS (Please Read)

  • Highly Privileged Agent: While restricted, the mcp-agent has control over Docker. E.g., via docker compose, an attacker could mount the host filesystem. Treat the machine running the MCP client as a Highly Privileged Environment. If your local workstation is compromised, your NAS is at risk.
  • No Direct Internet Exposure: Never expose your NAS SSH port (22) directly to the internet. Always use a local network or a secure VPN (Wireguard/Tailscale).
  • Data Privacy: Using this MCP server means your system logs (e.g., /var/log, journalctl) are sent to Anthropic's cloud for AI analysis. Ensure no highly sensitive passwords or API keys are written in plaintext to your logs.

🚀 Modular Features

The agent is organized into Core modules (universal) and Integration modules (solution-specific).

🐧 Core Linux Features

Works natively on any standard Linux NAS (Debian, Ubuntu, etc.)

  • 📊 Monitoring: CPU, RAM, Uptime, Temperatures (CPU/HDD), and real-time Network Traffic.
  • 🗄️ Storage: Universal RAID status (mdstat), filesystem usage, and SMART disk health.
  • 📜 Logs: Remote access to /var/log, journalctl, and SSH login audits.

🧩 Integrations & Solutions

Smart modules that activate when the service is detected.

  • 🐶 OpenMediaVault: Deep integration with OMV RPC for stack management and updates.
  • 🐳 Docker & Compose: Management for native containers and standalone compose stacks.
  • 🚦 Traefik: Automated discovery of reverse-proxy routes and backend health via labels.
  • 🛡️ Security: CrowdSec ban monitoring, VPN status (Wireguard/Tailscale), and SSH auditing.

🛠️ Installation & Configuration

1. NAS Preparation

Run the setup script securely on your NAS (as root) directly from the repository:

# Download and execute the setup script
curl -fsSL https://raw.githubusercontent.com/cneuen/mcp-nas/main/setup-mcp-nas.sh -o setup-mcp-nas.sh
chmod +x setup-mcp-nas.sh
sudo ./setup-mcp-nas.sh "mcp-agent" "YOUR_SSH_PUBLIC_KEY"

2. MCP Client Configuration

Modify your MCP client configuration (e.g. claude_desktop_config.json, Cline, etc.):

"mcpServers": {
  "mcp-nas": {
  "command": "npx",
  "args": ["-y", "@cneuen/mcp-nas@latest"],
  "env": {
    "NAS_HOST": "192.168.1.X",
    "NAS_USER": "mcp-agent",
    "NAS_KEY_PATH": "C:/Users/USER/.ssh/id_ed25519"
  }
}

🧭 How to interact with your NAS?

  • "Give me a health report of my NAS."
  • "What are the active routes on Traefik?"
  • "Has CrowdSec banned any IPs recently?"
  • "Update the 'emby' stack."

Made with ❤️ for Homelab enthusiasts.