Centralized Podman quadlet deployment with Caddy TLS and a pinned image from your registry.
For local IDE usage (STDIO), use the root quickstart instead:
../docs/GETTING_STARTED.md.
Canonical reference:
../docs/CENTRALIZED_DEPLOY_SPEC.md
On the host (as root):
sudo OPNSENSE_MCP_IMAGE_TAG=1.0.0 bash deploy/install.shForgejo Actions on main pushes localhost/opnsense-mcp:<version>-dev.<sha> (version from pyproject.toml).
Git tag v1.0.0 publishes localhost/opnsense-mcp:1.0.0.
After TLS and DNS are in place, clients connect to:
https://mcp.example.com/mcp
| Mode | Command |
|---|---|
| Pull from registry (default) | sudo bash deploy/install.sh (auto tag) or sudo OPNSENSE_MCP_IMAGE_TAG=1.0.0 bash deploy/install.sh |
| Refresh quadlets only | sudo OPNSENSE_MCP_IMAGE_TAG=1.0.0 bash deploy/install.sh --skip-image |
| Local dev build | sudo OPNSENSE_MCP_IMAGE_TAG=dev-test bash deploy/install.sh --build-local |
| Build and push to registry | sudo OPNSENSE_MCP_IMAGE_TAG=1.0.0 bash deploy/install.sh --build-push |
:latest is rejected. Tags must be a git short SHA from CI or an explicit semver.
- App container runs FastMCP natively (
python3 main.py --transport streamable-http --host 0.0.0.0 --port 8765). - App listens on HTTP
8765inside the pod/network; MCP endpoint is/mcp. - TLS is terminated by Caddy (
deploy/TLS.md). - Every HTTP request needs
Authorization: Bearer $MCP_SECRET_KEY. The app exits at startup when that is blank, or when theOPNSENSE_*credentials are blank andOPNSENSE_USE_MOCK=1is not set.
- Configure secrets in
environment(seeenvironment.example). - Configure certs and hostname in
TLS.md. - Set
OPNSENSE_MCP_IMAGE_TAGto a tag that exists in your registry.
