The previous manifest hardcoded /bin/sh which fails on Windows. Fix by:
- Adding mcpb/run.cmd: Windows batch wrapper that searches common uvx
install locations (%USERPROFILE%\.local\bin, %LOCALAPPDATA%\uv\bin,
%USERPROFILE%\.cargo\bin) before falling back to PATH, with a clear
error message pointing to winget/PowerShell install instructions
- Adding platform_overrides.win32 in mcp_config to use cmd /c run.cmd
on Windows while macOS/Linux continue using /bin/sh run.sh
- Expanding compatibility.platforms to include win32
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use SPDX identifier AGPL-3.0-only (consistent with pyproject.toml)
- Add compatibility.platforms: [darwin, linux] — run.sh uses /bin/sh
and is not compatible with Windows; this surfaces that at install time
rather than silently failing to launch
- Improve run.sh fallback: use 'command -v uvx' before exec so a missing
uvx prints a clear error with install instructions instead of a generic
shell 'not found' message
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a `mcpb/` directory containing a Claude Desktop Extension bundle
that lets users install nextcloud-mcp-server from Claude Desktop without
needing HTTPS — the extension uses stdio transport (already supported via
`nextcloud_mcp_server/stdio.py`) so no network connection or TLS is
required.
Bundle contents:
- `manifest.json` — extension metadata, user_config fields for
NEXTCLOUD_HOST, NEXTCLOUD_USERNAME, and NEXTCLOUD_PASSWORD (sensitive,
stored in OS keychain)
- `run.sh` — shell wrapper that locates `uvx` across common install
paths (official uv installer at ~/.local/bin, Homebrew at
/opt/homebrew/bin, etc.) since Claude Desktop uses a restricted PATH
- `.gitignore` — excludes the built *.mcpb artifact
Build the distributable with:
npm install -g @anthropic-ai/mcpb
cd mcpb && mcpb pack
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>