# How to create a "Custom Auth" for connecting Mcp client Node using 2 headers parameters for auth

**URL:** <https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620>\
**Category:** Questions\
**Tags:** credentials, node, http-request\
**Created:** [August 18, 2025, 4:33am UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620 "2025-08-18T04:33:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JUNGWOO\_LEE](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jungwoo_lee/32/58894_2.png) [@JUNGWOO\_LEE](https://community.n8n.io/u/JUNGWOO_LEE)\
**Post date:** [August 18, 2025, 4:33am UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620/1 "2025-08-18T04:33:29Z")

</div>

## Describe the problem/error/question

## Hi, i want to connect my custom MCP server.

for example,

My mcp server info is

“custom\_mcp”: {

```
  "url": "http://custom_mcp/example",

  "headers": {

    "x-username": "id",

    "x-token": "token"

  }

}

```

however, the header auth of n8n Mcp client Node allows only one headers parameter not over two parameters…

Could you let me know about this problem..

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/d/e/de628669dd00ede88ed4918be03c8613d89c491e.png)

---

<div class="post-metadata">

**Author:** ![solomon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/solomon/32/43567_2.png) [@solomon](https://community.n8n.io/u/solomon)\
**Post date:** [August 18, 2025, 10:04pm UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620/2 "2025-08-18T22:04:34Z")

</div>

The sad reality is that it’s not available yet.

You can try the MCP community node, though:

[https://www.npmjs.com/package/n8n-nodes-mcp](https://www.npmjs.com/package/n8n-nodes-mcp)

---

<div class="post-metadata">

**Author:** ![Hiran\_Perera](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/hiran_perera/32/52272_2.png) [@Hiran\_Perera](https://community.n8n.io/u/Hiran_Perera)\
**Post date:** [September 4, 2025, 12:48am UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620/3 "2025-09-04T00:48:56Z")

</div>

will there be any chance this feature is coming in new relases

---

<div class="post-metadata">

**Author:** ![nukeador](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/nukeador/32/49398_2.png) [@nukeador](https://community.n8n.io/u/nukeador)\
**Post date:** [October 22, 2025, 3:33pm UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620/4 "2025-10-22T15:33:52Z")

</div>

Also looking for this. Ideally MCP client tool could import MCP json config and autofill any necessary fields.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [January 20, 2026, 3:33pm UTC](https://community.n8n.io/t/how-to-create-a-custom-auth-for-connecting-mcp-client-node-using-2-headers-parameters-for-auth/170620/5 "2026-01-20T15:33:55Z")

</div>

Closed on January 20, 2026, 3:33pm UTC

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