Dify MCP Server (TypeScript) logo

Dify MCP Server (TypeScript)

by MCP-Mirror

A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools. It allows you to convert Dify applications into MCP tools.

View on GitHub

Last updated: N/A

What is Dify MCP Server (TypeScript)?

This server is a TypeScript implementation of a Model Context Protocol (MCP) server. It bridges the gap between Dify applications and MCP, allowing Dify workflows to be used as tools within an MCP environment.

How to use Dify MCP Server (TypeScript)?

To use this server, you need Node.js and npm installed. Clone the repository, install dependencies using npm install, configure the server by creating a config.yaml file with your Dify API base URL and application secret keys, build the project with npm run build, and start the server using npm start.

Key features of Dify MCP Server (TypeScript)

  • Converts Dify applications into MCP tools

  • Supports streaming responses from Dify workflows

  • Configurable via YAML configuration file

  • Written in TypeScript for type safety

Use cases of Dify MCP Server (TypeScript)

  • Integrating Dify workflows into MCP-compatible applications

  • Exposing Dify models as tools within a larger system

  • Automating tasks using Dify workflows through an MCP interface

  • Building custom tools using Dify's capabilities and integrating them with other services

FAQ from Dify MCP Server (TypeScript)

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for interacting with models and tools in a standardized way.

What is Dify?

Dify is a platform for building and deploying AI applications.

How do I get Dify API keys?

You can obtain Dify API keys from your Dify account settings.

Can I use this server with other MCP clients besides Claude?

While the installation instructions mention Claude, the server should be compatible with any MCP client.

What is the license for this server?

The server is licensed under the ISC license.