Create a tool from Subflow
Create a tool from Subflow to expose it to Model Context (MCP) clients from an MCP Server. Subflows and actions empower agents to complete tasks seamlessly —from submitting requests to routing for approval and confirming outcomes across workflows, without leaving the client interface.
Before you begin
Role required: sn_mcp_server.tools_admin, sn_mcp_server.admin, or admin
Perform these steps before creating a tool:
- Create a subflow in Flow Designer using supported input and output data types. See Create a subflow in Workflow Studio to learn more.
- Establish the requisite AI Access Control List (ACL) to facilitate external invocation of the component. See Create AI ACL to learn more.
- Confirm the compatibility status in the staging table. See Check compatibility of Subflow or Action to learn more.
- Register the component as a tool within the MCP Server.
Procedure
What to do next
Invoke the tool via Claude or an alternative MCP client and verify that it functions as intended with the tool you registered. Launch MCP client to test end-to-end execution.