Dify MCP Server

Enables Large Language Models to interact with Dify AI's chat completion capabilities through a standardized protocol.

Local serverstdioTypeScript★ 11

What is the Dify MCP Server?

Enables Large Language Models to interact with Dify AI's chat completion capabilities through a standardized protocol.

What it actually does

  • Integration with Dify AI chat completion API
  • Restaurant recommendation tool (meshi-doko)
  • Support for conversation context
  • Streaming response support
  • TypeScript implementation

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-4": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp/dify"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Dify to Tools.”

Frequently asked questions

Dify offers integration with the Dify AI chat completion API, supports conversation context for more natural interactions, provides streaming response support for improved user experience, and even includes a restaurant recommendation tool (meshi-doko).