Dify MCP Server

Dify MCP Server. This is a tool server for Dify Workflow.

Local serverstdio

What is the Dify MCP Server?

Dify mcp server connects Dify to AI assistants that speak the Model Context Protocol. Dify MCP Server. This is a tool server for Dify Workflow.

What Dify does

A tool server for easy integration with Dify Workflow using the Model Context Protocol (MCP).

Key capabilities

  • MCP protocol implementation enabling bidirectional communication with Claude
  • Utilizes Dify Workflow as a tool
  • Dynamically retrieves and displays Dify Workflow parameters
  • Simple configuration using environment variables
  • NEW — Support for multiple Dify API keys

Requirements

  • Node.js 16 or higher - npm 7 or higher - Access rights to Dify Workflow (API Key)

Practical notes

  • Maintained by TomokiIshimine.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Dify MCP Server

{
  "mcpServers": {
    "dify-workflow": {
      "command": "npx",
      "args": [
        "@tonlab/dify-mcp-server"
      ],
      "env": {
        "DIFY_BASE_URL": "https://your-dify-endpoint",
        "DIFY_API_KEY": "YOUR_DIFY_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 16 or higher - npm 7 or higher - Access rights to Dify Workflow (API Key)
VariableDescriptionRequired
DIFY_BASE_URLDeclared in the maintainer’s client configuration.Check documentation
DIFY_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Dify to Windows.”

Frequently asked questions

Dify MCP Server. This is a tool server for Dify Workflow. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.