# Qnap

> Qnap is an open-source MCP server for smart home. MCP server that lets AI clients monitor and browse files on QNAP NAS devices. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/marcelo-ochoa/servers/tree/HEAD/src/qnap
- **MCP Registry name:** io.github.marcelo-ochoa/qnap
- **Categories:** [smart home](https://ai-powered.com/categories/smart-home)
- **Listing updated:** 2026-11-18

## About

The README says this server connects an AI client to a QNAP network-attached storage box through the QNAP API. Once connected, a client can pull a Markdown system report covering CPU, memory, disks and volumes, list directory contents sorted by modification date, and inspect individual files.

Beyond the callable tools, the server publishes disk and volume data as MCP resources addressed by host and ID, so a model can read storage health and capacity without issuing a report request. Credentials can be supplied through a connect tool, environment variables, or startup arguments, and the server attempts an automatic connection when a host and credentials are present at launch.

It suits people who run a QNAP NAS at home or in a small office and want an assistant to check storage status or navigate shares. The package is published on npm and the README also documents a Docker image for running it over stdio.

## Features

- **System status report:** Generates a Markdown report with CPU, memory, and tables for disks and volumes.
- **Directory listing:** Lists folder contents in a tabular layout sorted by modification date.
- **File details:** Returns detailed information for a named file within a given directory.
- **Disk and volume resources:** Exposes disk health and volume capacity as structured MCP resources.
- **Automatic connection:** Can connect at startup when host and credentials are provided via arguments or environment variables.

## Good for

- Checking NAS disk health and temperature from an AI assistant
- Reviewing volume capacity before storage runs low
- Browsing shared folders on a QNAP device through natural language
- Generating a readable system report for a home or office NAS

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add qnap -- npx -y @marcelo-ochoa/server-qnap
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "qnap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add qnap -- npx -y @marcelo-ochoa/server-qnap
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.qnap]
command = "npx"
args = ["-y", "@marcelo-ochoa/server-qnap"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user qnap npx -- -y @marcelo-ochoa/server-qnap

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `qnap-connect`: Connect to a QNAP NAS and obtain a session ID.
- `qnap-report`: Generate a Markdown system report including CPU, memory, disks and volumes.
- `qnap-dir`: List the contents of a directory sorted by modification date.
- `qnap-file-info`: Get detailed information about a specific file.

## FAQ

### How does Qnap connect to the NAS?

The server takes a host URL such as http://10.1.1.241:8080 plus an admin username and password, either through the qnap-connect tool or startup configuration.

### How can Qnap be installed?

The README shows running it with npx from the npm package @marcelo-ochoa/server-qnap, or with the mochoa/mcp-qnap Docker image, both wired into Claude Desktop configuration.

### Are credentials stored by the server?

The README only says credentials can be passed through environment variables, startup arguments, or the connect tool; it does not describe storage beyond that.

### Is Qnap free?

Yes. Qnap is open source, so you can use and self-host it for free.

### How do I add Qnap to Claude Code?

Run this command in your terminal: claude mcp add qnap -- npx -y @marcelo-ochoa/server-qnap

### What are the best alternatives to Qnap?

The closest alternatives to Qnap are Nexus Agent, HydroNode, ESP32 Control, Home Automation Mcp and myIO Documentation.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Nexus Agent](https://ai-powered.com/mcp/nexus-agent): Nexus Agent is an open-source MCP server for energy and smart home.
- [HydroNode](https://ai-powered.com/mcp/hydronode): HydroNode is an MCP server for smart home.
- [ESP32 Control](https://ai-powered.com/mcp/esp32-control): ESP32 Control is a freemium MCP server for smart home.
- [Home Automation Mcp](https://ai-powered.com/mcp/home-automation-mcp): Home Automation Mcp is a freemium MCP server for smart home.
- [myIO Documentation](https://ai-powered.com/mcp/myio-documentation): myIO Documentation is a free MCP server for smart home.
- [Ctrlpi MCP](https://ai-powered.com/mcp/ctrlpi-mcp): Ctrlpi MCP is an open-source MCP server for smart home.
- [Heiman Smart Home](https://ai-powered.com/mcp/heiman-smart-home): Heiman Smart Home is an open-source MCP server for smart home.
- [FRITZ!OS 8](https://ai-powered.com/mcp/fritz-os-8): FRITZ!OS 8 is an open-source MCP server for smart home.

---
Source: https://ai-powered.com/mcp/qnap
