Ainative Gtm MCP server
{
"mcpServers": {
"ainative-studio-ainative-gtm": {
"command": "npx",
"args": [
"-y",
"@ainative/gtm-mcp@latest"
],
"env": {
"GTM_SERVICE_ACCOUNT_KEY_PATH": "/path/to/directory",
"GTM_SERVICE_ACCOUNT_KEY_JSON": "<gtm_service_account_key_json>"
}
}
}
}{
"mcpServers": {
"ainative-studio-ainative-gtm": {
"command": "npx",
"args": [
"-y",
"@ainative/gtm-mcp@latest"
],
"env": {
"GTM_SERVICE_ACCOUNT_KEY_PATH": "/path/to/directory",
"GTM_SERVICE_ACCOUNT_KEY_JSON": "<gtm_service_account_key_json>"
}
}
}
}{
"mcpServers": {
"ainative-studio-ainative-gtm": {
"command": "npx",
"args": [
"-y",
"@ainative/gtm-mcp@latest"
],
"env": {
"GTM_SERVICE_ACCOUNT_KEY_PATH": "/path/to/directory",
"GTM_SERVICE_ACCOUNT_KEY_JSON": "<gtm_service_account_key_json>"
}
}
}
}{
"servers": {
"ainative-studio-ainative-gtm": {
"command": "npx",
"args": [
"-y",
"@ainative/gtm-mcp@latest"
],
"env": {
"GTM_SERVICE_ACCOUNT_KEY_PATH": "${input:gtm_service_account_key_path}",
"GTM_SERVICE_ACCOUNT_KEY_JSON": "${input:gtm_service_account_key_json}"
}
}
},
"inputs": [
{
"id": "gtm_service_account_key_path",
"type": "promptString",
"description": "Gtm service account key path",
"password": true
},
{
"id": "gtm_service_account_key_json",
"type": "promptString",
"description": "Gtm service account key json",
"password": true
}
]
}{
"mcpServers": {
"ainative-studio-ainative-gtm": {
"command": "npx",
"args": [
"-y",
"@ainative/gtm-mcp@latest"
],
"env": {
"GTM_SERVICE_ACCOUNT_KEY_PATH": "/path/to/directory",
"GTM_SERVICE_ACCOUNT_KEY_JSON": "<gtm_service_account_key_json>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @ainative/gtm-mcpversion 0.4.2
Full Google Ads, Analytics & Tag Manager lifecycle MCP for AI agents — 57 tools.
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.