Connect Claude Code
Add adtool.ai servers to Claude Code from the command line or through a project .mcp.json file.
Checked against Anthropic's docs on 28 September 2026. Menu names may change.
Add the servers
claude mcp add --transport http adtool-ga4 https://mcp-sandbox.adtool.ai/ga4
claude mcp add --transport http adtool-gtm https://mcp-sandbox.adtool.ai/gtmThen run /mcp in Claude Code, or claude mcp login adtool-ga4, and finish the sign-in in the browser.
Use --scope user to make a server available in every project, or --scope project to share it with your team through .mcp.json:
{
"mcpServers": {
"adtool-ga4": { "type": "http", "url": "https://mcp-sandbox.adtool.ai/ga4" }
}
}What happens at sign-in
An adtool.ai page opens in your browser. It shows which client is asking and where it will send you back. You pick the properties, containers or ad accounts the client may use and its access level. Access levels and approvals explains what each level allows.
Claude Code signs in through a local address on your computer, so the page also shows a notice that adtool.ai cannot confirm who published the program. Allow it only if you added the server yourself.
Known limits
- Claude Code warns when one tool result exceeds 10,000 tokens and cuts it at 25,000 by default (
MAX_MCP_OUTPUT_TOKENS). adtool.ai keeps results far smaller and splits long lists into pages.