New Tool Radar

AI Agents & Automation

How to Turn a Flowise Chatflow Into an MCP Server

Expose a Flowise chatflow as an MCP server so an MCP client can call it as a tool.

Schematic diagram with three steps: Open the chatflow, Turn on MCP server, then Call it from a client.

A chatflow is useful inside Flowise, but other agents cannot call it. Flowise 3.1.3 added the ability to turn a chatflow into an MCP server, so an MCP client can call the flow as a tool like any other MCP tool.

Before you start

You need a working Flowise chatflow and a Flowise version that supports the MCP server feature, which the review we checked records as 3.1.3. You also need an MCP client to test with, and you should set access control on the flow first, because the server exposes it to the client.

Enable the MCP server on the chatflow

Open the chatflow in Flowise and turn on the MCP server option for it. Note the server address and any key the client needs. Keep the chatflow narrow: a server exposes everything the flow can do, so a flow with a write tool hands the client that write access.

Call the flow from an MCP client and check the reply

Add the server to your MCP client and ask a question the chatflow answers. Check the reply matches what the Flowise chat gives for the same question. If the client cannot see the server, check the address and the key first.

Worked example: One chatflow as a tool for a fictional docs desk

Maple Docs is a fictional documentation desk. Its Flowise chatflow answers policy questions, and an MCP client calls it as a tool.

Step What happens
1 User asks the client where the refund policy is
2 Client calls the Flowise chatflow through MCP
3 Chatflow answers from its documents
4 Client replies with the policy location

Expected result (UNTESTED): the client question returns the same answer the Flowise chat gives for the same question. We checked the Flowise review, which records the 3.1.3 chatflow-to-MCP-server feature, but we did not enable it on a live Flowise instance.

Limits

A chatflow exposed as an MCP server inherits the flow tools, so check every tool in the flow before you expose it. Also note that Flowise is reported as archived and sunsetting, so check the official site for the current state of the feature before you rely on it.

Sources

See all