How to set up the Model Context Protocol (MCP) server for Stape
Updated Sep 22, 2025
The following guide demonstrates setting up an MCP server for Stape. You can alternatively configure the MCP server for Google Tag Manager.
Requirements for setting up the Stape MCP server
For the MCP to connect and operate correctly, please make sure that:
- Your node.js version is up to date (v18 or higher).
- AI app or agent (in our case, it is the Claude app).
Guide to configuring the Stape MCP server
1. Open your AI app and add the config. In this example, we’ll use the Claude app.
Open the Claude desktop app → Claude → Settings → Developer tab → Edit Config → open desktop JSON file called claude_desktop_config → paste the code below.
{
"mcpServers": {
"stape-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.stape.ai/sse",
"--header",
"Authorization: ${your_stape_api_key}"
]
}
}
}
2. Get the Stape Account API Key.
Go to your Stape account → click on your account name and select Account settings → open the API Keys menu → enter a descriptive API key name and click Create API key. For security reasons, you will only be able to view the generated API key once (right now, upon generation). So for future use, be sure to write it down or save it on your device.

3. Save the file claude_desktop_config → close and reopen the Claude app.
4. You should now be able to see the MCP Servers list in the Claude app's Developer tab.

You're all set! You can now enter your requests for managing Stape sGTM containers in your AI app.
Testing the Stape MCP server setup
To check that everything works as intended, simply enter a request in your AI app and see if it’s completed correctly within Stape’s containers.
Comments