ERROR: MPC bearer auth error

Hello I am new to the N8N world, I am trying to learn more about MPC, I had an error while trying to connect the MPC server and the client I used the same bearer authentication, but it kept giving error without any message to that error.
could someone help with this?
Image attached:


Hi @Mira_Melhem, welcome to community!
For your case, you need to separate the MCP server and MCP Client node.
Here is (maybe) a reproducible usage for your case:

  1. Separate the MCP Server and MCP Client node.
  2. Get the MCP Server URL by double click the node, choose the test/production URL, copy it to MCP Client node
  3. Paste the MCP Server URL that already copied to the MCP Client node, and you don’t need to add any authorization to the MCP Client, MCP Server and n8n already handle it to make your MCP Server and Client safe.
  4. Test the workflow by:
    a. Create a new tab (You will have 2 tabs here), and open the MCP Server workflow
    b. Press the test workflow;
    c. Move back to the Chat workflow, and run it.
    d. After running the Chat workflow, go back to the MCP Server workflow tab, and see the result.

Hope it helps! And kindly mark my message as solution if it helps you! Thanks!

hey @Mira_Melhem welcome, here are some examples for mcp server:

Hello @cutecatcode and @moosa , thank you for your replys,I have sepeerated both workflows and tried the steps to connect, However it keeps sending this error, do you have any idea what is the source of this problem?

THE ERROR:
“Request failed with status code 504”

Have you activated the MCP Server workflow?

Yes the workflow which has the MCP server in is activated.

Go to executions tab in MCP Server workflow, maybe you’ll find something there

1 Like

Hi @Mira_Melhem I want to know about latest news from your case, and if I’m helping you, kindly mark my message as solution:)

Hello @cutecatcode the problem is still showing, the problem specifically is that the MCP client is not returning the tools from the server, it is not connecting to the server although I copied the same sse link

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