convez.ai
MCP ServerAutomaçãoIntermediário
gotoolkits

MCP Dify Workflow Server

gotoolkits/mcp-difyworkflow-server

Integre e execute workflows Dify como ferramentas nativas do Claude

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que integra e executa workflows da plataforma Dify diretamente pelo Claude. Permite consultar workflows autorizados e executá-los sob demanda, facilitando a orquestração de fluxos de trabalho customizados sem sair do contexto do assistente.

Instalação

$npx convez-ai gotoolkits/mcp-difyworkflow-server

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
62
Forks
16
Acompanhando
1
Saúde
42%
Último commit
há 1 ano
Versão
v0.0.1
Issues abertas
1
Contribuidores
2

Casos de uso

  • Automação de fluxos de trabalho complexos via prompts naturais
  • Integração de pipelines Dify em conversas Claude
  • Execução sob demanda de múltiplos workflows customizados

Veredito

Ferramenta técnica bem construída em Go que fecha a lacuna entre Dify e Claude. Útil para quem já investe em workflows Dify e quer acessá-los via IA, mas exige conhecimento de APIs e configuração manual.

README

A tradução para o português deste README ainda está na fila.

mcp-difyworkflow-server

mcp-difyworkflow-server is an mcp server Tools application that implements the query and invocation of Dify workflows, supporting the on-demand operation of multiple custom Dify workflows.

INSTALL

git clone https://github.com/gotoolkis/mcp-difyworkflow-server.git

# build by go
cd mcp-difyworkflow-server
go build .

## or use make build
make build

Configuration

{
  "mcpServers": {
    "mcp-difyworkflow-server": {
      "command": "mcp-difyworkflow-server",
      "args": ["-base-url", "http://localhost/v1"],
      "env": {
        "DIFY_WORKFLOW_NAME": "workflow-translator“,workflow-genImag",
        "DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb"
      }
    }
  }
}
  • "base-url":"http://localhost/v1"

    The base URL of the Dify platform api server url.

  • "command":"mcp-difyworkflow-server"

    You can specify the absolute path for the compiled binary, or create a symbolic link with: "sudo ln -s <gitWorkPath>/mcp-difyworkflow-server /usr/local/bin/mcp-difyworkflow-server"

  • DIFY_WORKFLOW_NAME、DIFY_API_KEYS

    Need to correspond one by one in order. Workflow name can be self-defined by the user in the Prompt, and the Workflow API Key needs to be generated for the corresponding workflow created on the Dify platform (refer to the relevant Dify documentation for how to generate the API KEY).

Usage

  • list_workflows List authorized workflows
  • execute_workflow Execute a specified workflow,args: workflow_name, input Note: The input variable name of the dify workflow should be defined by default as: "message"

Samples

prompt: 查看 mcp-difyworkflow-server 可使用的工具列表 prompt: 给我执行 dify 名为 workflow-translator 的工作流,输入的消息为“这是一条测试消息”

prompt: View the list of tools available for mcp-difyworkflow-server. prompt: Execute the workflow named 'workflow-translator' for me, the input message is "This is a test message".

Ver o original no GitHub

Bom para

Relacionados