Skip to content

Conversation

@yehorkardash
Copy link
Contributor

Summary

This PR enables proxy support for MCP Client Tool. It updates fetch method in MCPClient constructor with a custom fetch that uses ProxyAgent

Testing

  1. Set up local proxy (e.g., tinyproxy)
  2. Test with various combinations of HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY
  3. Verify MCP client tool makes requests through proxy
  4. Confirm NO_PROXY patterns work correctly

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-3754/mcp-client-tool-proxy-support

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Nov 11, 2025
@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants