Dify Plugin MCP HTTP with SSE transport Tools logo

Dify Plugin MCP HTTP with SSE transport Tools

by Junjie.M

This Dify plugin enables the use of tools by MCP protocol through HTTP with SSE transport. It allows Dify to fetch and call tools from MCP servers using Server-Sent Events (SSE).

View on GitHub

Last updated: N/A

What is Dify Plugin MCP HTTP with SSE transport Tools?

This plugin facilitates communication between Dify and MCP (Microservice Communication Protocol) servers using HTTP with SSE transport. It allows Dify to discover and invoke tools exposed by MCP servers.

How to use Dify Plugin MCP HTTP with SSE transport Tools?

  1. Install the plugin via GitHub in the Dify platform. 2. Configure MCP server connections by providing the server URL, headers, and timeouts. 3. Add the plugin to your Dify agent. 4. Use managed MCP Servers like Composio or Zapier if you don't want to deploy your own.

Key features of Dify Plugin MCP HTTP with SSE transport Tools

  • MCP protocol support

  • HTTP with SSE transport

  • Multiple MCP server configuration

  • Managed MCP server integration

  • Tool discovery and invocation

Use cases of Dify Plugin MCP HTTP with SSE transport Tools

  • Integrating external services with Dify

  • Extending Dify's capabilities with custom tools

  • Connecting to managed MCP servers

  • Automating tasks using MCP actions

  • Building AI agents that can interact with external systems

FAQ from Dify Plugin MCP HTTP with SSE transport Tools

How to Handle Errors When Installing Plugins?

If you encounter the error message: plugin verification has been enabled, and the plugin you want to install has a bad signature, add the following line to the end of your .env configuration file: FORCE_VERIFYING_SIGNATURE=false. Adding this field will allow the Dify platform to install all plugins that are not listed (and thus not verified) in the Dify Marketplace.

What is MCP?

MCP stands for Microservice Communication Protocol. It's a protocol used for communication between microservices.

What is SSE?

SSE stands for Server-Sent Events. It's a server push technology enabling real-time data streaming from a server to a client.

How do I configure MCP servers?

You can configure MCP servers by providing the server URL, headers, and timeouts in the plugin settings within the Dify platform. The configuration should be in JSON format.

Can I use managed MCP servers?

Yes, you can use managed MCP servers like Composio or Zapier. The README provides examples of how to connect to these servers.