FAIZ-GEAR_DIFY-MCP-SERVER-TS
镜像://github.com/faiz-gear/dify-mcp-server-ts
0
Github Watches
1
Github Forks
0
Github Stars
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-ts -
Install dependencies:
npm install -
Create 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 build -
Start 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 API -
dify_app_sks: A list of Dify application secret keys
License
ISC
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Reviews
user_vKMQbyxi
I've been using Foundry MCP Server by MCP-Mirror for several months, and it has significantly improved my workflow efficiency. The installation process is straightforward, and the interface is user-friendly. Highly recommend to anyone looking for a reliable and robust server solution! Check it out here: https://mcp.so/server/qwert666_mcp-server-foundry/MCP-Mirror