Save this file by opening your Claude Desktop config file at:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - PC:
%APPDATA%\Claude\claude_desktop_config.json
Replace the placeholder values with your actual Celonis credentials.
{
"mcpServers": {
"celonis": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://YOUR-TEAM.YOUR-REALM.celonis.cloud/studio-copilot/api/v1/mcp-servers/mcp/YOUR-MCP-SERVER-ID",
"--header",
"Authorization:${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "Bearer YOUR-ACCESS-TOKEN-HERE"
}
}
}
}| Placeholder | What to put here |
|---|---|
YOUR-TEAM | Your Celonis team subdomain. |
YOUR-REALM | Your Celonis realm (e.g., us-1, eu-1). |
YOUR-MCP-SERVER-ID | The ID of your published MCP Asset in Celonis Studio. |
YOUR-ACCESS-TOKEN-HERE | The bearer token generated by the refresh script see Auto-Refresh Script for Celonis Access Token) |
- The
-yflag auto-accepts thenpxinstall prompt so the connection doesn't hang on first run. - The
AUTH_TOKENis stored as an environment variable and referenced in the header. Never hardcode the token directly in the args string. - After editing the file, you must fully quit and reopen Claude Desktop for the changes to take effect.
- The access token expires every 15 minutes — use the auto-refresh script to keep it current automatically.