Cover image
Try Now
2025-04-15

Dify 1.0 Plugin Support MCP SSE Tools Agent strategies

3 years

Works with Finder

3

Github Watches

12

Github Forks

42

Github Stars

Dify 1.0 Plugin Support MCP SSE Tools Agent strategies

Author: Junjie.M
Type: agent-strategy
Github Repo: https://github.com/junjiem/dify-plugin-agent-mcp_sse
Github Issues: issues


Description

Agent strategies collection (Support MCP SSE fetch and call tools).

Agent 策略集合(支持 MCP SSE 发现和调用工具)。

mcp_sse_agent

mcp_sse_agent_strategies

mcp_sse_agent_react

MCP Servers config, support multiple MCP services. The following example:

MCP服务配置,支持多个MCP服务。 如下示例:

{
  "server_name1": {
    "url": "http://127.0.0.1:8000/sse",
    "headers": {},
    "timeout": 60,
    "sse_read_timeout": 300
  },
  "server_name2": {
    "url": "http://127.0.0.1:8001/sse"
  }
}

OR

{
  "mcpServers": {
      "server_name1": {
        "url": "http://127.0.0.1:8000/sse",
        "headers": {},
        "timeout": 60,
        "sse_read_timeout": 300
      },
      "server_name2": {
        "url": "http://127.0.0.1:8001/sse"
      }
    }
}

Managed MCP Servers 托管的MCP服务器

If you want to try MCP but don't know how to deploy SSE transport's MCP Server, can you try connect to Managed MCP Servers.

如果你想尝试 MCP,但是不知道如何部署 SSE 传输的 MCP Server,可以尝试连接托管的 MCP 服务器。

Example 1 示例1

Composio Managed MCP Servers

Composio 托管的 MCP 服务器

composio_mcp_list

Reference Cursor Settings, shown below:

参考 Cursor 设置,如下图:

composio_mcp_cursor composio_mcp_cursor2

MCP Servers config, shown below:

MCP 服务配置,如下示例:

{
  "tavily": {
    "url": "https://mcp.composio.dev/tavily/xxxx-xxxx-xxxx-xxxx"
  }
}

Example 2 示例2

Zapier Managed MCP Servers

Zapier 托管的 MCP 服务器

Copy the MCP Server URL for use in the Dify plug-in configuration.

复制 MCP Server URL,在 Dify 插件配置中使用。

zapier_mcp_servers

MCP Servers config, shown below:

MCP 服务配置,如下示例:

{
  "zapier-mcp": {
    "url": "https://actions.zapier.com/mcp/sk-xxxxxxxxxx/sse"
  }
}

Click "Edit MCP Actions" to go to the page for adding tools and actions.

点击 “Edit MCP Actions” ,进入工具和操作的添加页面。

zapier_mcp_edit_actions

Click "Add a new action" to add the required MCP service instance.

点击 “Add a new action”,添加需要的MCP服务实例。

zapier_mcp_add_actions

You can also continue to add different actions to enrich the tool set available to the Agent.

你还可以继续添加不同的 Action,丰富 Agent 可用的工具集。


Installing Plugins via GitHub 通过 GitHub 安装插件

Can install the plugin using the GitHub repository address. Visit the Dify platform's plugin management page, choose to install via GitHub, enter the repository address, select version number and package file to complete installation.

可以通过 GitHub 仓库地址安装该插件。访问 Dify 平台的插件管理页,选择通过 GitHub 安装插件,输入仓库地址后,选择版本号和包文件完成安装。

install_plugin_via_github


FAQ

How to Handle Errors When Installing Plugins? 安装插件时遇到异常应如何处理?

Issue: If you encounter the error message: plugin verification has been enabled, and the plugin you want to install has a bad signature, how to handle the issue?

Solution: Add the following line to the end of your .env configuration file: FORCE_VERIFYING_SIGNATURE=false Once this field is added, the Dify platform will allow the installation of all plugins that are not listed (and thus not verified) in the Dify Marketplace.

问题描述:安装插件时遇到异常信息:plugin verification has been enabled, and the plugin you want to install has a bad signature,应该如何处理?

解决办法:在 .env 配置文件的末尾添加 FORCE_VERIFYING_SIGNATURE=false 字段即可解决该问题。 添加该字段后,Dify 平台将允许安装所有未在 Dify Marketplace 上架(审核)的插件,可能存在安全隐患。

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • activepieces
  • AI Agents & MCPs & AI Workflow Automation • (280+ MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

    Reviews

    3 (1)
    Avatar
    user_M9IO15ep
    2025-04-17

    As a dedicated user of the dify-plugin-agent-mcp_sse, I must say this plugin is outstanding. It enhances my workflow with seamless integration and reliable performance. Kudos to junjiem for developing such a robust tool. Highly recommend checking it out on GitHub!