MCP client tool needs custom authentication

I tried to connect newly released GHL MCP server. But their authentication requires two parameters in header, API Key and locationId, there are only Bearer and Header authentication methods, that do not allow put more params.

Video explainer

Hey! For APIs like GHL MCP that require multiple custom headers, you can skip the built-in auth and set both API-Key and locationId manually in the Headers section of the HTTP Request node. Just use “None” for authentication, and define both headers there — that should work fine. Let me know if you need a quick example!

1 Like

Can you please demonstrate an example for a MCP server. I know this is easy for simple http requests but not sure its possible to connect to MCP servers as a tool (client). Thanks.

HTTP request in this case has no point, as it should work as MCP server node (request tools, do other request based on tools descriptions, etc.). It should be setup as MCP node.

1 Like

Did you found any workaround on this?

Came here to say exactly this since I’m also looking to integrate the GHL MCP server.

Also will it work without the /sse on the end? The tool docs say it should use an /sse endpoint.

Yes please give us an example for setting up the MCP Client with multiple headers. I dont understand where to put exactly the expression. {
“mcpServers”: {
“prod-ghl-mcp”: {
“url”: “https://services.leadconnectorhq.com/mcp/”,
“headers”: {
“Authorization”: “Bearer your-token”,
“locationId”: “sub-account-id”
}
}
}
}

1 Like

Hi Martin
I am having the same issue when it comes to setting up GHL MCP client in n8n.
Have you found any workaround for this?
If yes, please share, it would be a great help thanks.

Having the same issue. I have tried to use the HTTP tool for an AI agent instead of the MCO client tool but I am having authentication issues however the authentication config is correct

1 Like

Here is the updated solution and working workflow JSON + Important instructions:

I started to implemented all generic auth type in feat(MCP Client Tool Node): Support Generic Auth Types by pascal-sochacki · Pull Request #17880 · n8n-io/n8n · GitHub

Can you tell me if your implementation will support Dynamic Client Registration?

Ohh that would be simply perfect! Really hope this gets implemented soon