mcp-flowise is a Python package that implements a Model Context Protocol (MCP) server for integrating with the Flowise API. It provides a standardized way to interact with Flowise chatflows, create predictions, and dynamically register tools for use in MCP-based workflows.
To install mcp-flowise for Claude Desktop automatically using Smithery:
npx -y @smithery/cli install @andydukes/mcp-flowise --client claude
Run the server directly from the GitHub repository:
uvx --from git+https://github.com/andydukes/mcp-flowise mcp-flowise
Add mcp-flowise to your MCP configuration by updating the mcpServers
configuration:
{
"mcpServers": {
"mcp-flowise": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/andydukes/mcp-flowise",
"mcp-flowise"
],
"env": {
"FLOWISE_API_KEY": "${FLOWISE_API_KEY}",
"FLOWISE_API_ENDPOINT": "${FLOWISE_API_ENDPOINT}"
}
}
}
}
Enable this simpler mode by setting FLOWISE_SIMPLE_MODE=true
. In this mode:
list_chatflows
and create_prediction
FLOWISE_CHATFLOW_ID
or FLOWISE_ASSISTANT_ID
list_chatflows
to see all available chatflowsThis is the default mode when FLOWISE_SIMPLE_MODE
is not set or false:
FLOWISE_CHATFLOW_DESCRIPTIONS
or fall back to chatflow namesIf you're using Windows and encountering issues with git URLs, clone the repository locally and configure your mcpServers
as follows:
{
"mcpServers": {
"flowise": {
"command": "C:\\Users\\username\\.local\\bin\\uvx.exe",
"args": [
"--from",
"C:\\Users\\username\\downloads\\mcp-flowise",
"mcp-flowise"
],
"env": {
"LOGLEVEL": "ERROR",
"APPDATA": "C:\\Users\\username\\AppData\\Roaming",
"FLOWISE_API_KEY": "your-api-key-goes-here",
"FLOWISE_API_ENDPOINT": "http://localhost:3010/"
}
}
}
}
FLOWISE_API_KEY
: Your Flowise API Bearer token (required)FLOWISE_API_ENDPOINT
: Base URL for Flowise (default: http://localhost:3010
)FLOWISE_CHATFLOW_DESCRIPTIONS
: Comma-separated list of chatflow descriptions
FLOWISE_CHATFLOW_DESCRIPTIONS="abc123:Chatflow One,xyz789:Chatflow Two"
FLOWISE_CHATFLOW_ID
: Single Chatflow ID (optional)FLOWISE_ASSISTANT_ID
: Single Assistant ID (optional)FLOWISE_CHATFLOW_DESCRIPTION
: Optional description for the single toolControl which chatflows are exposed using these filters:
Whitelist by ID:
FLOWISE_WHITELIST_ID="id1,id2,id3"
Blacklist by ID:
FLOWISE_BLACKLIST_ID="id4,id5"
Whitelist by Name (Regex):
FLOWISE_WHITELIST_NAME_REGEX=".*important.*"
Blacklist by Name (Regex):
FLOWISE_BLACKLIST_NAME_REGEX=".*deprecated.*"
Note that whitelists take precedence over blacklists when both are configured.
FLOWISE_API_KEY
is set correctlyFLOWISE_CHATFLOW_ID
and FLOWISE_ASSISTANT_ID
are setFLOWISE_API_ENDPOINT
is accessibleTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "flowise" '{"command":"uvx","args":["--from","git+https://github.com/andydukes/mcp-flowise","mcp-flowise"],"env":{"FLOWISE_API_KEY":"${FLOWISE_API_KEY}","FLOWISE_API_ENDPOINT":"${FLOWISE_API_ENDPOINT}"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"flowise": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/andydukes/mcp-flowise",
"mcp-flowise"
],
"env": {
"FLOWISE_API_KEY": "${FLOWISE_API_KEY}",
"FLOWISE_API_ENDPOINT": "${FLOWISE_API_ENDPOINT}"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"flowise": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/andydukes/mcp-flowise",
"mcp-flowise"
],
"env": {
"FLOWISE_API_KEY": "${FLOWISE_API_KEY}",
"FLOWISE_API_ENDPOINT": "${FLOWISE_API_ENDPOINT}"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect