MCP directory
DM

Dify Mcp

by github.com/salted-butter-joshua · v0.1.0 · updated Jul 5, 2026

MCP server exposing Dify knowledge base retrieval to Cursor and other MCP clients

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx dify-mcp==0.1.0

Environment variables

  • DIFY_API_BASErequired

    Dify Knowledge API base URL, e.g. http://192.168.1.100/v1

  • DIFY_API_KEYrequiredsecret

    Dify Knowledge Base API key

  • DIFY_ALLOWED_DATASETSrequired

    Comma-separated dataset UUIDs to expose

  • DIFY_TIMEOUT

    HTTP timeout in seconds (default: 30)

  • DIFY_VERIFY_SSL

    Verify TLS certificates (default: false)

More MCP servers