How to set up the Model Context Protocol (MCP) server for Stape
Updated Jul 16, 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 → open the Account settings → click show api key value in the Account API key section → copy the key. Paste the key instead of the ${your_stape_api_key} part of the code from the previous step.

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