GitHub Stars
256
User Rating
Not Rated
Favorites
0
Views
41
Forks
34
Issues
2
Installation
Difficulty
BeginnerEstimated Time
5-10 minutes
Installation
Installation
Prerequisites
Python: 3.7 or higher
uv or uvx: Latest version
Installation Steps
1. Set Environment Variables
Set the following environment variables:shell
export DIFY_BASE_URL="https://cloud.dify.ai/v1"
export DIFY_APP_SKS="app-sk1,app-sk2"
2. Create config.yaml File
Create the configuration file using the following command:bash
mkdir -p ~/.config/dify-mcp-server
cat > ~/.config/dify-mcp-server/config.yaml <3. Install the Server
Quickly install uvx with the following command:bash
curl -Ls https://astral.sh/uv/install.sh | sh
4. Start the Server
Use the following JSON configuration to start the MCP server:json
{
"mcpServers": {
"dify-mcp-server": {
"command": "uvx",
"args": [
"--from","git+https://github.com/YanxingLiu/dify-mcp-server","dify_mcp_server"
],
"env": {
"DIFY_BASE_URL": "https://cloud.dify.ai/v1",
"DIFY_APP_SKS": "app-sk1,app-sk2"
}
}
}
}