Skip to main content
Glama

Dify MCP Server

by teddylee777

Servidor de Protocolo de Contexto de Modelo (MCP) para flujos de trabajo diferentes

Una implementación sencilla de un servidor MCP para usar dify . Permite invocar el flujo de trabajo de Dify mediante las herramientas de MCP.

🔨Instalación

El servidor se puede instalar mediante Smithery o manualmente. Se requiere el archivo Config.yaml para ambos métodos. Por lo tanto, debemos prepararlo antes de la instalación.

Preparar config.yaml

Antes de usar el servidor mcp, debe preparar un archivo config.yaml para guardar dify_base_url y dify_sks. La configuración de ejemplo es la siguiente:

dify_base_url: "https://cloud.dify.ai/v1" dify_app_sks: - "app-sk1" - "app-sk2"

Diferentes SK corresponden a diferentes flujos de trabajo diferentes.

Instalación mediante herrería

Smithery es una herramienta para instalar automáticamente el servidor Dify MCP. Para instalar automáticamente el servidor Dify MCP para Claude Desktop mediante Smithery :

npx -y @smithery/cli install dify-mcp-server --client claude

Instalación manual

También puede ejecutar el servidor dify mcp manualmente en sus clientes. La configuración del cliente debería tener el siguiente formato:

"mcpServers": { "mcp-server-rag-web-browser": { "command": "uv", "args": [ "--directory", "${DIFY_MCP_SERVER_PATH}", "run", "dify_mcp_server" ], "env": { "CONFIG_PATH": "$CONFIG_PATH" } } }

Ejemplo de configuración:

"mcpServers": { "mcp-server-rag-web-browser": { "command": "uv", "args": [ "--directory", "/Users/lyx/Downloads/dify-mcp-server", "run", "dify_mcp_server" ], "env": { "CONFIG_PATH": "/Users/lyx/Downloads/config.yaml" } } }

Disfrútala

Por último, puedes usar herramientas DIFY en cualquier cliente que admita MCP.

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Una implementación de servidor que permite la integración de los flujos de trabajo de Dify con el Protocolo de contexto de modelo (MCP), lo que permite a los usuarios acceder a las capacidades de Dify a través de clientes compatibles con MCP.

  1. 🔨Instalación
    1. Preparar config.yaml
    2. Instalación mediante herrería
    3. Instalación manual
    4. Disfrútala

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    Server for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.
    Last updated -
    251
    Python
  • -
    security
    F
    license
    -
    quality
    A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.
    Last updated -
    16
    TypeScript
  • -
    security
    F
    license
    -
    quality
    A 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 -
    163
    Python
  • -
    security
    F
    license
    -
    quality
    Exposes 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 -
    35
    Python

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/teddylee777/dify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server