{"id":26648622,"url":"https://github.com/YanxingLiu/dify-mcp-server","last_synced_at":"2025-03-25T00:02:17.270Z","repository":{"id":269718330,"uuid":"908244326","full_name":"YanxingLiu/dify-mcp-server","owner":"YanxingLiu","description":"Model Context Protocol (MCP) Server for dify workflows","archived":false,"fork":false,"pushed_at":"2025-03-13T07:19:52.000Z","size":31,"stargazers_count":79,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T08:26:28.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YanxingLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-25T15:00:49.000Z","updated_at":"2025-03-13T07:19:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a8906eb-8530-4358-b269-437f6888d4d1","html_url":"https://github.com/YanxingLiu/dify-mcp-server","commit_stats":null,"previous_names":["yanxingliu/dify-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanxingLiu%2Fdify-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanxingLiu%2Fdify-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanxingLiu%2Fdify-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanxingLiu%2Fdify-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YanxingLiu","download_url":"https://codeload.github.com/YanxingLiu/dify-mcp-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372380,"owners_count":20604491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-25T00:02:12.757Z","updated_at":"2025-03-25T00:02:17.250Z","avatar_url":"https://github.com/YanxingLiu.png","language":"Python","funding_links":[],"categories":["Data \u0026 Analytics","📚 Projects (1974 total)","Community Servers","🤖 AI/ML","Workflow Automation","Cloud Services","Mcp Server Directories \u0026 Lists","Table of Contents","MCP Servers","🗂️ Extensions by Category"],"sub_categories":["AI/ML Platforms","MCP Servers","Workflow Automation","Cloud \u0026 DevOps","🤖 AI Systems"],"readme":"# Model Context Protocol (MCP) Server for dify workflows\nA simple implementation of an MCP server for using [dify](https://github.com/langgenius/dify). It achieves the invocation of the Dify workflow by calling the tools of MCP.\n## 🔨Installation\nThe server can be installed via [Smithery](https://smithery.ai/server/dify-mcp-server) or manually. Config.yaml is required for both methods. Thus, we need to prepare it before installation.\n\n### Prepare config.yaml\nBefore using the mcp server, you should prepare a config.yaml to save your dify_base_url and dify_sks. The example config like this:\n```yaml\ndify_base_url: \"https://cloud.dify.ai/v1\"\ndify_app_sks:\n  - \"app-sk1\"\n  - \"app-sk2\"\n```\nDifferent SKs correspond to different dify workflows.\n### Installing via Smithery\n[smithery](https://smithery.ai) is a tool to install the dify mcp server automatically.\nTo install Dify MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/dify-mcp-server):\n\n```bash\nnpx -y @smithery/cli install dify-mcp-server --client claude\n```\n\n### Manual Installation\nYou can also run the dify mcp server manually in your clients. The config of client should like the following format:\n```json\n\"mcpServers\": {\n  \"mcp-server-rag-web-browser\": {\n    \"command\": \"uv\",\n      \"args\": [\n        \"--directory\", \"${DIFY_MCP_SERVER_PATH}\",\n        \"run\", \"dify_mcp_server\"\n      ],\n    \"env\": {\n       \"CONFIG_PATH\": \"$CONFIG_PATH\"\n    }\n  }\n}\n```\nExample config:\n```json\n\"mcpServers\": {\n  \"dify-mcp-server\": {\n    \"command\": \"uv\",\n      \"args\": [\n        \"--directory\", \"/Users/lyx/Downloads/dify-mcp-server\",\n        \"run\", \"dify_mcp_server\"\n      ],\n    \"env\": {\n       \"CONFIG_PATH\": \"/Users/lyx/Downloads/config.yaml\"\n    }\n  }\n}\n```\nor using uvx:\n```json\n\"mcpServers\": {\n  \"dify-mcp-server\": {\n    \"command\": \"uvx\",\n      \"args\": [\n        \"--from\",\"git+https://github.com/YanxingLiu/dify-mcp-server\",\"dify_mcp_server\"\n      ],\n    \"env\": {\n       \"CONFIG_PATH\": \"/Users/lyx/Downloads/config.yaml\"\n    }\n  }\n}\n```\n### Enjoy it\nAt last, you can use dify tools in any client who supports mcp.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYanxingLiu%2Fdify-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYanxingLiu%2Fdify-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYanxingLiu%2Fdify-mcp-server/lists"}