v0.4.0 - seo-perf-cli + GitHub Action
What's new
- seo-perf-cli - new bin in the npm package. Run any MCP tool as a one-shot CLI without speaking JSON-RPC:
npx -p @automatelab/seo-performance-mcp seo-perf-cli cohort.report --input '{"window":90}' --format markdown. Same env vars as the MCP server.jsonandmarkdownoutputs; markdown supported forcohort.reportandposts.refresh_brief. - action.yml - composite GitHub Action. Wraps the CLI so you can run a weekly cohort report from CI and pipe the markdown to a GitHub Issue / Discussion / PR. Outputs:
result(multi-line),result-file,rows(for cohort.report). - examples/weekly-cohort-report.yml - reference workflow that runs every Monday and opens an Issue with the cohort.report markdown.
- README: new 'Use as a GitHub Action' and 'Use as a one-shot CLI' sections.
Usage from CI
- uses: AutomateLab-tech/seo-performance-mcp@v1
with:
tool: cohort.report
format: markdown
input: '{"window": 90, "min_age_days": 90, "limit": 20}'
gsc-service-account-json: ${{ secrets.GSC_SERVICE_ACCOUNT_JSON }}
gsc-site-url: ${{ secrets.GSC_SITE_URL }}
posts-sitemap-url: ${{ secrets.POSTS_SITEMAP_URL }}Full diff
cda59f2..3ec6716