Agentโ™ฅ๏ธŽAge
Catalog

io.github.salted-butter-joshua/dify-mcp

Official

by salted-butter-joshua ยท Python

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

This MCP server exposes Dify knowledge base retrieval capabilities to Cursor and other MCP-compatible clients. It connects to a self-hosted or remote Dify instance over HTTP and supports optional dataset allowlisting for access control.

๐Ÿ› ๏ธ Key Features

  • Knowledge base discovery: list and inspect allowed datasets
  • Semantic retrieval: search chunks via POST /datasets/{dataset_id}/retrieve
  • Document browsing: list documents

๐Ÿš€ Use Cases

  • Retrieve information from a Dify knowledge base within an MCP client (including Cursor)
  • Limit accessible retrieval to selected datasets via allowlisting

โšก Developer Benefits

  • Uses MCP to integrate Dify retrieval with MCP-compatible tooling
  • Provides dataset-level selection through dataset_id-scoped retrieval
difyknowledge basecursor integrationknowledge retrievaldocumentationai context