wf as mcp with multi-tool #22215

Open
opened 2026-02-21 20:16:11 -05:00 by yindo · 3 comments
Owner

Originally created by @matteo-rama on GitHub (Feb 12, 2026).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

hard to formalize this request, so consider this as a brainstorming.

it will be nice if a workflow can be converted in a mcpserver with multi tool assigned.
at the moment 1 workflow = 1 tool
it will be nice to be able to describe in a single WF multiple tool (not sure how to be honest, multiple input? having a special block called 'mcp input' that can be replicated?)

the point is to avoid prolification of tool for "similar" task.

scenario:
i create a workflow that run a few different select, and explain
so the tool i want to add are
-> give me the partition list of table
-> explain me the query
-> give me the biggest table

now, this 3 tools can belong to the same mcp server, if yo uimagine them as a 'perimeter' that in this case is oracle db.
if i have to do 3 workflow, i will end duplicate a lot of work, a lot of config for db conn and generally speaking have multiple place to mantain (change db password in 3 places if needed and so on)

Now, of course db is just an example, but i think there are a few scenario where multiple tool from 1wf could be beneficial in terms of effort for deploy a WF

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @matteo-rama on GitHub (Feb 12, 2026). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. hard to formalize this request, so consider this as a brainstorming. it will be nice if a workflow can be converted in a mcpserver with multi tool assigned. at the moment 1 workflow = 1 tool it will be nice to be able to describe in a single WF multiple tool (not sure how to be honest, multiple input? having a special block called 'mcp input' that can be replicated?) the point is to avoid prolification of tool for "similar" task. scenario: i create a workflow that run a few different select, and explain so the tool i want to add are -> give me the partition list of table <abc> -> explain me the query <abc> -> give me the biggest table now, this 3 tools can belong to the same mcp server, if yo uimagine them as a 'perimeter' that in this case is oracle db. if i have to do 3 workflow, i will end duplicate a lot of work, a lot of config for db conn and generally speaking have multiple place to mantain (change db password in 3 places if needed and so on) Now, of course db is just an example, but i think there are a few scenario where multiple tool from 1wf could be beneficial in terms of effort for deploy a WF ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 20:16:11 -05:00
Author
Owner

@matteo-rama commented on GitHub (Feb 13, 2026):

hi @crazywoola,

i noticed you flag another issue as duplicate of this one, it seems strange as they don't seems related at all.
on the issue you linked it seems there are issue on agent using tools.

here i am asking the option to publish an mcp server (using a workflow) and deploy multiple function on that mcp server.

@matteo-rama commented on GitHub (Feb 13, 2026): hi @crazywoola, i noticed you flag another issue as duplicate of this one, it seems strange as they don't seems related at all. on the issue you linked it seems there are issue on agent using tools. here i am asking the option to publish an mcp server (using a workflow) and deploy multiple function on that mcp server.
Author
Owner

@crazywoola commented on GitHub (Feb 13, 2026):

hi @crazywoola,

i noticed you flag another issue as duplicate of this one, it seems strange as they don't seems related at all. on the issue you linked it seems there are issue on agent using tools.

here i am asking the option to publish an mcp server (using a workflow) and deploy multiple function on that mcp server.

Sorry, it did link to a wrong issue.

@crazywoola commented on GitHub (Feb 13, 2026): > hi [@crazywoola](https://github.com/crazywoola), > > i noticed you flag another issue as duplicate of this one, it seems strange as they don't seems related at all. on the issue you linked it seems there are issue on agent using tools. > > here i am asking the option to publish an mcp server (using a workflow) and deploy multiple function on that mcp server. Sorry, it did link to a wrong issue.
Author
Owner

@DavideDelbianco commented on GitHub (Feb 17, 2026):

Maybe we could remove the "MCP" card from workflows / chatflows and create a MCP server tab where you define the server name and description and you choose the dify workflows / chatflows that you want to expose in that server as tools ?

@DavideDelbianco commented on GitHub (Feb 17, 2026): Maybe we could remove the "MCP" card from workflows / chatflows and create a MCP server tab where you define the server name and description and you choose the dify workflows / chatflows that you want to expose in that server as tools ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22215