Skip to Content
MCP ServerClaude Code

Claude Code logoClaude Code

Connect Sync GTM to Claude Code, Anthropic’s agentic coding CLI.

Sync GTM uses browser-based sign-in (OAuth). There is no API key or Authorization header — authentication happens entirely in the browser.

Add the Sync GTM server

Run this command in your terminal:

claude mcp add --transport http syncgtm https://api.syncgtm.com/mcp

Add --scope user to make the server available across all your projects:

claude mcp add --scope user --transport http syncgtm https://api.syncgtm.com/mcp

Authenticate with Sync GTM

  1. Start (or restart) Claude Code, then run:
/mcp
  1. Select syncgtm → Authenticate — your default browser opens the Sync GTM sign-in page
  2. Sign in to Sync GTM and approve — Claude Code stores the session and reconnects automatically

Verify the connection

Run /mcp any time to check connection status or re-authenticate. syncgtm should show as connected with its tools listed.

No API token or Authorization header is needed — if you’re prompted for one, you’re configuring the wrong transport. Use --transport http as shown above.

Next steps