{"name":"io.github.samarthanalytics-sj/samarth-gtm-mcp","slug":"samarthanalytics-sj-samarth-gtm-mcp","title":null,"description":"Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.","url":"https://mcp.market/server/samarthanalytics-sj-samarth-gtm-mcp","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":32,"stars":2,"forks":0,"downloads_week":343,"last_push_at":"2026-09-22T12:39:24.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/samarthanalytics-sj/samarth-analytics-mcp","website":null,"version":"1.19.0","remotes":[],"packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"samarth-gtm-mcp","version":"1.19.0","transport":{"type":"stdio"},"environmentVariables":[{"description":"Your Google OAuth 2.0 client ID (Desktop app type)","isRequired":true,"name":"GOOGLE_OAUTH_CLIENT_ID"},{"description":"Your Google OAuth 2.0 client secret","isRequired":true,"isSecret":true,"name":"GOOGLE_OAUTH_CLIENT_SECRET"},{"description":"Set to 'true' to allow create/update operations (default: read-only)","name":"GTM_MCP_ENABLE_WRITES"},{"description":"Set to 'true' to allow publish operations (default: disabled)","name":"GTM_MCP_ENABLE_PUBLISH"},{"description":"Set to 'true' to allow delete operations (default: disabled)","name":"GTM_MCP_ENABLE_DELETES"}]}],"tools":[{"name":"accounts_get","description":"Get details of a specific GTM account.","write_action":false,"price_micros":0,"input_schema":null},{"name":"accounts_list","description":"List all GTM accounts accessible to the authenticated user.","write_action":false,"price_micros":0,"input_schema":null},{"name":"audit_container","description":"Inspect a GTM workspace for common analytics implementation issues.","write_action":false,"price_micros":0,"input_schema":null},{"name":"built_in_variables_disable","description":"[DELETE] Disable one or more built-in variables in a GTM workspace.","write_action":false,"price_micros":0,"input_schema":null},{"name":"built_in_variables_enable","description":"[WRITE] Enable one or more built-in variables in a GTM workspace.","write_action":false,"price_micros":0,"input_schema":null},{"name":"built_in_variables_list","description":"List all currently enabled built-in variables in a GTM workspace.","write_action":false,"price_micros":0,"input_schema":null},{"name":"built_in_variables_revert","description":"[WRITE] Revert changes to a built-in variable in the workspace to the original container version.","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_combine","description":"[WRITE] Combine (merge) another container into this one.","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_create","description":"[WRITE] Create a new GTM container. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"containers_get","description":"Get details of a specific GTM container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_list","description":"List all GTM containers within a GTM account. Automatically follows pagination to return all containers.","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_lookup","description":"Look up a GTM container by its linked destination ID (e.g. a GA4 measurement ID or tag ID).","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_move_tag_id","description":"[WRITE] Move a Tag ID out of a container into a new container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"containers_snippet","description":"Get the GTM installation snippet (HTML/JS tagging code) for a container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"destinations_get","description":"Get details of a specific GTM destination.","write_action":false,"price_micros":0,"input_schema":null},{"name":"destinations_link","description":"[WRITE] Link a destination (Google tag / GA4 destination) to a GTM container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"destinations_list","description":"List all destinations (linked Google tags / GA4 destinations) for a GTM container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"environments_create","description":"[WRITE] Create a new GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"environments_delete","description":"[DELETE] Delete a GTM environment. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"environments_get","description":"Get details of a specific GTM environment.","write_action":false,"price_micros":0,"input_schema":null},{"name":"environments_list","description":"List all environments in a GTM container. Automatically follows pagination.","write_action":false,"price_micros":0,"input_schema":null},{"name":"environments_reauthorize","description":"[PUBLISH] Re-generate the authorization code for a GTM environment.","write_action":false,"price_micros":0,"input_schema":null},{"name":"environments_update","description":"[WRITE] Update an existing GTM environment. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"export_container","description":"Export a full GTM workspace summary as structured JSON.","write_action":false,"price_micros":0,"input_schema":null},{"name":"folders_create","description":"[WRITE] Create a GTM folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"folders_delete","description":"[DELETE] Delete a GTM folder. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true. Contents of the folder will be unfoldered, not deleted.","write_action":true,"price_micros":0,"input_schema":null},{"name":"folders_entities","description":"List all entities (tags, triggers, variables) within a specific GTM folder.","write_action":false,"price_micros":0,"input_schema":null},{"name":"folders_get","description":"Get a specific GTM folder.","write_action":false,"price_micros":0,"input_schema":null},{"name":"folders_list","description":"List all GTM folders in a workspace. Automatically follows pagination to return all folders.","write_action":false,"price_micros":0,"input_schema":null},{"name":"folders_move_entities","description":"[WRITE] Move tags/triggers/variables into a folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":false,"price_micros":0,"input_schema":null},{"name":"folders_update","description":"[WRITE] Update a GTM folder. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"ga4_account_summaries_list","description":"List GA4 account summaries accessible to the authenticated user. Each","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_custom_dimensions_list","description":"List custom dimensions configured on a GA4 property (parameter name,","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_custom_metrics_list","description":"List custom metrics configured on a GA4 property (parameter name,","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_data_retention_get","description":"Get the data retention settings for a GA4 property (event data retention","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_data_streams_list","description":"List data streams for a GA4 property (web, Android, iOS). Web streams","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_enhanced_measurement_get","description":"Get the enhanced measurement settings for a specific WEB data stream","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_google_ads_links_list","description":"List Google Ads links for a GA4 property (linked customer ID,","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_key_events_list","description":"List key events (formerly \"conversion events\") for a GA4 property — the","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_properties_list","description":"List GA4 properties under a given parent account. Returns full property","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_property_get","description":"Get a single GA4 property by ID, including display name, time zone,","write_action":false,"price_micros":0,"input_schema":null},{"name":"ga4_run_realtime_report","description":"Run a read-only GA4 Data API Realtime report (events in roughly the last","write_action":true,"price_micros":0,"input_schema":null},{"name":"ga4_run_report","description":"Run a read-only GA4 Data API report for a property over a date range.","write_action":true,"price_micros":0,"input_schema":null},{"name":"tags_create","description":"[WRITE] Create a new GTM tag. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"tags_delete","description":"[DELETE] Delete a GTM tag. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"tags_get","description":"Get details of a specific GTM tag.","write_action":false,"price_micros":0,"input_schema":null},{"name":"tags_list","description":"List all GTM tags in a workspace. Automatically follows pagination to return all tags.","write_action":false,"price_micros":0,"input_schema":null},{"name":"tags_update","description":"[WRITE] Update an existing GTM tag. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"triggers_create","description":"[WRITE] Create a GTM trigger. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"triggers_delete","description":"[DELETE] Delete a GTM trigger. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"triggers_get","description":"Get a specific GTM trigger.","write_action":false,"price_micros":0,"input_schema":null},{"name":"triggers_list","description":"List all GTM triggers in a workspace. Automatically follows pagination to return all triggers.","write_action":false,"price_micros":0,"input_schema":null},{"name":"triggers_update","description":"[WRITE] Update a GTM trigger. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"user_permissions_create","description":"[WRITE] Grant a user access to a GTM account (and optionally containers).","write_action":true,"price_micros":0,"input_schema":null},{"name":"user_permissions_delete","description":"[DELETE] Revoke a user's access to a GTM account.","write_action":true,"price_micros":0,"input_schema":null},{"name":"user_permissions_get","description":"Get a specific user permission record for a GTM account.","write_action":false,"price_micros":0,"input_schema":null},{"name":"user_permissions_list","description":"List all user permissions for a GTM account. Automatically follows pagination.","write_action":false,"price_micros":0,"input_schema":null},{"name":"user_permissions_update","description":"[WRITE] Update a user's account and/or container access levels.","write_action":true,"price_micros":0,"input_schema":null},{"name":"variables_create","description":"[WRITE] Create a GTM variable. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"variables_delete","description":"[DELETE] Delete a GTM variable. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"variables_get","description":"Get a specific GTM variable.","write_action":false,"price_micros":0,"input_schema":null},{"name":"variables_list","description":"List all user-defined GTM variables in a workspace. Automatically follows pagination to return all variables.","write_action":false,"price_micros":0,"input_schema":null},{"name":"variables_update","description":"[WRITE] Update a GTM variable. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"versions_create","description":"[WRITE] Create a new GTM container version from a workspace (checkpoint).","write_action":true,"price_micros":0,"input_schema":null},{"name":"versions_delete","description":"[DELETE] Delete a GTM container version.","write_action":true,"price_micros":0,"input_schema":null},{"name":"versions_get","description":"Get the full contents of a specific GTM container version. Pass \"live\" as containerVersionId to get the currently live version.","write_action":false,"price_micros":0,"input_schema":null},{"name":"versions_list","description":"List all container version headers (summary) for a GTM container.","write_action":false,"price_micros":0,"input_schema":null},{"name":"versions_publish","description":"[PUBLISH] Publish a specific GTM container version to live.","write_action":true,"price_micros":0,"input_schema":null},{"name":"versions_set_latest","description":"[WRITE] Set a specific container version as the \"latest\" (synchronizes the default workspace with this version).","write_action":false,"price_micros":0,"input_schema":null},{"name":"versions_undelete","description":"[WRITE] Undelete a previously deleted GTM container version.","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspace_create_version_and_publish","description":"[PUBLISH] Create a new container version from a workspace and immediately publish it.","write_action":true,"price_micros":0,"input_schema":null},{"name":"workspace_get_status","description":"Get the status of a GTM workspace: the list of changed entities (workspaceChange)","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspace_quick_preview","description":"Generate a quick-preview (debug) link for a GTM workspace.","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspace_resolve_conflict","description":"Resolve a merge conflict for a workspace entity.","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspace_sync","description":"Syncs a workspace to the latest container version by updating all unmodified workspace entities.","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspaces_create","description":"[WRITE] Create a new workspace. Requires GTM_MCP_ENABLE_WRITES=true.","write_action":true,"price_micros":0,"input_schema":null},{"name":"workspaces_get","description":"Get details of a specific GTM workspace.","write_action":false,"price_micros":0,"input_schema":null},{"name":"workspaces_list","description":"List all workspaces within a GTM container. Automatically follows pagination to return all workspaces.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-27T05:28:50.697Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T05:28:50.711Z","components":{"code":{"score":25,"max":25,"notes":["63 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 5 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"samarth-gtm-mcp","version":"1.19.0","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":6,"publishedAt":"2026-06-12T15:49:55.357Z","repositoryUrl":"git+https://github.com/samarthanalytics-sj/samarth-analytics-mcp.git","weeklyDownloads":343}],"repo":{"found":true,"owner":"samarthanalytics-sj","repo":"samarth-analytics-mcp","archived":false,"pushedAt":"2026-09-22T12:39:24Z","stars":2,"forks":0,"openIssues":3,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/218747752?v=4","ownerCreatedAt":"2025-07-01T09:01:15Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/218747752?v=4&s=128","source":"github"},"presence":{"stars":2,"forks":0,"downloadsWeek":343,"license":"MIT","lastPushAt":"2026-09-22T12:39:24.000Z","score":32}}}},"grade_history":[],"reviews":[]}