## Release v0.0.7
### Changes
* Bump package version to `0.0.7` in `pyproject.toml` and `uv.lock`.
* Add `CONTRIBUTORS.md` acknowledging community contributors:
- @mcowger (Custom location blocks, forward_path, and full location details in #18)
- @jrejaud (Pydantic compatibility, update host, and certificate provisioning tools in #3)
- @ranklancer (Proxy host lifecycle verbs in #4)
* Update `README.md` with documentation for Custom Location Blocks (`v0.0.7+`) and a link to `CONTRIBUTORS.md`.
* build(deps): sync uv.lock with pyproject dependencies
* feat(proxy-hosts): support custom locations on create/update
Extend ProxyHostLocation with forward_path and access_list_id, thread
locations through create/update tools and client, preserve existing
locations on updates that omit them (NPM replaces the list on PUT),
and render full location records in host details. Adds 5 tests.
* fix(mcp): resolve AttributeError: FastMCP has no attribute streamable_http_app
* chore(release): bump version to 0.0.6
---------
Co-authored-by: b3nw <189466+b3nw@users.noreply.github.com>
* chore(release): bump version to 0.0.5
* fix(config): wrap long string to resolve ruff line length check
---------
Co-authored-by: b3nw <189466+b3nw@users.noreply.github.com>
* feat: multi-instance NPM configuration
Adds NPM_INSTANCES env var (JSON map) to manage multiple NPM servers
from a single MCP instance. Every tool gains an optional 'instance'
parameter. Legacy single-instance config (NPM_API_URL/IDENTITY/SECRET)
still works unchanged. Includes list_instances tool, per-instance
proxy_defaults and log_dir, and full backward compatibility.
* fix(config): add explicit type validation for NPM_INSTANCES fields
* fix(multi-instance): fix cross-instance log leakage and order-dependent default selection
* chore(multi-instance): document NPM_DEFAULT_INSTANCE and harden logs fallback logic against cross-instance leakage
---------
Co-authored-by: b3nw <189466+b3nw@users.noreply.github.com>
Adds NPM_MCP_ENABLE_DESTRUCTIVE_TOOLS (default: false) that gates all
write operations (create, update, delete, enable, disable). Deployments
are read-only by default and must explicitly opt in to mutations.
Closes#6
* feat(proxy-hosts): add delete, enable, and disable verbs (#1)
Add delete_proxy_host (DELETE /nginx/proxy-hosts/{id}), enable_proxy_host
(POST .../enable) and disable_proxy_host (POST .../disable) MCP verbs plus
client methods, following existing NpmClient auth + tool patterns. README
documents the new tools with placeholder-only examples.
* docs(proxy-hosts): correct enable/disable idempotency wording (#2)
NPM's POST /enable and /disable return HTTP 400 when the host is already in
the target state; update enable/disable docstrings (server.py + client.py)
and README to describe this instead of claiming a no-op success.
Adds QEMU emulation setup and specifies platforms: linux/amd64,linux/arm64
in the GitHub Actions Docker build workflow. This fixes the ARM64 manifest
error ('no matching manifest for linux/arm64/v8') on Apple Silicon Macs.
Changes:
- Add docker/setup-qemu-action@v3 step before Buildx setup
- Add platforms: linux/amd64,linux/arm64 to build-push-action
Closes#2
Co-authored-by: claw-io <agent@ben.io>
Reads nginx access/error logs directly from a mounted NPM log directory,
enabling agents to debug proxy issues without SSH access. Requires mounting
NPM's /data/logs volume and setting NPM_LOG_DIR.
Also includes a feature request PRD for proposing a native log API upstream.
Fork PRs don't have write access to GHCR. Use conditional push
that only pushes on non-PR events (push to main, tags).
Also update README with new tools from v0.0.3:
- update_proxy_host
- create_certificate
- Make Owner and Certificate model fields optional with defaults to fix
parsing errors when NPM API returns null/missing nested objects
- Add update_proxy_host tool for modifying existing proxy host configs
- Add create_certificate tool for provisioning Let's Encrypt SSL certs
- Add corresponding client methods with full parameter support
Add MCP tools for creating proxy hosts and listing access lists, with configurable defaults via environment variable.
New tools:
- create_proxy_host: Create new proxy hosts with SSL, access control, and websocket support
- list_access_lists: List available access lists for use in proxy host creation
New features:
- NPM_PROXY_DEFAULTS env var for configurable default values (certificate_id, access_list_id, ssl settings, etc.)
- Update compose.yaml to use ghcr.io/b3nw/nginx-proxy-manager-mcp:latest
- Add Docker quick start section to README
- Users can now deploy without cloning the repo
- NpmClient with JWT auth and auto-refresh
- FastMCP server with 5 tools (list_proxy_hosts, get_proxy_host_details, get_system_health, search_audit_logs, list_certificates)
- Docker support with multi-stage build using uv
- Supports stdio and streamable HTTP transports
- GitHub Actions for tests and Docker builds