/ 디렉터리 / 플레이그라운드 / Dify
● 공식 langgenius ⚡ 바로 사용

Dify

제작: langgenius · langgenius/dify

Build agentic workflows in a UI, then expose each one as an MCP tool — Claude calls your Dify-authored apps.

Dify is a popular open-source platform for building LLM apps and agent workflows. Its MCP layer lets Claude treat each Dify app as a callable tool, so workflows authored in Dify show up alongside your other MCP tools.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

준비됨

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "dify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dify/mcp-server"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "dify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dify/mcp-server"
      ]
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "dify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dify/mcp-server"
      ]
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "dify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dify/mcp-server"
      ]
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "dify-mcp",
      "command": "npx",
      "args": [
        "-y",
        "@dify/mcp-server"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "dify-mcp": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@dify/mcp-server"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add dify-mcp -- npx -y @dify/mcp-server

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: Dify

Expose a Dify workflow to Claude as a single tool

👤 Developers ⏱ ~15 min intermediate

언제 쓸까: You built a multi-step workflow in Dify and want Claude to invoke it as one call.

흐름
  1. Author
    Build the workflow in Dify.✓ 복사됨
    → Workflow publishes
  2. Expose
    Enable the MCP endpoint for the app.✓ 복사됨
    → Tool listed
  3. Call
    Claude calls it like any other MCP tool.✓ 복사됨
    → Result returns

결과: Complex Dify workflow callable from Claude in one shot.

조합

다른 MCP와 조합해 10배 효율

Use Forge as the gateway in front of multiple Dify instances

Combine dify-mcp with mcp-context-forge: Use Forge as the gateway in front of multiple Dify instances✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
workflow.run (see docs) Run a named Dify workflow 1 call
dataset.query (see docs) Query a Dify-managed dataset 1 call

비용 및 제한

운영 비용

API 쿼터
Plan-dependent on cloud; unlimited self-host
호출당 토큰
Per workflow
금액
Free OSS self-host; SaaS plans
팁
Self-host for high-volume internal tools

보안

권한, 시크릿, 파급범위

최소 스코프: dify:app:run
자격 증명 저장: OAuth tokens / API keys in env
데이터 외부 송신: Dify-configured providers
절대 부여 금지: Expose internal workflows to anonymous callers

문제 해결

자주 발생하는 오류와 해결

Workflow runs hit rate limit

Tune the per-app concurrency in Dify settings

대안

Dify 다른 것과 비교

대안언제 쓰나단점/장점
AnythingLLMYou want a chat-first surfaceLess workflow authoring

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기