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
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 claude
Clone 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 dev
Configuration
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
Dify MCP Server
Project Details
- faiz-gear/dify-mcp-server-ts
- Last Updated: 4/20/2025
Recomended MCP Servers
A Node.js server implementing Model Context Protocol (MCP) for media processing operations, providing powerful video and image manipulation...
Home Assistant MCP Server
react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts
Model Context Protocol (MCP) for interacting with dicom servers (PACS etc.)
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
Todoist MCP Server Extended - Enabling natural language management of todoist via Claude, MCP and todoist REST APIv2....
A Model Context Protocol (MCP) server that provides enhanced file operation capabilities with streaming, patching, and change tracking...
The registry mcp server updates your resume while you code
Lightweight MCP server to give your Cursor Agent access to the Neon API
Lightweight MCP server to give your Cursor Agent access to the Cloudflare API.





