dify-plugin-agent-mcp_sse
Dify 1.0 Plugin Support MCP Tools Agent strategies
Integrate Dify with MCP services like Composio Zapier and MCPso using the dify-plugin-agent-mcp_sse. Stream requests and receive real-time responses via SSE with a unified client wrapper.
How to Handle Tool Name Conflicts Between MCP Tools and Dify Built-in ToolsLearn how to avoid tool name conflicts between MCP tools and Dify built-in tools. This plugin automatically resolves collisions by prefixing MCP tool names, ensuring unique entries.
How the Function Calling Strategy Handles Streaming vs Blocking LLM ResponsesUnderstand how Function Calling strategy processes streaming vs blocking LLM responses. It checks STREAM_TOOL_CALL for incremental or complete result handling in tool call extraction.
Understanding mcp_servers_config in Dify MCP-SSE Agent: JSON Structure and Validation GuideLearn the purpose of mcp_servers_config in Dify MCP-SSE Agent. Understand its JSON structure and validation methods for secure server connections.
How to Debug MCP Server Connection Issues Using the Plugin’s LoggingDebug MCP server connection issues effectively using Dify plugin logs. Pinpoint timeouts, origin mismatches, and errors by inspecting SSE handshake and RPC payload details.
How to Increase the Maximum Iteration Count for Complex Agent Workflows in Dify MCP SSELearn how to increase the maximum iteration count for complex Dify agent workflows. Modify the max_iterations setting in your MCP SSE configuration to enable deeper execution and overcome safety limits.
What Happens When an MCP Server Returns an Error During Tool ExecutionLearn what happens when an MCP server returns an error during tool execution. Dify MCP plugin detects, raises, and propagates errors for seamless debugging and issue resolution.
How to Configure Custom Headers for MCP Server Authentication in Dify PluginsLearn to configure custom headers for MCP server authentication in Dify plugins. Easily attach headers to HTTP requests for secure authorization with junjiem/dify-plugin-agent-mcp_sse.
McpSseClient vs McpStreamableHttpClient: Connection Lifecycle Differences ExplainedCompare McpSseClient and McpStreamableHttpClient connection lifecycles. Discover persistent SSE streams versus per-request HTTP POST connections and their implications.
How the MCP Client Handles Tool Name Collisions When Multiple Servers Expose the Same ToolLearn how the MCP client resolves tool name collisions using server-specific namespaces and explicit server IDs to ensure correct tool invocation across multiple servers.
How to Configure Multiple MCP Servers with Different Transport Types (SSE and Streamable HTTP) in DifyConfigure multiple MCP servers with SSE and Streamable HTTP transports in Dify. Learn how to define each server with its transport type for seamless integration.
Function Calling vs ReAct Strategy in MCP Tool Execution: Architectural Differences ExplainedDiscover the architectural differences between Function Calling and ReAct strategies for MCP tool execution. Understand how LLM capabilities and Chain-of-Thought parsing impact tool use.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →