MCP Server
MCP
io.github.salted-butter-joshua/dify-mcp
MCP server exposing Dify knowledge base retrieval to Cursor and other MCP clients
Install
uvx dify-mcp
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"identifier": "dify-mcp",
"version": "0.1.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Dify Knowledge API base URL, e.g. http://192.168.1.100/v1",
"isRequired": true,
"format": "string",
"name": "DIFY_API_BASE"
},
{
"description": "Dify Knowledge Base API key",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "DIFY_API_KEY"
},
{
"description": "Comma-separated dataset UUIDs to expose",
"isRequired": true,
"format": "string",
"name": "DIFY_ALLOWED_DATASETS"
},
{
"description": "HTTP timeout in seconds (default: 30)",
"format": "string",
"name": "DIFY_TIMEOUT"
},
{
"description": "Verify TLS certificates (default: false)",
"format": "string",
"name": "DIFY_VERIFY_SSL"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment