
sprawz/gtm-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
sprawz/gtm-mcp-server は、https://github.com/sprawz/gtm-mcp-server. からインポートされたMCPサーバー候補です。
概要
sprawz/gtm-mcp-server は、https://github.com/sprawz/gtm-mcp-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
[!重要] https://mcp.gtmeditor.comのホストされたインスタンスは2026年11月30日に終了します。詳細は#139を参照してください。利用してくださった皆さん、ありがとうございます!
GTM MCPサーバーはMCPクライアントをGoogleタグマネージャーAPIに接続します。それは可能です コンテナの検査、ワークスペースエンティティの作成・更新、バージョンの作成、そして 明確な確認の後に選ばれたバージョンを公開してください。
ホストサーバーは以下の場所でご利用ください:
サーバーは個人ユーザー向けにブラウザベースのGoogle OAuthをサポートし、 セルフホスト自動化のためのサービスアカウント認証。
プロジェクトの現状
| アイテム | 現状 |
|---|---|
server.json |
1.12.3 |
| トランスポート | MCP Streamable HTTP |
| ランタイムツール | デフォルトで64のGTMツール;GTM_TOOL_GROUPS=all付きで94、さらに2つのユーティリティツール |
| MCPリソース | 8つのリソース定義 |
| MCPプロンプト | 6つのプロンプト |
| 公式GTM APIカバレッジ | 106方法中101 |
| ホスト端末 | https://mcp.gtmeditor.com |
このプロジェクトは、Googleの106メソッドからなるGTM v2ディスカバリーサーフェスから101のメソッドを実装しています。5つの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:
インストール
docker run --rm \設定
{
"mcpServers": {
"gtm": {
"httpUrl": "https://mcp.gtmeditor.com"
}
}
}