MCP Server for Dify AI
mcp 服务器-dify
Dify AI 的模型上下文协议服务器。该服务器使 LLM 能够通过标准化协议与 Dify AI 的聊天完成功能进行交互。
特征
与 Dify AI 聊天完成 API 集成
餐厅推荐工具(meshi-doko)
支持对话上下文
流式响应支持
TypeScript 实现
Related MCP server: Dify MCP Server
安装
使用 Docker
# Build the Docker image
make docker
# Run with Docker
docker run -i --rm mcp/dify https://your-dify-api-endpoint your-dify-api-key用法
使用 Claude Desktop
将以下配置添加到您的claude_desktop_config.json :
{
"mcpServers": {
"dify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dify",
"https://your-dify-api-endpoint",
"your-dify-api-key"
]
}
}
}用您的实际 Dify API 凭证替换your-dify-api-endpoint和your-dify-api-key 。
工具
饭铺
与 Dify AI 接口的餐厅推荐工具:
参数:
LOCATION(字符串):餐厅位置BUDGET(字符串):预算限制query(字符串):发送给 Dify AI 的查询conversation_id(字符串,可选):用于维护聊天上下文
发展
# Initial setup
make setup
# Build the project
make build
# Format code
make format
# Run linter
make lint执照
该项目根据MIT 许可证发布。
安全
此服务器使用您提供的 API 密钥与 Dify AI 交互。请确保:
确保您的 API 凭证安全
使用 HTTPS 作为 API 端点
切勿将 API 密钥提交到版本控制
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time web search, reasoning, and research through Perplexity's API
Scraps Kitchen gives any AI agent a persistent, household-aware kitchen memory. Unlike generic chatbot recall, Scraps maintains structured cooking data: what's in your fridge (with freshness tracking), who you cook for (with allergens, dietary restrictions, and preferences), your recipe collection (with cook notes and per-diner ratings), your shopping list, and your kitchen equipment. 27 tools across 6 domains let agents read kitchen context, suggest meals that respect dietary safety, update the pantry after cooking, and build a history of what works for your household. Every interaction makes the data richer. Cooking history, preference signals, kitchen awareness = better suggestions next time. All tools work via oAuth and a free scraps.kitchen account.
Messaging tools for AI agents: send messages, manage chats, groups and channels.
660+ data tools for agents: TikTok, Douyin, Instagram, YouTube, X, weather, GitHub. Pay per call.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceServer for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.279-
- AlicenseNot gradedqualityDmaintenanceEnables the conversion of Dify applications into Model Context Protocol tools, supporting streaming responses and configured via YAML.5ISC
- FlicenseNot gradedqualityCmaintenanceA Dify endpoint plugin that transforms a Dify application into a Model Control Protocol server, allowing tools like Cursor to connect to and utilize your custom Dify workflows.67-
- AlicenseNot gradedqualityDmaintenanceEnables seamless integration between Claude AI and Dify Workflow through the Model Context Protocol, allowing Claude to dynamically access and execute Dify Workflow operations via natural language.53 npm8ISC