[GH-ISSUE #18918] feat: Custom headers for remote MCP connection #57380

Closed
opened 2026-05-05 20:53:57 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @poonesh on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18918

Originally assigned to: @tjbck, @Copilot on GitHub.

Check Existing Issues

  • I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Problem Description

I'm trying to setup a tool server to connect to dbt's remote MCP server by following the instructions here:
https://docs.getdbt.com/docs/dbt-ai/setup-remote-mcp

From my understanding, they require custom headers to be configured in addition to the Bearer Token, but I cannot figure out a way to do this in OpenWebUI, and they do not support OAuth yet.
Is passing these custom headers supported already? If not would it be possible to add?

Desired Solution you'd like

Support for configuring custom headers when connecting to remote MCP servers. Thank you!

Alternatives Considered

No response

Additional Context

No response

Originally created by @poonesh on GitHub (Nov 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18918 Originally assigned to: @tjbck, @Copilot on GitHub. ### Check Existing Issues - [x] I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request. ### Problem Description I'm trying to setup a tool server to connect to dbt's remote MCP server by following the instructions here: https://docs.getdbt.com/docs/dbt-ai/setup-remote-mcp From my understanding, they require custom headers to be configured in addition to the Bearer Token, but I cannot figure out a way to do this in OpenWebUI, and they do not support OAuth yet. Is passing these custom headers supported already? If not would it be possible to add? ### Desired Solution you'd like Support for configuring custom headers when connecting to remote MCP servers. Thank you! ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@Grezvany13 commented on GitHub (Nov 12, 2025):

a PR was created to add this feature (https://github.com/open-webui/open-webui/pull/18598), but got denied for unknown reasons

<!-- gh-comment-id:3520802089 --> @Grezvany13 commented on GitHub (Nov 12, 2025): a PR was created to add this feature (https://github.com/open-webui/open-webui/pull/18598), but got denied for unknown reasons
Author
Owner

@tjbck commented on GitHub (Nov 13, 2025):

da42850eff

<!-- gh-comment-id:3525319556 --> @tjbck commented on GitHub (Nov 13, 2025): da42850effe4d51f62974886251774a00b187f79
Author
Owner

@BananaLoaf commented on GitHub (Nov 17, 2025):

@tjbck does add the ability to pass dynamic values like chat_id or username?

<!-- gh-comment-id:3539538757 --> @BananaLoaf commented on GitHub (Nov 17, 2025): @tjbck does add the ability to pass dynamic values like chat_id or username?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#57380