Skip to main content
Glama
LucasAllmaBI

Dify Management MCP

by LucasAllmaBI

Dify 管理 MCP

此 MCP 服务器允许您以编程方式管理您的 Dify 实例。它提供了用于列出和创建知识库(数据集)、列出应用程序以及管理工具的工具。

功能

  • 知识库管理: 列出数据集、创建新数据集以及列出文档。

  • 应用管理: 列出工作区中的应用程序并获取详细信息。

  • 工具管理: 列出工具提供程序。

配置

  1. 克隆此存储库。

  2. 安装依赖项:npm install

  3. 根据 .env.example 创建一个 .env 文件。

  4. 配置变量:

    • DIFY_BASE_URL:您的实例 URL(例如:云端使用 https://api.dify.ai)。

    • DIFY_CONSOLE_API_KEY:您的控制台 API 密钥(请参阅下文了解如何获取)。

如何获取 DIFY_CONSOLE_API_KEY

管理操作(如创建数据集)需要控制台密钥。 目前,在 Dify Cloud 中,您可以在 设置 > 工作区 > 服务 API 中找到您的密钥,或者使用浏览器会话令牌(不推荐)。 对于自托管实例,请使用为管理员生成的令牌。

本地运行

npm run build
npm start

在 Dokploy 上部署

此项目包含一个 Dockerfile。要在 Dokploy 上运行:

  1. 将您的 GitHub 存储库连接到 Dokploy。

  2. 在 Dokploy 面板中配置环境变量(DIFY_BASE_URLDIFY_CONSOLE_API_KEY)。

  3. Dokploy 将检测到 Dockerfile 并自动进行构建。


专为自动化 Dify 管理而开发。

F
license - not found
Not graded
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Create, test, publish, and manage Dreamlit notification workflows from AI clients.

  • Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.

  • Universal AI API Orchestrator — 1,554 tools, 96 services. One install.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LucasAllmaBI/Dify-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server