Hosted MCP server needs dynamic credentials

I’ve hosted a MCP server in AWS agentcore, which I would like to attach to my agent now, but their max time on bearer tokens is a few days only. They provide a refresh token but I don’t see any way to include that in the MCP credentials in n8n. Is there a way to update credentials, include dynamic values in credentials, or get MCP servers to utilize refresh tokens?

1 Like

I’d appreciate that. I am fairly new to n8n so I apologise if its a dumb question.

Thanks for the information. If I delete the credential in n8n via the API, and create a new credential by the same name (with updated access token), then will the existing nodes use the new credential automatically, or will all my nodes be broken?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.