How to install gtm-ga4 in Codex
To install gtm-ga4 in Codex, run "codex mcp add gtm-ga4 --env GOOGLE_APPLICATION_CREDENTIALS=YOUR_GOOGLE_APPLICATION_CREDENTIALS --env GTM_ACCOUNT_ID=YOUR_GTM_ACCOUNT_ID --env GTM_CONTAINER_ID=YOUR_GTM_CONTAINER_ID -- npx -y mcp-gtm-ga4" in your terminal, then type /mcp in Codex to check it.
Built from the published package · server updated 1 month ago
- 1
Run the install command
In a terminal, run:
codex mcp add gtm-ga4 --env GOOGLE_APPLICATION_CREDENTIALS=YOUR_GOOGLE_APPLICATION_CREDENTIALS --env GTM_ACCOUNT_ID=YOUR_GTM_ACCOUNT_ID --env GTM_CONTAINER_ID=YOUR_GTM_CONTAINER_ID -- npx -y mcp-gtm-ga4 - 2
Check it
Inside Codex, type /mcp to see the server and its tools.
MCP servers run with your permissions. If gtm-ga4 needs an API key, add it under env in the config. Check its README.
Install gtm-ga4 in another app
Similar servers
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
Validate oh-my-posh configurations and segment snippets against the official schema.
Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.
Questions
Does gtm-ga4 work in Codex?
Yes. Codex supports mcp servers in the codex cli and ide extension, and gtm-ga4 installs with the steps above.
gtm-ga4 does not show up in Codex. What now?
Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is gtm-ga4 safe?
It scores 42 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
