PG

paolobietolini/gtm-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

184 stars 42 forks 품질 86 트렌드 38BSD-3-Clause

구글 태그 관리자용 MCP 서버입니다. LLM에 연결하고 한 번 인증한 후 자연어를 통해 GTM 관리를 시작하세요.

개요

GTM MCP 서버는 MCP 클라이언트를 Google 태그 관리자 API에 연결합니다. 컨테이너를 검사하고, 작업 공간 엔티티를 생성 및 업데이트하며, 버전을 생성하고, 명시적 확인 후 선택한 버전을 게시할 수 있습니다. 서버는 개별 사용자를 위한 브라우저 기반 Google OAuth와 자체 호스팅 자동화를 위한 서비스 계정 인증을 지원합니다. 합의된 API 패리티 범위가 완료되었습니다. 프로젝트는 구글의 106개 메서드 GTM v2 발견 표면에서 101개의 메서드를 구현합니다. 다섯 가지 accounts.user_permissions 메서드는 GTM 접근 권한 부여 및 철회가 별도의 권한 관리 설계가 필요하기 때문에 의도적으로 제외되었습니다. 도구 수와 API 메서드 수는 다릅니다. 일부 도구는 로컬 가이드를 제공하고, 일부 헬퍼는 여러 Google API 호출을 커버합니다. 호스팅된 URL을 원격 HTTP MCP 서버로 추가하세요. 클라이언트는 OAuth 메타데이터를 발견하고, Google 로그인을 열며, 발행된 베어러 토큰으로 다시 연결해야 합니다. Gemini CLI도 이 설정을 사용할 수 있습니다.

개요(AI 번역)


[! 중요] https://mcp.gtmeditor.com에 호스팅된 인스턴스는 2026년 11월 30일에 종료됩니다. 자세한 내용은 #139를 참조하세요. 사용해 주신 모든 분들께 감사드립니다!


GTM MCP 서버는 MCP 클라이언트를 Google Tag Manager API에 연결합니다. 이 기능은 컨테이너 검사, 작업 공간 엔티티 생성 및 업데이트, 버전 생성, 그리고 명시적 확인 후 선택된 버전을 출판하세요.

호스팅 서버를 다음 곳에서 사용하세요:

서버는 개별 사용자를 위한 브라우저 기반 Google OAuth를 지원합니다. 셀프 호스팅 자동화를 위한 서비스 계정 인증.

프로젝트 현황

항목 현재 상태
server.json 버전 1.12.3
전송 MCP 스트리밍 가능 HTTP
런타임 툴 기본적으로 64개의 GTM 툴; GTM_TOOL_GROUPS=all를 포함한 94개, 그리고 유틸리티 툴 2개가 포함된다
MCP 자원 8개의 자원 정의
MCP 프롬프트 6개의 프롬프트
공식 GTM API 커버리지 106개 중 101개
호스팅 엔드포인트 https://mcp.gtmeditor.com

이 프로젝트는 구글의 106개 메서드 GTM v2 발견 표면에서 101가지 방법을 구현합니다. 다섯 가지 accounts.user_permissions 방법은 의도적으로 제외되었는데, 이는 GTM 접근 권한 부여 및 취소가 보안과 관련된 일이므로 LLM이 관리해서는 안 되기 때문입니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

GTM MCP Server


[!IMPORTANT]
The hosted instance at https://mcp.gtmeditor.com will be shut down on November 30, 2026. See #139 for details. Thanks to everyone who used it!


GTM MCP Server connects MCP clients to the Google Tag Manager API. It can inspect containers, create and update workspace entities, create versions, and publish a selected version after explicit confirmation.

Use the hosted server at:

https://mcp.gtmeditor.com

The server supports browser-based Google OAuth for individual users and service-account authentication for self-hosted automation.

Project status

Item Current state
Version in server.json 1.13.0
Transport MCP Streamable HTTP, or stdio for local service-account use
Runtime tools 64 GTM tools by default; 94 with GTM_TOOL_GROUPS=all, plus 2 utility tools
MCP resources 8 resource definitions
MCP prompts 6 prompts
Official GTM API coverage 101 of 106 methods
Hosted endpoint https://mcp.gtmeditor.com

The project implements 101 methods from Google’s 106-method GTM v2 discovery surface. The five accounts.user_permissions methods are intentionally excluded because granting and revoking GTM access are security-related and it shouldn’t be manager by an LLM.

Connect an MCP client

Add the hosted URL as a remote HTTP MCP server. The client should discover the OAuth metadata, open Google sign-in, and reconnect with the issued bearer token.

Claude Code

claude mcp add --transport http gtm https://mcp.gtmeditor.com

Gemini CLI

gemini mcp add --transport http gtm https://mcp.gtmeditor.com

Gemini CLI can also use this settings.json entry:

{
  "mcpServers": {
    "gtm": {
      "httpUrl": "https://mcp.gtmeditor.com"
    }
  }
}

Cursor

Add the following to .cursor/mcp.json:

{
  "mcpServers": {
    "gtm": {
      "url": "https://mcp.gtmeditor.com"
    }
  }
}

ChatGPT, Codex, and Claude web

Add a custom or remote MCP connection in the client and use https://mcp.gtmeditor.com as the server URL. Product menus change more often than this server, so refer to the client’s current MCP connection instructions if the label differs.

After connecting, try:

GitHub에서 전체 README 보기

설치

docker run --rm \
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "gtm": { "httpUrl": "https://mcp.gtmeditor.com" } } }