
stape-io/google-tag-manager-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
stape-io/google-tag-manager-mcp-serverは、https://github.com/stape-io/google-tag-manager-mcp-server.からインポートされたMCPサーバー候補です。
概要
stape-io/google-tag-manager-mcp-serverは、https://github.com/stape-io/google-tag-manager-mcp-server.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
MCP経由でGoogle Tag Manager APIへのインターフェースがあり、2つのバリエーションがあります。Google OAuthを内蔵したホストサーバーと、自分の認証情報で動作するローカルCLIです。
目次
- Googleタグマネージャー用MCPサーバー
- 目次
- リポジトリレイアウト
- 設置
- クロードデスクトップ
- クロード・コード
- VSコード
- GitHub Copilot
- Copilot CLI
- カーソル
- 反重力
- ChatGPT
- その他のMCPクライアント
- トラブルシューティング
- 変更をローカルでテストすること
packages/coreまたは[[T1]への変更]- [[T2]への変更点
- 1.Google Cloud OAuthクライアントをセットアップします
- 2.ローカル環境変数の設定
- 3.サーバーを起動してください
- 4.MCPクライアントをローカルサーバーに向けてください
- リリース
- 開発
- 有用なリソース
- オープンソース
リポジトリのレイアウト
1つのアプリと2つの公開パッケージを持つNPMワークスペース:
| パス | パッケージ | それは何か |
|---|---|---|
apps/worker |
(private) | ホストされているCloudflare Workerはgtm-mcp.stape.io: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
- MCP Server for Google Tag Manager
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 |
インストール
npx -y mcp-remote https://gtm-mcp.stape.io/mcp設定
{
"mcpServers": {
"gtm-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gtm-mcp.stape.io/mcp"
]
}
}
}