app icon
MCP server
0.0.4

make dify's workflow as a MCP server

hjlarry/mcp-server43105 installs

MCP Server

Author: hjlarry
Version: 0.0.4
Type: extension
Repo: https://github.com/hjlarry/dify-plugin-mcp_server
Feature Request: issues

A Dify endpoint plugin that change a dify app to a mcp server.

To keep your data secure, use this plugin exclusively within your private network.

Get Started

1. create a simple workflow app in dify.

2. add a endpoint and select this app.

The app's input schema must define its input parameters. For a chat dify app, ensure to include a field in the input schema, formatted as follows:

3. copy the endpoint url to your mcp client, like

Option 1: Use the newest Streamable HTTP protocol (Recommended)


Option 2: Use the legacy SSE protocol


4. enjoy it!

5. To keep your data secure, you can add a on the endpoint setting.

For example, if your is setting to , then the request header of MCP client must add

Changelog

0.0.4

  • Add response to the method of MCP client, some clients use this method to check server health
  • Add token validator
  • Fix some log incorrect

0.0.3

  • To fix sse get non-exist key get lots error logs on the plugin daemon.
  • Add logs to help debug problems.
  • Streamable http support response object and array.

0.0.2

  • Add a new Streamable HTTP protocol.
  • Update dify-plugin-sdk version.
CATEGORY
Extension
VERSION
0.0.4
hjlarry·06/23/2025 01:58 AM
REQUIREMENTS
App invocation
Endpoint registration
Maximum memory
256MB
Maximum storage
1MB