SI

stape-io/google-tag-manager-mcp-server

Developer tools

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

241 stars 65 forks 품질 90 트렌드 38Apache-2.0

stape-io/google-tag-manager-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

stape-io/google-tag-manager-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

MCP를 통한 Google Tag Manager API와의 인터페이스는 두 가지 형태로 제공됩니다: Google OAuth가 내장된 호스팅 서버와 자신의 자격 증명으로 실행되는 로컬 CLI입니다.

목차

  • Google 태그 관리자용 MCP 서버
  • 목차
  • 저장소 배치
  • 설치
  • 클로드 데스크톱
  • 클로드 코드
  • VS 코드
  • GitHub 코파일럿
  • 부조종사 CLI
  • 커서
  • 반중력
  • ChatGPT
  • 기타 MCP 클라이언트
  • 문제 해결
  • 변경사항을 로컬에서 테스트해 보세요
  • packages/core 또는 [[T1]로 변경됨
  • [[T2]에 대한 변경 사항
    1. Google Cloud OAuth 클라이언트를 설정하세요
    1. 로컬 환경 변수 구성
    1. 서버 시작
    1. MCP 클라이언트를 로컬 서버에 가리키세요
  • 해제
  • 개발
  • 유용한 자료
  • 오픈 소스

저장소 레이아웃

하나의 앱과 두 개의 게시된 패키지를 가진 NPM Workspace:

경로 패키지 무엇인가
apps/worker (비공개) gtm-mcp.stape.io의 호스팅된 Cloudflare Worker: Google OAuth, 승인 흐름, 공개 페이지, 세션 제거.
packages/cli google-tag-manager-mcp-server npm 패키지: stdio를 통한 로컬 MCP 서버로, 당신이 제공하는 자격 증명으로 인증합니다.

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

README

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

MCP Server for Google Tag Manager

An interface to the Google Tag Manager API over MCP, in two flavours: a hosted server with Google OAuth built in, and a local CLI that runs on your own credentials.

Table of Contents

Repository layout

npm workspace with one app and two published packages:

Path Package What it is
apps/worker (private) The hosted Cloudflare Worker at gtm-mcp.stape.io: Google OAuth, the approval flow, the public pages, session removal.
packages/cli google-tag-manager-mcp-server The npm package: a local MCP server over stdio, authenticating with credentials you supply.
packages/core google-tag-manager-mcp-core Every GTM tool and schema, independent of how credentials are obtained.

Tools reach Google through a GtmAuthProvider (getAccessToken(): Promise) rather than through any particular session, which is what lets the same tool set back both servers — and a private one with your own auth. See the core package README.

Installation

This server comes in two flavours: Hosted server and Local CLI. Both give you the same 20 GTM tools; the difference is who handles Google auth.

Hosted server Local CLI
Auth Google OAuth in your browser, handled for you You supply a service account key, refresh token, or access token
Data Passes through gtm-mcp.stape.io Only ever leaves your machine
Setup None Set one environment variable
GitHub에서 전체 README 보기

설치

npx -y mcp-remote https://gtm-mcp.stape.io/mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "gtm-mcp-server": { "command": "npx", "args": [ "-y", "mcp-remote", "https://gtm-mcp.stape.io/mcp" ] } } }