DC
Dify Connect MCP
About
what is Dify Connect MCP?
Dify Connect MCP is a Model Context Protocol (MCP) server that integrates with the Dify API to send queries to chat applications and retrieve results.
how to use Dify Connect MCP?
To use Dify Connect MCP, set up the server by installing dependencies, configuring environment variables, and starting the server. You can then send queries to the Dify chat application or knowledge base.
key features of Dify Connect MCP?
dify-chat: Send queries to the Dify chat application and receive responses.
knowledge-base-query: Send queries to Dify's knowledge base and retrieve answers.
use cases of Dify Connect MCP?
Integrating chat functionalities into applications using Dify API.
Retrieving information from a knowledge base for customer support.
Automating responses in chat applications based on user queries.
FAQ from Dify Connect MCP?
What are the prerequisites for using Dify Connect MCP?
You need Node.js (v16 or higher), npm, and a Dify API key.
Is there a specific way to set up the environment variables?
Yes, you need to create a .env file and set the required variables like DIFY_BASE_URL and DIFY_SECRET_KEY.
How do I start the MCP server?
You can start the server by running the command ./start-mcp.sh after setting up the environment.
Created by: difybase
Added: 3/29/2025
Updated: 3/29/2025