Dify MCP Server
Click on "Install 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., "@Dify MCP Serverconvert my Dify workflow for customer support into an MCP tool"
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.
Dify MCP Server (TypeScript)
A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools.
Features
Converts Dify applications into MCP tools
Supports streaming responses from Dify workflows
Configurable via YAML configuration file
Written in TypeScript for type safety
Related MCP server: Dify Workflow MCP Tool Server
Prerequisites
Node.js 18 or higher
npm 8 or higher
Access to Dify API and application secret keys
Installation
Installing via Smithery
To install Dify MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @faiz-gear/dify-mcp-server-ts --client claudeClone the repository:
git clone <repository-url> cd dify-mcp-server-tsInstall dependencies:
npm installCreate a configuration file:
# config.yaml dify_base_url: 'https://api.dify.ai/v1' dify_app_sks: - 'your-dify-app-sk-1' # Replace with your actual Dify app secret key - 'your-dify-app-sk-2' # Replace with your actual Dify app secret key
Usage
Build the project:
npm run buildStart the server:
npm start
For development:
npm run devConfiguration
The server can be configured using a YAML file. By default, it looks for config.yaml in the project root. You can specify a different path using the CONFIG_PATH environment variable.
Configuration Options
dify_base_url: The base URL for the Dify APIdify_app_sks: A list of Dify application secret keys
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceExposes Dify applications (both Chatflow and Workflow) as MCP (Model Context Protocol) servers, allowing Claude and other MCP clients to directly interact with Dify apps through a standardized protocol.Last updated35
- Alicense-qualityDmaintenanceEnables 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.Last updated428ISC
- Flicense-qualityCmaintenanceConverts Dify tools' API to MCP (Model Control Protocol) compatible API, allowing tools created in Dify to be accessed from MCP clients like Cherry Studio.Last updated27
- Alicense-qualityDmaintenanceExposes Dokploy functionalities as tools consumable via the Model Context Protocol, allowing AI models and other applications to programmatically manage projects and applications on a Dokploy server.Last updated22718MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/faiz-gear/dify-mcp-server-ts'
If you have feedback or need assistance with the MCP directory API, please join our Discord server