MCP.so
Sign In

Dify MCP Server (TypeScript)

@faiz-gear

About Dify MCP Server (TypeScript)

No overview available yet

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"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

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

FAQ from Dify MCP Server (TypeScript)

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.

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.

Does the server support streaming responses?

Yes, it supports streaming responses from Dify workflows.

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.

Frequently asked questions

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.

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.

Does the server support streaming responses?

Yes, it supports streaming responses from Dify workflows.

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