Build with it
Run in CI and temporary environments
Repeatable runs need an explicit package version, network access, and a decision about what to retain when the machine disappears.
Make the environment reproducible
npm install @getwickedgrowth/seo@0.1.0
npx --no-install gwg-seo --version
npx --no-install gwg-seo doctorUse a lockfile and Node.js 22.19.0 or newer. A cloud agent must be able to install the package and make outbound requests to the target site. A local installation on your laptop is not automatically available in a separate cloud environment.
Export the report as a build artifact
npx --no-install gwg-seo crawl https://www.example.com/ \
--max-pages 20 --max-depth 3 \
--format json --output ./crawl-report.jsonUpload the generated file using your CI system’s artifact mechanism. Use a fresh workspace or a new output name: GWG SEO refuses to overwrite an existing output file. Inspect report coverage as well as the process exit status.
Choose persistence and credentials
By default, local state lives in ~/.gwg-seo. Set GWG_SEO_HOME to an explicit job directory if you want to isolate it. Persist selected reports deliberately; avoid publishing a directory that contains OAuth credentials.
Interactive Google login needs a browser and a loopback callback. For unattended jobs, provision an authorized service-account file or a temporary access token through your environment’s secret handling. Google report support is preview.
Match the agent’s connection model
GWG SEO offers local stdio MCP. A cloud environment can use it only if the agent there supports launching that process. There is no hosted GWG SEO MCP URL. If process launching is unavailable, run the CLI in a suitable job and supply the resulting report as an artifact.
