Skip to main content

flin Google Tag Manager MCP

Read-only Google Tag Manager MCP server for Claude Desktop and other stdio MCP clients.

Install in Claude Desktop on macOS

  1. Download flin-gtm-mcp-0.1.0-macos.mcpb from GitHub Releases.
  2. Open the bundle with a current Claude Desktop version supporting MCPB v0.4 / uv extensions.
  3. Select your Google Desktop app OAuth credentials JSON in the extension settings.
  4. Ask Claude to authenticate with flin Google Tag Manager, then complete Google's browser consent.
  5. Ask Claude to list your GTM accounts.

The bundle contains the server source and a dependency lockfile. Claude's uv runtime installs Python and dependencies on first use (internet required); no PyPI release of flin-gtm-mcp is needed. Supports Apple Silicon and Intel through uv-managed Python. Older Claude versions without uv extension support must be updated or use manual setup.

See Claude setup and Google credentials.

Features

20 tools: authentication status/login; lists of accounts, containers, workspaces, tags, triggers, variables, folders, built-in variables and version headers; individual accounts, containers, workspaces, tags, triggers, variables, folders and versions; and the published container version. Lists return one page with next_page_token.

Google access uses only https://www.googleapis.com/auth/tagmanager.readonly. All GTM API operations use an explicit GET allowlist. No editing, deleting, importing, publishing, preview creation or version creation. Login writes a local token cache, but never changes GTM configuration.

Python installation

Python 3.11+:

python3 -m pip install .
export FLIN_GTM_CREDENTIALS_FILE="/absolute/path/to/google-oauth.json"
flin-gtm-mcp login
flin-gtm-mcp status
flin-gtm-mcp serve

serve (the default) uses stdio. Protocol output is reserved for MCP; diagnostics use stderr. OAuth credentials are loaded lazily, so the server starts and lists tools before login. Service-account JSON is also supported when the service-account email has explicitly been granted access to the desired GTM container.

Development and packaging

uv sync --extra dev --frozen
uv run pytest
uv run ruff check .
uv run python -m build
uv run twine check dist/*.whl dist/*.tar.gz
uv run python scripts/build_mcpb.py
npx --yes @anthropic-ai/mcpb validate manifest.json

The MCPB builder includes only explicit project files, never .env, local credentials, tokens, virtual environments or Git metadata. SHA-256 accompanies the bundle. CI runs tests and builds on macOS and Linux. The manual GitHub Release workflow publishes wheel, source distribution and MCPB; it does not upload to PyPI.

PyPI release (maintainer)

You own the PyPI publication. Download the wheel and source archive from the GitHub release, then upload them with your own PyPI credentials:

python3 -m pip install twine
python3 -m twine check flin_gtm_mcp-0.1.0*
python3 -m twine upload flin_gtm_mcp-0.1.0-py3-none-any.whl flin_gtm_mcp-0.1.0.tar.gz

After publication, installation via pip install flin-gtm-mcp becomes available.

Privacy and limits

Credentials stay on your computer; Google receives authentication and GTM API requests. Returned GTM configuration is shared with the MCP client and its model according to that client's settings. No flin telemetry or hosted proxy is used. OAuth tokens are stored in a per-client file with owner-only permissions, not in the macOS Keychain. Custom HTML and configuration strings are untrusted data and are never executed. The extension is unsigned. Real Google access requires your own credentials and consent.

Google authorization reference · Read-only contract

Metadata

Release files for flin-gtm-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flin-gtm-mcp 0.1.0
File Size Uploaded Provenance Actions
flin_gtm_mcp-0.1.0.tar.gz 90.7 kB With provenance Details for flin_gtm_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flin-gtm-mcp 0.1.0
File Interpreter ABI Platform Actions
flin_gtm_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for flin_gtm_mcp-0.1.0-py3-none-any.whl

Total release size: 100.0 kB

Release files / flin_gtm_mcp-0.1.0.tar.gz

Download URL flin_gtm_mcp-0.1.0.tar.gz
Size 90.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e39af060a9423e1d12ae9735e0a43119a3f8debe3becb8bbebffbf8aa34f802e
BLAKE2b-256 checksum
How to use checksums
a5da1a36a3cc2d56cb4ba403f0475ad277c1fca022c16c7ddc468b589c88b3f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / flin_gtm_mcp-0.1.0-py3-none-any.whl

Download URL flin_gtm_mcp-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6a384a77981d550b1091c888d9dae0620ba4df83c436532d3c47408f6c3449b
BLAKE2b-256 checksum
How to use checksums
d687dd233333129fb9abe5bba7a340a5bf89250f7acb4395cfdbf5878ffff57a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for flin-gtm-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flin_gtm_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page