google-tag-manager-mcp-server
Verified Safeby stape-io
Overview
This server acts as a middleware proxy for Model Context Protocol (MCP) clients to interact with the Google Tag Manager API, enabling AI agents to manage GTM accounts, containers, workspaces, and various resources like tags, triggers, and variables securely via Google OAuth.
Installation
wrangler deployEnvironment Variables
- OAUTH_KV
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- COOKIE_ENCRYPTION_KEY
- HOSTED_DOMAIN
- WORKER_HOST
- MCP_OBJECT
Security Notes
The server demonstrates strong security practices for its stated purpose. It utilizes a robust OAuth provider (@cloudflare/workers-oauth-provider) for Google authentication, with critical secrets (client IDs, secrets, encryption keys) properly sourced from environment variables. Input validation is enforced using Zod schemas, mitigating malformed requests. Explicit mechanisms for session revocation and Google token deauthorization are in place. Furthermore, the Privacy Policy explicitly states compliance with Google's Limited Use requirements, including a clear prohibition against using Google API data for AI/ML model training or improvement. The use of query parameters for sensitive data in the `/remove` endpoint, while functional on a secure Cloudflare Worker, is a minor consideration, but overall, the security posture is high.
Similar Servers
MyMCP
Dynamically convert any OpenAPI v3 specification into a fully-functional Model Context Protocol (MCP) server, exposing external APIs as MCP tools.
mcp-server-playground
A Model Context Protocol (MCP) server that acts as an OAuth proxy for 3rd party authorization servers like Auth0, provides stateful session management, and exposes various tools for system time, streaming, project keyword searching, and AWS services (S3, ECS, CloudWatch Logs, Bedrock).
n8n-mcp-server
Deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers for exposing AI tools without requiring authentication.
remote-mcp-server-auth
A remote Model Context Protocol (MCP) server deployed on Cloudflare Workers, providing AI tools authenticated via Google OAuth for consumption by AI clients.