Skip to content

Document Dify: connect the Remote MCP server - #31

Merged
oxy-giedrius merged 1 commit into
mainfrom
dify-docs
Nov 26, 2026
Merged

oxy-giedrius merged 1 commit into
mainfrom
dify-docs

Conversation

@oxy-giedrius

Copy link
Copy Markdown
Contributor

Adds a Dify section to "Connect to the Remote MCP server": where to add the server in Dify, the Authorization header, and where the tools can be used.

Tested on self-hosted Dify 1.20.0 (docker compose):

  • The server connects with the header and lists all tools. The URL doesn't end in /mcp, so Dify first tries SSE, gets a 400 and falls back to streamable HTTP, with no setting needed.
  • search and scrape (including run_js) run as workflow Tool nodes.
  • An agent-chat app (gpt-4.1-mini) called search and then scrape on its own and answered correctly.
  • With a wrong or missing key, the tools still list, and each call returns the auth error as text while Dify marks it succeeded. The section says so.

Dify Cloud is not tested yet. Custom MCP headers have existed since Dify 1.9.0 (per its changelog).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oxy-giedrius
oxy-giedrius merged commit 397cf96 into main Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant