
sprawz/gtm-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
sprawz/gtm-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/sprawz/gtm-mcp-server.
Обзор
sprawz/gtm-mcp-server — это кандидат на MCP-сервер, импортированный из https://github.com/sprawz/gtm-mcp-server.
Обзор (машинный перевод)
[! ВАЖНО] Размещённый инстанс на https://mcp.gtmeditor.com будет закрыт 30 ноября 2026 года. Подробности см. в #139. Спасибо всем, кто им пользовался!
GTM MCP Server соединяет MCP-клиентов с API Google Tag Manager. Он может инспектировать контейнеры, создавать и обновлять сущности рабочего пространства, создавать версии и публикуйте выбранную версию после явного подтверждения.
Используйте размещённый сервер по адресу:
Сервер поддерживает браузерный Google OAuth для отдельных пользователей и Аутентификация аккаунта сервиса для автоматизации самостоятельного хостинга.
Статус проекта
| Элемент | Текущее состояние |
|---|---|
Версия в server.json |
1.12.3 |
| Транспорт | MCP Streamable HTTP |
| Инструменты выполнения | 64 инструмента GTM по умолчанию; 94 с GTM_TOOL_GROUPS=all, плюс 2 утилиты |
| Ресурсы MCP | 8 определений ресурсов |
| Подсказки MCP | 6 подсказок |
| Официальное покрытие API GTM | 101 из 106 методов |
| Хостируемая конечная точка | https://mcp.gtmeditor.com |
Проект реализует 101 метод из 106-методной поверхности обнаружения GTM v2 от Google. Пять методов accounts.user_permissions намеренно исключены, поскольку предоставление и отзыв доступа к GTM связаны с безопасностью и не должны управляться LLM.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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"
}
}
}