Dify as MCP ServerServer

Yevanchen
GitHub
MCPAI IntegrationDify

Loading subscription status...

💡 Description

Expose Dify workflows as a Model Context Protocol (MCP) server for AI clients like Claude. This project allows integration of Dify's workflows into AI assistants without modification.

📝 JSON Entries

{
  "mcpServers": [
    {
      "difyapp_as_mcp_server": {
        "env": {
          "APP_ID": "your_dify_application_id",
          "API_KEY": "your_dify_api_key"
        },
        "args": [],
        "command": "start"
      }
    }
  ]
}

🛠️ Tools

Dify WorkflowsDify Plugins

Features

  • Supports MCP standard JSON-RPC interface
  • Automatic tool discovery and registration
  • Compatible with Claude Desktop and Cursor
  • Secure SSE connection implementation
  • Server-side session management
  • Compliant with latest MCP Streamable HTTP specification

💬 Example Queries

  • Use Dify workflow to retrieve user details
  • Execute Dify application workflow for specific tasks