Skip to content
mcp/skillhub

Dify MCP Server

by salted-butter-joshuaio.github.salted-butter-joshua/dify-mcpv0.1.0

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

0Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing3mo ago

Install Dify MCP server

Install in Claude Code

claude mcp add dify -e DIFY_API_BASE='<dify-api-base>' -e DIFY_API_KEY='<dify-api-key>' -e DIFY_ALLOWED_DATASETS='<dify-allowed-datasets>' -- uvx dify-mcp

Configuration

VariableRequiredSecretDescription
DIFY_API_BASEyes—Dify Knowledge API base URL, e.g. http://192.168.1.100/v1
DIFY_API_KEYyesyesDify Knowledge Base API key
DIFY_ALLOWED_DATASETSyes—Comma-separated dataset UUIDs to expose
DIFY_TIMEOUT——HTTP timeout in seconds (default: 30)
DIFY_VERIFY_SSL——Verify TLS certificates (default: false)

Freshness

Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-05 · 3mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-05 · 3mo ago · official registry · v0.1.0

FAQ

›How do I install the Dify MCP server in Claude Code?

Run: claude mcp add dify -e DIFY_API_BASE='<dify-api-base>' -e DIFY_API_KEY='<dify-api-key>' -e DIFY_ALLOWED_DATASETS='<dify-allowed-datasets>' -- uvx dify-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Dify require an API key?

Yes. It expects DIFY_API_BASE, DIFY_API_KEY, DIFY_ALLOWED_DATASETS, of which 1 is a secret.

›Can I use Dify as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Dify in the official MCP registry?

Yes, as io.github.salted-butter-joshua/dify-mcp.

Alternatives to Dify

Other notes & knowledge MCP servers.

View all