Dify MCP Server

Exposes Dify workflows as tools by implementing a Model Context Protocol (MCP) server.

Local serverstdioTypeScript★ 5

What is the Dify MCP Server?

Exposes Dify workflows as tools by implementing a Model Context Protocol (MCP) server.

What you get

  • Converts Dify applications into MCP tools
  • Supports streaming responses from Dify workflows
  • Configurable via YAML configuration file
  • Written in TypeScript for type safety

Configuration and credentials

  • Node.js 18 or higher - npm 8 or higher - Access to Dify API and application secret keys

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.

Configuration

  • Node.js 18 or higher - npm 8 or higher - Access to Dify API and application secret keys
VariableDescriptionRequired
CONFIG_PATHFilesystem location the server is allowed to use.Optional

Frequently asked questions

Yes, Dify MCP Server provides a `npm run dev` command for easy local development with hot-reloading.