MCP Server logo

MCP Server

by hjlarry

This Dify plugin transforms a Dify app into an MCP server. It allows you to use Dify workflows as endpoints for MCP clients.

View on GitHub

Last updated: N/A

What is MCP Server?

The MCP Server plugin is a Dify endpoint that enables you to expose Dify apps as MCP servers. This allows MCP clients, like Cherry Studio, to interact with your Dify workflows.

How to use MCP Server?

  1. Create a workflow app in Dify. 2. Add an endpoint to the app and select the MCP Server plugin. 3. Ensure the app's input schema defines the necessary input parameters, including a 'query' field for chat apps. 4. Copy the endpoint URL and paste it into your MCP client.

Key features of MCP Server

  • Transforms Dify apps into MCP servers

  • Enables integration with MCP clients

  • Uses Dify workflows as endpoints

  • Supports input schema definition for parameters

Use cases of MCP Server

  • Integrating Dify workflows with MCP clients

  • Exposing Dify apps as services for other applications

  • Creating custom APIs using Dify workflows

  • Building chat applications with MCP integration

FAQ from MCP Server

What is an MCP client?

An MCP client is an application that can interact with an MCP server. Cherry Studio is an example of an MCP client.

What is Dify?

Dify is a platform for building and deploying AI applications.

How do I define the input schema for my Dify app?

The input schema defines the parameters that your Dify app accepts. You can define it in the Dify app settings.

Do I need to expose my Dify app to the internet to use this plugin?

No, it is recommended to use this plugin exclusively within your private network to keep your data secure.

What kind of Dify apps can I use with this plugin?

You can use any Dify app that has a defined input schema. Chat apps should include a 'query' field.