dify 워크플로를 위한 MCP(모델 컨텍스트 프로토콜) 서버
dify를 사용하기 위한 MCP 서버의 간단한 구현입니다. MCP 도구를 호출하여 Dify 워크플로를 실행합니다.
📰 뉴스
- [2025/4/15] zNow는 환경 변수를 사용하여
base_url
및app_sks
직접 전달하도록 지원하므로 클라우드 호스팅 플랫폼에서 사용하기가 더 편리합니다.
🔨설치
서버는 Smithery를 사용하거나 수동으로 설치할 수 있습니다.
1단계: config.yaml 또는 환경 준비
환경 변수나 config.yaml
파일을 사용하여 서버를 구성할 수 있습니다.
방법 1: 환경 변수 사용(클라우드 플랫폼에 권장)
다음 환경 변수를 설정하세요.
지엑스피1
DIFY_BASE_URL
: Dify API의 기본 URL입니다.DIFY_APP_SKS
: Dify 앱 비밀 키(SK)를 쉼표로 구분하여 나열한 목록입니다. 각 SK는 일반적으로 MCP를 통해 제공하려는 다른 Dify 워크플로에 해당합니다.
방법 2: config.yaml
사용
Dify 기본 URL과 앱 SK를 저장하려면 config.yaml
파일을 만듭니다.
config.yaml
예시:
dify_base_url
: Dify API의 기본 URL입니다.dify_app_sks
: Dify 앱 비밀 키(SK) 목록입니다. 각 SK는 일반적으로 서로 다른 Dify 워크플로에 해당합니다.
다음 명령을 사용하여 이 파일을 빠르게 만들 수 있습니다(필요에 따라 경로와 값을 조정하세요):
서버를 실행할 때(2단계 참조), 이 방법을 선택하는 경우 CONFIG_PATH
환경 변수를 통해 이 config.yaml
파일의 경로를 제공해야 합니다.
2단계: 클라이언트에 설치
❓ 아직 uv 또는 uvx를 설치하지 않았다면 다음 명령어를 사용하여 빠르게 설치할 수 있습니다.
✅ 방법 1: uvx 사용(코드 복제 필요 없음, 권장)
또는
✅ 방법 2: uv 사용(로컬 복제 + uv 시작)
클라이언트에서 dify mcp 서버를 수동으로 실행할 수도 있습니다. 클라이언트 설정은 다음 형식을 따라야 합니다.
또는
구성 예:
즐기세요
마침내 mcp를 지원하는 모든 클라이언트에서 dify 도구를 사용할 수 있습니다.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Dify를 사용하기 위한 서버입니다. MCP 도구를 호출하여 Dify 워크플로를 실행합니다.
Related MCP Servers
- -securityFlicense-qualityA TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.Last updated -16TypeScript
- -securityFlicense-qualityA plugin that allows Dify to connect to multiple MCP (Model Control Protocol) servers using HTTP with Server-Sent Events transport, supporting custom configurations for URLs, headers, and timeouts.Last updated -124Python
- -securityFlicense-qualityExposes Dify applications (both Chatflow and Workflow) as MCP (Model Context Protocol) servers, allowing Claude and other MCP clients to directly interact with Dify apps through a standardized protocol.Last updated -18Python
- -securityFlicense-qualityA Dify endpoint plugin that transforms a Dify application into a Model Control Protocol server, allowing tools like Cursor to connect to and utilize your custom Dify workflows.Last updated -38Python