mcp-server-dify
@yuru-sha
关于 mcp-server-dify
Sample MCP Server for Dify AI
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-dify": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/dify",
"https://your-dify-api-endpoint",
"your-dify-api-key"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcp-server-dify?
mcp-server-dify is a Model Context Protocol server that enables LLMs to interact with Dify AI’s chat completion API. Written in TypeScript, it provides a standardized interface for chat, streaming responses, and conversation context.
How to use mcp-server-dify?
Install via Docker (make docker then docker run -i --rm mcp/dify <endpoint> <key>) or run directly with npx. Configure it in Claude Desktop by adding the endpoint and API key to your claude_desktop_config.json. Invoke its tools, such as the meshi-doko tool for restaurant recommendations, by supplying the required parameters (LOCATION, BUDGET, query, optional conversation_id).
Key features of mcp-server-dify
- Integration with Dify AI chat completion API
- Restaurant recommendation tool (meshi-doko)
- Support for maintaining conversation context
- Streaming response support
- TypeScript implementation with CI, linting, and formatting
- Docker and npx deployment options
Use cases of mcp-server-dify
- Querying Dify AI for restaurant recommendations based on location and budget
- Building conversational agents that maintain multi-turn context
- Enabling LLMs to access Dify AI’s specialized chat capabilities through a standardized protocol
- Rapid prototyping with Docker or direct CLI invocation
FAQ from mcp-server-dify
What are the prerequisites for using mcp-server-dify?
You need a Dify AI API endpoint URL and an API key. Either Docker (to run the container) or Node.js (to use npx) is required.
How do I install and run mcp-server-dify with Docker?
Build the image with make docker, then run: docker run -i --rm mcp/dify <your-dify-api-endpoint> <your-dify-api-key>.
What does the meshi-doko tool do?
It is a restaurant recommendation tool that interfaces with Dify AI. It accepts a location, budget, query, and optional conversation ID to maintain context across calls.
Does mcp-server-dify support streaming?
Yes, streaming response support is listed as a feature.
How should I secure my API credentials?
Keep your API key private, use HTTPS for the endpoint, and never commit the key to version control.
其他 分类下的更多 MCP 服务器
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论