MCP.so
Sign In

Dify MCP Server (TypeScript)

@faiz-gear

Basic information

Category

Other

Transports

stdio

Author

faiz-gear

About Dify MCP Server

No overview available yet

Dify MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "dify-mcp-server-ts": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@faiz-gear/dify-mcp-server-ts",
        "--client",
        "claude"
      ]
    }
  }
}

Dify MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Dify MCP Server (TypeScript)?

A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools, enabling AI assistants to trigger Dify applications via MCP.

How to use Dify MCP Server (TypeScript)?

Install via Smithery (npx -y @smithery/cli install @faiz-gear/dify-mcp-server-ts --client claude) or clone the repository, install dependencies, create a config.yaml with Dify base URL and application secret keys, then build and start the server. Use npm run dev for development.

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)

  • Trigger Dify workflows from AI assistants using MCP
  • Integrate Dify applications into MCP-compatible clients
  • Automate tasks by chaining Dify tools in agent workflows
  • Build custom AI agents that leverage Dify's workflow engine

Frequently asked questions

1

What are the prerequisites to run this server?

Node.js 18 or higher, npm 8 or higher, and access to the Dify API with valid application secret keys.

2

How do I configure the server?

Create a `config.yaml` file with `dify_base_url` and `dify_app_sks` (a list of Dify app secret keys). The config file path defaults to the project root; you can override it with the `CONFIG_PATH` environment variable.

3

Does the server support streaming responses?

Yes, it supports streaming responses from Dify workflows.

4

Can I install the server automatically?

Yes, via Smithery using the command `npx -y @smithery/cli install @faiz-gear/dify-mcp-server-ts --client claude`.

Comments

More Other MCP servers