Google Measurement

•

Connects GA4, Search Console, and Tag Manager into a single Model Context Protocol server for AI agents, providing read and safely controlled write functionalities.

This tool unifies the Google measurement stack—GA4, Search Console, and Tag Manager—into a single Model Context Protocol server specifically designed for AI agents. It addresses the inherent risks of granting AI agents unfettered access to live analytics and tag management systems by implementing robust safety features. While read tools are always available, write operations are explicitly opt-in and destructive actions like deletions are entirely omitted from the codebase. For critical actions like Google Tag Manager publishing, the server requires human confirmation through a dry-run mechanism, ensuring that no changes go live without explicit review, making it a safer alternative for agents requiring write access compared to general-purpose MCPs.

Características Principales

01Unified Access: Integrates GA4, Search Console, and Google Tag Manager APIs into one server.
02No Destructive Actions: Deliberately omits delete, archive, or removal functionalities by design.
030 GitHub stars
04Safe Write Operations: Write tools are explicitly opt-in via a flag or environment variable.
05Flexible Authentication: Supports OAuth, service accounts, and Application Default Credentials (ADC).
06GTM Publish Confirmation: Requires explicit human confirmation after a dry-run for `gtm_publish_version`.

Casos de Uso

01Managing and updating Google Tag Manager configurations programmatically with built-in safety checks for AI agents.
02Empowering AI agents to analyze and interact with Google Analytics 4, Search Console, and Tag Manager data.
03Automating reporting, insights generation, or content optimization strategies using combined measurement data.