Skip to content

v1.6.0

Choose a tag to compare

@antohins antohins released this 08 Aug 12:23
· 14 commits to main since this release

Added

  • New server ga4 — Google Analytics 4 via the Data API v1beta + Admin API (8th server): ga4_list_properties, ga4_report (arbitrary dimensions × metrics, filters, sorting), ga4_bytime, ga4_traffic_sources, ga4_geo, ga4_devices, ga4_top_pages, ga4_events, ga4_realtime.
    The OAuth app is shared with gsc (GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET) — GA4 only needs its own consent (different scope) and uses loopback port 8586 so both servers can run at once. Responses carry totalRows/truncated, the property timeZone and thresholded. Dates accept YYYY-MM-DD and GA4 keywords (28daysAgo, yesterday…), resolved in the property's timezone.
    NOTE: GA4 returns bounceRate/engagementRate as a 0..1 fraction, not a percent.

Changed

  • shared: Google authorization extracted from servers/gsc into a reusable subpath @seo-tools/shared/google (createGoogleAuth, registerGoogleOauthTools, loopback). Like ./serp, it's a separate subpath so google-auth-library stays out of non-Google server bundles. gsc/index.ts shrank 644 → 323 lines with no behavior change.
  • docs: .mcp.json had been missing aparser since 1.4.0 — added, together with ga4; both READMEs, .env.example and the older Dockerfiles now cover all 8 servers.

npm: seo-tools-mcp-<server>@1.6.0 (8 servers). See CHANGELOG.