mcpbeat Sign in

Dify MCP Server

by salted-butter-joshua Your server? Claim it
local only

Dify MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 108 installs a week from pypi. Last commit 5 Jul 2026.

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

Installs per day peak 23 · avg 14 · +4% w/w
a month agotoday
108
Installs / week
pypi · dify-mcp
0
Stars
0 open issues
5 Jul 2026
Last commit
from GitHub
MIT
License
Python

Nothing serious here today

Today is the operative word: we check Dify MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add dify-mcp -e 'DIFY_API_BASE=<DIFY_API_BASE>' -e 'DIFY_API_KEY=<DIFY_API_KEY>' -e 'DIFY_ALLOWED_DATASETS=<DIFY_ALLOWED_DATASETS>' -- uvx dify-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dify-mcp": {
      "command": "uvx",
      "args": [
        "dify-mcp"
      ],
      "env": {
        "DIFY_ALLOWED_DATASETS": "<DIFY_ALLOWED_DATASETS>",
        "DIFY_API_BASE": "<DIFY_API_BASE>",
        "DIFY_API_KEY": "<DIFY_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.dify-mcp]
command = "uvx"
args = ["dify-mcp"]
env = { DIFY_API_BASE = "<DIFY_API_BASE>", DIFY_API_KEY = "<DIFY_API_KEY>", DIFY_ALLOWED_DATASETS = "<DIFY_ALLOWED_DATASETS>" }
.cursor/mcp.json
{
  "mcpServers": {
    "dify-mcp": {
      "command": "uvx",
      "args": [
        "dify-mcp"
      ],
      "env": {
        "DIFY_ALLOWED_DATASETS": "<DIFY_ALLOWED_DATASETS>",
        "DIFY_API_BASE": "<DIFY_API_BASE>",
        "DIFY_API_KEY": "<DIFY_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "dify-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dify-mcp"
      ],
      "env": {
        "DIFY_ALLOWED_DATASETS": "<DIFY_ALLOWED_DATASETS>",
        "DIFY_API_BASE": "<DIFY_API_BASE>",
        "DIFY_API_KEY": "<DIFY_API_KEY>"
      }
    }
  }
}

Put your own values in place of <DIFY_API_BASE> (Dify Knowledge API base URL, e.g. http://192.168.1.100/v1), <DIFY_API_KEY> (Dify Knowledge Base API key), <DIFY_ALLOWED_DATASETS> (Comma-separated dataset UUIDs to expose). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: DIFY_TIMEOUT (HTTP timeout in seconds (default: 30)), DIFY_VERIFY_SSL (Verify TLS certificates (default: false)).

Alternatives to Dify MCP

same job, measured the same way
Yuque MCP
by yuque

MCP server for Yuque — expose your knowledge base to AI assistants.

492 installs/wk local only
Cloudkb
by cloudcorprecords

Bedrock knowledge bases, data sources and retrieval as MCP tools.

local only
Tencent Lexiang MCP Server
by tencent-lexiang

Tencent Lexiang AI knowledge base MCP server for searching, managing entries, and editing docs.

answering
Krobot
by kromatic-innovation

Kromatic's public MCP server for read-only access to the Kromatic knowledge base.

answering
Guru Remote MCP Server
by getguru

Guru MCP Server - Connect AI tools to your Guru knowledge base

answering
Agentpedia MCP Server
by ksaslam311

Search, discover, and contribute to AgentPedia - the knowledge base for AI agents.

51 installs/wk local only
Outline MCP
by ynishi

Tree-structured knowledge base as an MCP server

local only
Freshdesk
by wyre-ai

MCP server for Freshdesk — tickets, contacts, companies, agents, groups, and knowledge base.

local only

Dify MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Dify MCP?
Dify MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package dify-mcp was installed 108 times last week.
How do I connect Dify MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls dify-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Dify MCP?
The pypi package dify-mcp was installed 108 times in the last week. Week over week that is +4%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Dify MCP open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.