Dify Workflow Integration
STDIOA tool server for easy integration with Dify Workflow using MCP protocol.
A tool server for easy integration with Dify Workflow using MCP protocol.
A tool server for easy integration with Dify Workflow using the Model Context Protocol (MCP).
To use with Claude Desktop App, add the following settings to Claude's configuration file:
Add to %AppData%\Claude\claude_desktop_config.json
:
{ "mcpServers": { "dify-workflow": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://your-dify-endpoint", "DIFY_API_KEY": "your-api-key-here" } } } }
You can now configure multiple Dify API keys, which will create multiple tools (one per API key):
{ "mcpServers": { "dify": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://api.dify.ai/v1", "DIFY_API_KEYS": "app-FirstAPIKeyHere,app-SecondAPIKeyHere,app-ThirdAPIKeyHere" } } } }
Each API key will be exposed as a separate tool in Claude, with a distinct number appended to the tool name.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
:
{ "mcpServers": { "dify-workflow": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://your-dify-endpoint", "DIFY_API_KEY": "your-api-key-here" } } } }
Same multiple API key configuration as described above works on macOS/Linux as well.
MIT