Keeps the verified results (healthz 200, 401 without a key, wrong key 401,
unknown path 401) and the EADDRINUSE/port-8080 finding, but uses a
placeholder hostname instead of the real one.
The container crash-looped with EADDRINUSE: address already in use
0.0.0.0:8000. Gluetun runs its own HTTP control server on 8000 and the app
shares Gluetun's network namespace, so the port was already bound before
supergateway started. Nothing was wrong with the app, the image or the flags —
the deploy log shows every supergateway option applied correctly.
Also notes that 127.0.0.1:53 and 127.0.0.1:9999 are taken in the same namespace,
and lists the four places that must change together if the port moves again.
Co-located containers share one port space: enumerate the sidecar's listeners,
not just the app's.
mcp-maigret speaks stdio only, so it had no way to be deployed behind a VPN
with a domain. This wraps it in Gluetun (Surfshark, WireGuard) and publishes
it over HTTPS via supergateway.
- docker-compose.yml: gluetun sidecar + maigret-mcp in its network namespace,
so all maigret egress leaves through the tunnel. No ports, no networks on
the app; domain attaches to gluetun:8000 because the app has no IP of its own.
- Dockerfile: bake supergateway@4.2.2 into the image so a restart never depends
on the npm registry.
- entrypoint is overridden rather than command, because the image's ENTRYPOINT
is ["node","build/index.js"] and command only replaces CMD.
- MAIGRET_RUNNER=local is required: the docker runner would spawn a sibling
container outside the namespace and defeat the VPN.
- Public endpoint requires a bearer token (supergateway --apiKey), healthcheck
is a real MCP-aware probe, not a port check.
- DEPLOY.md documents deployment, routing, and verification.
Adds a local runner that calls a maigret binary on PATH with
--folderoutput, selected by MAIGRET_RUNNER=docker|local|auto (auto: local
if installed, else Docker). The Docker image now bundles maigret 0.6.6
with the pdf extra and sets MAIGRET_RUNNER=local, so it runs on hosted
platforms with no Docker daemon and PDF reports work.
Runner selection is in src/runner.ts with unit tests; CI runs them.
Input validation and execFile argument arrays are unchanged.
Closes#22
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs: remove Smithery install instructions and badge
Smithery's CLI and hosted connections stopped working on 2026-10-31, so
`npx @smithery/cli install` no longer works. The npx/npm install paths
are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: remove smithery.yaml
Smithery's hosted service shut down on 2026-10-31, so its config file is no longer used.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- Dockerfile: node:18-slim -> node:24-slim (LTS).
- Dependabot: ignore major bumps of typescript and @types/node, and
odd-numbered (non-LTS) Node versions for the Docker image.
- npm-publish: only publish when src, package files or tsconfig change.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- README in the mcp-proton style, with banner, badges and accurate formats.
- docs/ MkDocs site published via GitHub Pages, plus logo and banners.
- SECURITY, CONTRIBUTING, CODE_OF_CONDUCT, CHANGELOG, CITATION, SUPPORT.
- Issue and PR templates, CODEOWNERS, Dependabot and release notes config.
- CI workflow (build, audit, docker build) and docs workflow.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Upgrade @modelcontextprotocol/sdk 0.4.0 -> 1.x and add zod; pass
capabilities as Server options (required by 1.x). Closes#11.
- Default format is now txt: the stock maigret image cannot produce pdf.
- Send --json simple (maigret now requires a report type) and report the
real file names for json and html (_simple.json, _plain.html).
- Say so when no report file was produced instead of claiming success.
- Refresh package.json description, homepage, bugs and keywords.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This PR adds a badge for the mcp-maigret server listing in Glama MCP server directory.
<a href="https://glama.ai/mcp/servers/knnpcz651x"><img width="380" height="200" src="https://glama.ai/mcp/servers/knnpcz651x/badge" alt="mcp-maigret MCP server" /></a>
Glama performs regular codebase and documentation scans to:
* Confirm that the MCP server is working as expected
* Confirm that there are no obvious security issues with dependencies of the server
* Extract server characteristics such as tools, resources, prompts, and required parameters.
This badge helps your users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.