Skip to main content
Glama

MCP Server

by hjlarry

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.

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

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

For example, if your Auth Bearer Token is setting to sk-abcdefgh, then the request header of MCP client must add Authorization: Bearer sk-abcdefgh

Changelog

0.0.4

  • Add response to the ping method of MCP client, some clients use this method to check server health
  • Add Authorization: Bearer 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.
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Dify アプリケーションをモデル制御プロトコル サーバーに変換する Dify エンドポイント プラグイン。これにより、Cursor などのツールがカスタム Dify ワークフローに接続して利用できるようになります。

  1. 始める
    1. 1. dify でシンプルなワークフロー アプリを作成します。
    2. 2. エンドポイントを追加し、このアプリを選択します。
    3. 3. エンドポイント URL を、 Cherry Studioなどの MCP クライアントにコピーします。
    4. 4. 楽しんでください!
  2. 変更履歴
    1. 0.0.3
    2. 0.0.2

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    A plugin that allows Dify to connect to multiple MCP (Model Control Protocol) servers using HTTP with Server-Sent Events transport, supporting custom configurations for URLs, headers, and timeouts.
    Last updated -
    164
    Python
  • -
    security
    F
    license
    -
    quality
    Exposes Dify applications (both Chatflow and Workflow) as MCP (Model Context Protocol) servers, allowing Claude and other MCP clients to directly interact with Dify apps through a standardized protocol.
    Last updated -
    35
    Python
  • -
    security
    F
    license
    -
    quality
    A server implementation that enables integration of Dify workflows with Model Context Protocol (MCP), allowing users to access Dify's capabilities through MCP-compatible clients.
    Last updated -
    2
  • A
    security
    A
    license
    A
    quality
    A TypeScript-based server that connects MCP Clients to Dify applications, dynamically exposing Dify applications as tools that can be used directly within the MCP Client.
    Last updated -
    4
    JavaScript
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hjlarry/dify-plugin-mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server