This topic was automatically generated from Slack. You can find the original thread here.
Hi Guys,
I’m currently integrating one of your MCP tools (for example, google_calendar) and have multiple accounts connected for the same app.
I’m passing all the required headers in my request, including:
• x-pd-project-id
• x-pd-environment
• x-pd-external-user-id
• x-pd-app-slug
• x-pd-tool-mode
• x-pd-account-id
• Authorization
Additionally, I tried passing the accountId as a query parameter in the request URL as follows:
https://remote.mcp.pipedream.net/{external_user_id}/google_calendar?accountId={account_id}
However, the response always seems to come from the latest connected account instead of the specific account ID I’m trying to target.
Could you please confirm:
- Whether the
accountIdparameter is supported when calling the MCP tool endpoint directly? - If so, should it be passed in the query string, headers, or request body?
- Is there any specific format or configuration needed to select a particular connected account?
I’ve already verified that both accounts are linked and accessible under the same external user.
Please someone help me to figure out this issue !