Get the FREE Ultimate OpenClaw Setup Guide →

dify

Production-ready platform for agentic workflow development.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio langgenius-dify docker compose up -d

How to use

Dify is an open-source platform for building and deploying LLM-powered applications. This MCP server uses Docker Compose to launch the Dify self-hosted instance, which provides a visual workflow canvas, prompt IDE, RAG pipelines, agent capabilities, and MLOps features. Once started, you can access the Dify dashboard in your browser and begin configuring models, tools, and workflows. The server exposes a full suite of built-in tools (e.g., Google Search, DALL·E, Stable Diffusion, WolframAlpha) and supports multiple model providers and self-hosted deployments. Use the Docker Compose setup to start the services and follow the installation flow in the Dify docs to initialize the environment and connect your data sources.

How to install

Prerequisites:

  • Docker and Docker Compose installed on your machine.
  • Git (optional, for cloning the repository).

Install and run:

  1. Clone the repository (or navigate to the dify directory): git clone https://github.com/langgenius/dify.git cd dify/docker

  2. Prepare environment (optional): cp .env.example .env

    • Edit .env if you need to customize configuration (e.g., database settings, ports).
  3. Start the Dify services with Docker Compose: docker compose up -d

  4. Access the dashboard: Open http://localhost/install in your browser to initialize and configure the instance.

Additional notes

Notes:

  • Ensure Docker and Docker Compose are up to date for best compatibility.
  • The initial setup flow at http://localhost/install will guide you through initializing the Dify instance and connecting data sources.
  • If you modify environment variables, restart the containers for changes to take effect: docker compose restart.
  • Firewall or port mapping may affect access if you customize ports; verify your Docker Compose file and host network settings.
  • This MCP setup uses the same Docker-based deployment method as the official self-hosted guide, so consult the Dify docs for advanced configurations (models, RAG, agents, and integrations).

Related MCP Servers

Sponsor this space

Reach thousands of developers