Skip to content
MCP server

Qnap

MCP server that lets AI clients monitor and browse files on QNAP NAS devices

Runs locally

Qnap is an open-source MCP server for smart home. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
1.0.8
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "qnap": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-qnap"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Qnap

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.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Open source

Open source under Apache License 2.0 for new contributions, with existing code under MIT.

Qnap 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.

How AIPoweredBot checks servers