Key takeaways
Claude MCP (stands for Model Context Protocol) is an open, standardized way created by Anthropic that allows Claude to connect to multiple external tools, applications, and data sources at the same time.
With MCP configured, you can turn Claude from a standalone chatbot into an AI solution that can manage external tools (like Google Tag Manager, Google Analytics 4, databases, file systems, or APIs) through a unified interface.

Claude MCP servers are made not only for developers. In fact, to configure the MCP server, you don't really need a programming background.
For example, Stape's clients (who are usually tracking specialists, marketers, and agencies) use the MCP servers for workflows and repetitive tasks automation. Here are some examples of when you may need to configure MCP servers:
By connecting to tools like Google Analytics 4, CRM systems, or email marketing platforms, Claude can pull campaign performance data and provide short summaries. Instead of manually building reports, marketers can ask in natural language for insights like “Which campaign performed best last week and why?” and get a structured explanation with supporting metrics.
With a GTM MCP server, Claude can help you create new tags, set up triggers based on user behavior, manage variables and data layers, audit existing container configurations, etc.
Instead of manually navigating the GTM interface, you can describe within a chat what you need, and Claude will trigger GTM actions using MCP tools.
You can connect multiple systems within your Claude account with the help of MCP. Here is an example of a cross-tool marketing workflow:
Identify a drop in GA4 conversions → Check the GTM configuration for tracking issues → Suggest fixes in GTM setup → Validate changes across environments
For businesses having server-side tracking configured, MCP servers can simplify infrastructure management.
For example, Stape has developed the Stape MCP server. After configuring it, Claude can create and manage server-side GTM containers and help debug tracking issues. This can reduce dependency on manual setup.
Claude connects to MCP servers through a client-server system that allows it to access external tools. Instead of calling APIs or relying on hardcoded plugins, Claude communicates through the MCP, which standardizes how tools are used.

MCP servers for Claude are divided into two categories: local (stdio-based) and remote (HTTP-based). Both have the same purpose - to connect Claude to external tools; however, they differ in how they are deployed, accessed, and maintained.
Local MCP servers run directly on your computer or within your local environment, without the need for external hosting. Claude communicates with them through standard input/output (stdio).
Remote MCP servers run on external infrastructure and are accessed over the network using HTTP-based protocols. So, you need to have a URL endpoint that will be accessed whenever you need to perform some actions via MCP.
Here is a quick comparison of local and remote servers:
| Feature | Local MCP server | Remote MCP server |
| Where it runs | On your own machine/environment | Cloud/external server |
| Setup complexity | Medium-high | Low |
| Requires extra manual installation | Yes.You need to install a runtime, download the MCP server package, and configure it in Claude Desktop or Claude Code | No.Just configure the server in Claude Desktop or Claude Code and connect via URL when needed |
| Best for | Developers, local tools | Business and marketing teams, SaaS integrations |
Bottom line:
Remote MCP servers are better for most users because they are easier to set up, easier to scale, and better suited for SaaS tools. Local MCP servers are better when you need deep system access, local execution, or development-level control.
1. Official/partner connectors (inside Claude)
Anthropic provides a list of approved “connectors” (these are remote MCP servers managed by third parties or Anthropic partners).
You find them inside Claude Desktop (below, we cover how to configure it) → Settings → Connectors → Browse connectors.

2. Public MCP servers from companies (like Stape)
Companies can provide their own remote MCP endpoints. That's actually what Stape does - our developers create free MCP servers for tools like GTM, GA4, or Stape itself, so you can easily manage your accounts on these platforms.
Similar solutions are also available on other platforms. If you need to automate the flow for some specific tools, check their official website. If they have MCP servers, they must be talking about it and providing documentation.
See the up-to-date list of MCP servers provided by Stape on the MCP page.
3. Community/self-hosted remote MCP servers
Developers can also deploy their own MCP servers using Cloudflare Workers, Node.js + HTTP server, Docker on a VPS, etc. These are often shared via GitHub.
It depends on who owns them.
Many MCP servers are GitHub-hosted and community-maintained. They are free, but you may be charged for hosting (if self-hosted). Some third-party platforms like analytics/dev tools can offer free-tier access, with a limited number of requests.
So, it will vary based on the platform. Check the tool description to avoid any hidden charges.
Both Claude Desktop and Claude Code support MCP servers, but they are designed for different workflows. In core, the underlying MCP concept is the same, but the way you configure and use MCP servers depends on which Claude product you are working with.
Claude Desktop is an app created for general use (research, analytics, everyday AI assistance). MCP servers in Claude Desktop are configured through a settings file called claude_desktop_config.json. In this setup, MCP servers are defined once and then automatically loaded when the desktop app starts.
Claude Code is a terminal-based developer tool created for coding workflows. MCP support is built directly into the Command-Line Interface (CLI) environment. It means servers are typically added, managed, and used through command-line instructions.
Bottom line:
Claude Desktop is best for simple, UI-driven use of MCP for tools like GA4 and GTM. Claude Code is best when MCP needs to be part of a developer workflow that includes code, automation, and system-level access.
For the purpose of this article, we will focus on how to configure Claude Desktop below.
✅ Installed Node.js with an up-to-date version (v18 or higher)
If you don't have it configured yet, follow the download link from Node.js and select the following options before downloading the installer package:
Then click on Installer.

Open the file that was downloaded and follow the instructions.

✅ Sufficient access to the target tool
You need to have access to edit within the specific tool you use the MCP server for. Without proper permissions, Claude can connect to the server but won’t be able to perform actions.
Go to Claude's download page and download the version for your operating system.

Open the file that was downloaded to complete the installation and sign in with your account to start using Claude Desktop.
As an example, we will consider a free MCP server for GTM developed by Stape. The logic for configuring any other remote MCP is basically the same.
1. Open Claude Desktop and navigate to Settings → Developer → Edit Config.
This opens Claude's JSON configuration file, which is where Claude stores information about the MCP servers it can connect to. Every MCP server that you want Claude to use must be defined in this configuration file.

2. Replace the file content with the following configuration.
{
"mcpServers": {
"google-tag-manager-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gtm-mcp.stape.ai/mcp"
]
}
}
}

Once done, save the changes.
3. Restart Claude.
When Claude starts again, it will attempt to connect to the added MCP server.
4. Authenticate with OAuth.
A browser window will open showing your OAuth login page. Complete the authentication flow to grant Claude access to your MCP server.


After you grant access, the tools will become available for you to use.

You can always check the status of the MCP server if you open Settings → navigate to Developer tab → see the status next to the server name (if it works, the status must be "running").

5. Now you can type your request via chat.
So, as shown in the example of the GTM MCP server, the configuration is pretty simple and doesn't require any programming skills.
Let's also consider in detail what the config code means and what it does.
This config tells Claude to:
{
"mcpServers": {
"google-tag-manager-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gtm-mcp.stape.ai/mcp"
]
}
}
}
But some MCP servers may ask for an API key. As an example, Stape MCP. In this case, the code will slightly differ.
"--header", "Authorization: ${your_stape_api_key}" appears - it adds an HTTP Authorization header to every request sent to the server. This API key allows the MCP server to identify your account and determine which Stape resources Claude can access.
In such a case, the configuration is the same; you just need to specify your API key.
{
"mcpServers": {
"stape-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.stape.ai/mcp",
"--header",
"Authorization: ${your_stape_api_key}"
]
}
}
}
MCP servers are gaining popularity among different specialists (not only developers), since they can help optimize workflows and get some tasks done way quicker than doing them manually.
Below are some of the most useful free MCP servers for marketing and data specialists.
| Tool/platform | Examples of MCP server implication | Config guide |
| Google Tag Manager | Create or modify tags/triggers/variablesManage accounts and workspacesAudit container configurationsIdentify unused or duplicate assetsDocument your entire tracking setup | GTM MCP server configuration guide |
| Google Analytics 4 | Generate traffic and conversion reportsCompare performance across time periodsAnalyze campaign performanceIdentify trends and anomaliesInvestigate sudden drops in traffic or conversions | GA4 MCP server configuration guide |
| Stape | Manage server-side tagging containersCreate and organize environmentsAccess and review account configurationsMonitor your tracking infrastructureRetrieve information about containers and services | Stape MCP server configuration guide |
MCP remote stores all the credential information inside ~/.mcp-auth (or wherever your MCP_REMOTE_CONFIG_DIR points to). If you're having persistent issues, try running:
rm -rf ~/.mcp-authIt will clear any locally stored state and tokens. Then restart your MCP client.
Claude's skills are basically reusable instructions that Claude should use when performing specific types of tasks. They are used for repetitive tasks. With their help, you can package your preferred workflows, rules, and standards into a “Skill” instead of rewriting long prompts every time.
Why it's best practice:
You may have noticed that AI agents may hallucinate and provide unexpected results. Skills provide the "frame" for Claude to execute the actions you need, minimizing the space for AI's "creativity". It's especially helpful if the tasks are executed by different team members. With Skills, the instructions will be unified for the specific task.
Follow the guidelines below to create a precise rule for Claude Skills:
A Skill should solve one repeatable task, not multiple unrelated problems.
A good Skill description should include: task type, when it should be used, where it should be used, which MCP server is used, expected input signals (e.g., “GTM audit”, “tracking review”, “GA4 issue”)
The separation provides better consistency across the MCP-included workflows.
Rules (how Claude should behave) must include naming conventions (if such are required), output format, and validation requirements. Execution logic (what Claude should do) stands for the specific steps that must be conducted and checklists that must be followed while performing the task.
To add the skills, click on Customize → Skills → click on the plus next to Skills → browse the available skills or create your own skill.

Avoid giving Claude direct access to the production environment while testing different prompts. Instead, create testing environments where you can try new prompts, validate configurations, test automated workflows, and experiment with new MCP servers.
Why it's best practice:
Mastering a prompt or skill that will do exactly what you need may take time. It can cause some changes that can be difficult to follow and reverse directly in production.
As you add more MCP servers, your claude_desktop_config.json file can quickly become difficult to manage. To keep things organized, remove old or unused server configurations and group related tools together.
Why it's best practice:
When you need to do some configuration file operations (such as removing MCPs that are no longer needed), the readability of the config file becomes critical. A compact structure makes it much easier to identify active and inactive servers and reduces the risk of deleting or modifying the wrong entry.
For example, you want to add GTM and GA4 MCP tools. Instead of adding some kind of code that will be longer:
[{
"mcpServers": {
"google-tag-manager-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gtm-mcp.stape.ai/mcp"
]
}
}
},
{
"mcpServers": {
"ga4-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp-google-analytics.stape.io/mcp"
]
}
}
}]
You can add a more compact version of the same code:
{
"mcpServers": {
"gtm": { "command": "npx", "args": ["-y", "mcp-remote", "https://gtm-mcp.stape.ai/mcp"] },
"ga4": { "command": "npx", "args": ["-y", "mcp-remote", "https://ga4-mcp.stape.ai/mcp"] }
}
}Configuring MCPs in Claude can significantly simplify the work of marketing and data specialists, since it can handle many repetitive operational tasks automatically. At the same time, building a reliable and scalable system (especially one that consistently delivers the expected outputs) is challenging. It requires careful setup, clear prompt design, and adherence to best practices to avoid issues in production environments.
Comments