
Dify Workflow Tool Server
Integrate seamlessly with Dify Workflow to enhance your applications. Retrieve and manage workflow parameters dynamically while leveraging multiple API keys for flexible tool creation. Simplify your setup with easy configuration through environment variables.
Installation
Installing for Claude Desktop
Option 1: One-Command Installation
npx mcpbar@latest install TomokiIshimine/dify-mcp-server -c claude
This command will automatically install and configure the Dify Workflow Tool Server MCP server for your selected client.
Option 2: Manual Configuration
Run the command below to open your configuration file:
npx mcpbar@latest edit -c claude
After opening your configuration file, copy and paste this configuration:
View JSON configuration
{
"mcpServers": {
"Dify Workflow Tool Server": {
"command": "npx",
"args": [
"@tonlab/dify-mcp-server"
],
"env": {
"DIFY_BASE_URL": "https://your-dify-endpoint",
"DIFY_API_KEY": "your-api-key-here"
}
}
}
}
Dify Workflow MCP Tool Server
A tool server for easy integration with Dify Workflow using the Model Context Protocol (MCP).
Features
- MCP protocol implementation enabling bidirectional communication with Claude
- Utilizes Dify Workflow as a tool
- Dynamically retrieves and displays Dify Workflow parameters
- Simple configuration using environment variables
- NEW: Support for multiple Dify API keys
Prerequisites
- Node.js 16 or higher
- npm 7 or higher
- Access rights to Dify Workflow (API Key)
Integration with Claude Desktop App
To use with Claude Desktop App, add the following settings to Claude's configuration file:
Windows
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"
}
}
}
}
Using Multiple API Keys (NEW)
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.
macOS/Linux
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.
License
MIT
Stars
5Forks
0Last commit
3 months agoRepository age
3 months
Auto-fetched from GitHub .
MCP servers similar to Dify Workflow Tool Server:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit