MCP Server for Dify AI
Provides CI/CD workflow status information through GitHub Actions, displayed as a badge in the README.
Available as a package on npm, allowing installation via the npm package manager.
Implemented using TypeScript, providing type safety for the server implementation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server for Dify AIrecommend a restaurant in Tokyo for under $50 per person"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-dify
Model Context Protocol Server for Dify AI. This server enables LLMs to interact with Dify AI's chat completion capabilities through a standardized protocol.
Features
Integration with Dify AI chat completion API
Restaurant recommendation tool (meshi-doko)
Support for conversation context
Streaming response support
TypeScript implementation
Related MCP server: Dify MCP Server
Installation
Using Docker
# Build the Docker image
make docker
# Run with Docker
docker run -i --rm mcp/dify https://your-dify-api-endpoint your-dify-api-keyUsage
With Claude Desktop
Add the following configuration to your claude_desktop_config.json:
{
"mcpServers": {
"dify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dify",
"https://your-dify-api-endpoint",
"your-dify-api-key"
]
}
}
}Replace your-dify-api-endpoint and your-dify-api-key with your actual Dify API credentials.
Tools
meshi-doko
Restaurant recommendation tool that interfaces with Dify AI:
Parameters:
LOCATION(string): Location of the restaurantBUDGET(string): Budget constraintsquery(string): Query to send to Dify AIconversation_id(string, optional): For maintaining chat context
Development
# Initial setup
make setup
# Build the project
make build
# Format code
make format
# Run linter
make lintLicense
This project is released under the MIT License.
Security
This server interacts with Dify AI using your provided API key. Ensure to:
Keep your API credentials secure
Use HTTPS for the API endpoint
Never commit API keys to version control
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time web search, reasoning, and research through Perplexity's API
Memory for deep conversational context across any platform
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.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceServer for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.280-
- FlicenseNot gradedqualityDmaintenanceEnables the conversion of Dify applications into Model Context Protocol tools, supporting streaming responses and configured via YAML.5-
- FlicenseNot gradedqualityDmaintenanceA 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.66-
- 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.6 npm8ISC