{"_id":"@baekhoej/qnap-containerstation-mcp","_rev":"2-b4e8d66884a202e78b3c9fd0f62b8551","name":"@baekhoej/qnap-containerstation-mcp","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@baekhoej/qnap-containerstation-mcp","version":"0.1.1","keywords":["mcp","qnap","container-station","docker","containers"],"author":{"name":"Mikkel Baekhoej Christensen"},"license":"MIT","_id":"@baekhoej/qnap-containerstation-mcp@0.1.1","maintainers":[{"name":"baekhoej","email":"mikkel@baekhoej.dk"}],"homepage":"https://github.com/baekhoej/qnap-containerstation-mcp#readme","bugs":{"url":"https://github.com/baekhoej/qnap-containerstation-mcp/issues"},"bin":{"qnap-containerstation-mcp":"dist/index.js"},"dist":{"shasum":"e7a335940d0bae82f2a00838b03df3ae2ddbfebb","tarball":"https://registry.npmjs.org/@baekhoej/qnap-containerstation-mcp/-/qnap-containerstation-mcp-0.1.1.tgz","fileCount":7,"integrity":"sha512-9nxx86kbTQirlJRxGjE42e65dHJbxuYKzIwWqdJznS5i8dmPtVKZGAMxM33vEjekEdNrTXo5NzeeDTCMec+M7A==","signatures":[{"sig":"MEQCIHJviPe6S0KgWw27/2V9nYxp5ui+7Tholw54hTGmEHmEAiBLRHy58OnI99UJap3y6v5AUe94ZAvLDfXO+xOuTAUs3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16384},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"96633ff90cecc91d4f64aaad8161a2a67b93689c","scripts":{"dev":"tsc --watch","test":"vitest run --exclude '**/*.live.test.ts'","build":"tsc","start":"node dist/index.js","test:live":"vitest run src/client.live.test.ts"},"_npmUser":{"name":"baekhoej","email":"mikkel@baekhoej.dk"},"repository":{"url":"git+https://github.com/baekhoej/qnap-containerstation-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP server for QNAP Container Station API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"dotenv":"^16.0.0","tough-cookie":"^5.0.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","typescript":"^5.0.0","@types/node":"^22.0.0","@types/tough-cookie":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/qnap-containerstation-mcp_0.1.1_1776948865432_0.5129111056458284","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@baekhoej/qnap-containerstation-mcp","version":"0.1.2","description":"MCP server for QNAP Container Station API","author":{"name":"Mikkel Baekhoej Christensen"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/baekhoej/qnap-containerstation-mcp.git"},"keywords":["mcp","qnap","container-station","docker","containers"],"engines":{"node":">=18"},"type":"module","main":"dist/index.js","bin":{"qnap-containerstation-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js","test":"vitest run --exclude '**/*.live.test.ts'","test:live":"vitest run src/client.live.test.ts"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","dotenv":"^16.0.0","tough-cookie":"^5.0.0"},"devDependencies":{"@types/node":"^22.0.0","@types/tough-cookie":"^4.0.0","typescript":"^5.0.0","vitest":"^4.0.0"},"gitHead":"6eb4df00a5acc3aaf021d72eef4d7e2a2c095249","types":"./dist/index.d.ts","_id":"@baekhoej/qnap-containerstation-mcp@0.1.2","bugs":{"url":"https://github.com/baekhoej/qnap-containerstation-mcp/issues"},"homepage":"https://github.com/baekhoej/qnap-containerstation-mcp#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-1xFVaHK2ChuDV4R19MTgoN2Pgk1IkoXFi4lKicFd9K80LxA0nRarjmndkN0OMAnpafnNhMeXMFJd7WkLrpgm3w==","shasum":"0525ab8b27660b709b643b5e0d49c7d2389ca54a","tarball":"https://registry.npmjs.org/@baekhoej/qnap-containerstation-mcp/-/qnap-containerstation-mcp-0.1.2.tgz","fileCount":7,"unpackedSize":16408,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@baekhoej%2fqnap-containerstation-mcp@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrlCugkENjAYkqMcvbBHHgFXq4XK2u46dxvhj/JSwu8gIhAOEq8JcE8ow0YwLRBs/GRR/bvBXFuhpouQKOuBe1UIM8"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa8335ce-0b31-4177-91ed-77bd21479a9b"}},"directories":{},"maintainers":[{"name":"baekhoej","email":"mikkel@baekhoej.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/qnap-containerstation-mcp_0.1.2_1777039356555_0.04120549468216406"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-23T12:54:25.343Z","modified":"2026-04-24T14:02:36.969Z","0.1.1":"2026-04-23T12:54:25.567Z","0.1.2":"2026-04-24T14:02:36.700Z"},"bugs":{"url":"https://github.com/baekhoej/qnap-containerstation-mcp/issues"},"author":{"name":"Mikkel Baekhoej Christensen"},"license":"MIT","homepage":"https://github.com/baekhoej/qnap-containerstation-mcp#readme","keywords":["mcp","qnap","container-station","docker","containers"],"repository":{"type":"git","url":"git+https://github.com/baekhoej/qnap-containerstation-mcp.git"},"description":"MCP server for QNAP Container Station API","maintainers":[{"name":"baekhoej","email":"mikkel@baekhoej.dk"}],"readme":"# QNAP Container Station MCP\n\nMCP server for managing containers on a QNAP NAS via the Container Station API.\n\n## Disclaimers\n\nThis is a personal project, built for use on my own NAS. It is not affiliated with, endorsed by, or in any way connected to QNAP Systems, Inc. QNAP and Container Station are trademarks of their respective owners.\n\nThis project is shared as-is. I make no claims about its suitability for any purpose other than my own use. Use it at your own risk.\n\n## Setup\n\n```bash\nnpm install\ncp .env.example .env\n# Edit .env with your QNAP credentials\nnpm run build\n```\n\n## Configuration\n\nCreate a `.env` file (never commit this):\n\n```\nQNAP_URL=https://your-qnap.local\nQNAP_USERNAME=container-mcp\nQNAP_PASSWORD=your-password\nQNAP_VERIFY_SSL=false\n```\n\n`QNAP_VERIFY_SSL=false` is needed for self-signed certificates (default on most QNAP devices).\n\n## Claude Code\n\nAdd to `.mcp.json` in your project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"qnap-container-station\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/qnap-containerstation-mcp/dist/index.js\"],\n      \"env\": {\n        \"QNAP_URL\": \"https://your-qnap.local\",\n        \"QNAP_USERNAME\": \"container-mcp\",\n        \"QNAP_PASSWORD\": \"your-password\",\n        \"QNAP_VERIFY_SSL\": \"false\"\n      }\n    }\n  }\n}\n```\n\n## Claude Desktop\n\nAdd to `~/.config/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"qnap-container-station\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/qnap-containerstation-mcp/dist/index.js\"],\n      \"env\": {\n        \"QNAP_URL\": \"https://your-qnap.local\",\n        \"QNAP_USERNAME\": \"container-mcp\",\n        \"QNAP_PASSWORD\": \"your-password\",\n        \"QNAP_VERIFY_SSL\": \"false\"\n      }\n    }\n  }\n}\n```\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `list_containers` | List all containers with state, image, type |\n| `get_container` | Get details for a specific container |\n| `get_container_logs` | Fetch logs for a Docker container |\n| `start_container` | Start a container |\n| `stop_container` | Stop a container |\n| `restart_container` | Restart a container |\n| `list_apps` | List Docker Compose applications |\n| `start_app` | Start a Compose app |\n| `stop_app` | Stop a Compose app |\n| `restart_app` | Restart a Compose app |\n| `get_system_resource` | Get CPU and memory usage |\n| `list_networks` | List Docker networks |\n| `get_logs` | Query Container Station system logs |\n\n> **Note:** Confirmed working on Container Station 3.x: `list_containers`, `list_apps`,\n> `start_container`, `stop_container`, `restart_container`. Other endpoints may return 404\n> depending on your Container Station version.\n\n## Tests\n\n```bash\n# Unit tests\nnpm test\n\n# Live API tests (requires .env or env vars)\nnpm run test:live\n\n# Override the test container (must be safe to stop/start)\nQNAP_TEST_CONTAINER_ID=<container-id> npm run test:live\n```\n","readmeFilename":"README.md"}