Dify MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Dify MCP 서버(TypeScript)

Dify 워크플로를 도구로 공개하는 MCP(Model Context Protocol) 서버의 TypeScript 구현입니다.

특징

  • Dify 애플리케이션을 MCP 도구로 변환합니다.
  • Dify 워크플로에서 스트리밍 응답을 지원합니다.
  • YAML 구성 파일을 통해 구성 가능
  • 유형 안전을 위해 TypeScript로 작성됨

필수 조건

  • Node.js 18 이상
  • npm 8 이상
  • Dify API 및 애플리케이션 비밀 키에 대한 액세스

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 Dify MCP 서버를 자동으로 설치하려면:

지엑스피1

  1. 저장소를 복제합니다.
    git clone <repository-url> cd dify-mcp-server-ts
  2. 종속성 설치:
    npm install
  3. 구성 파일을 만듭니다.
    # 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

용법

  1. 프로젝트를 빌드하세요:
    npm run build
  2. 서버를 시작합니다:
    npm start

개발을 위해:

npm run dev

구성

서버는 YAML 파일을 사용하여 구성할 수 있습니다. 기본적으로 프로젝트 루트에서 config.yaml 찾습니다. CONFIG_PATH 환경 변수를 사용하여 다른 경로를 지정할 수 있습니다.

구성 옵션

  • dify_base_url : Dify API의 기본 URL
  • dify_app_sks : Dify 애플리케이션 비밀 키 목록

특허

아이에스씨

-
security - not tested
F
license - not found
-
quality - not tested

Dify 애플리케이션을 모델 컨텍스트 프로토콜 도구로 변환하여 스트리밍 응답을 지원하고 YAML을 통해 구성할 수 있습니다.

  1. Features
    1. Prerequisites
      1. Installation
        1. Installing via Smithery
      2. Usage
        1. Configuration
          1. Configuration Options
        2. License
          ID: 2plkeyc272