dify plugin mcp server

Local 2025-09-01 00:54:38 0

A Dify endpoint plugin that transforms a Dify application into a Model Control Protocol server, allowing tools like Cursor to connect to and utilize your custom Dify workflows.


Author: hjlarry
Version: 0.0.2
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.

1

2. add a endpoint and select this app.

2

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

{
    "name": "get_weather",
    "description": "Get weather status for a place.",
    "inputSchema": {
        "properties": {
            "place": {"title": "Place", "type": "string"}
        },
        "required": ["place"],
        "title": "get_weatherArguments",
        "type": "object"
    }
}

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

6 7

Option 2: Use the legacy SSE protocol

3 4

4. enjoy it!

5

Changelog

0.0.2

  • Add a new Streamable HTTP protocol.
  • Update dify-plugin-sdk version.