Flowise MCP server

Integrates with Flowise API to enable interaction with chatflows and assistants through dynamic tool registration or simplified static tools for listing and prediction creation.
Back to servers
Setup instructions
Provider
Andy Dukes
Release date
Mar 17, 2025
Language
Python

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.

Installation Options

Via Smithery

To install mcp-flowise for Claude Desktop automatically using Smithery:

npx -y @smithery/cli install @andydukes/mcp-flowise --client claude

Via uvx

Run the server directly from the GitHub repository:

uvx --from git+https://github.com/andydukes/mcp-flowise mcp-flowise

Integration with MCP Ecosystem

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}"
            }
        }
    }
}

Operation Modes

FastMCP Mode

Enable this simpler mode by setting FLOWISE_SIMPLE_MODE=true. In this mode:

  • Two tools are exposed: list_chatflows and create_prediction
  • You can configure using FLOWISE_CHATFLOW_ID or FLOWISE_ASSISTANT_ID
  • Use list_chatflows to see all available chatflows

LowLevel Mode (Default)

This is the default mode when FLOWISE_SIMPLE_MODE is not set or false:

  • Dynamically registers all chatflows as separate tools
  • Tool names are derived from chatflow names (normalized)
  • Tool descriptions come from FLOWISE_CHATFLOW_DESCRIPTIONS or fall back to chatflow names

Windows Configuration

If 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/"
      }
    }
  }
}

Environment Variables

Required Variables

  • FLOWISE_API_KEY: Your Flowise API Bearer token (required)
  • FLOWISE_API_ENDPOINT: Base URL for Flowise (default: http://localhost:3010)

Mode-Specific Variables

LowLevel Mode

  • FLOWISE_CHATFLOW_DESCRIPTIONS: Comma-separated list of chatflow descriptions
    FLOWISE_CHATFLOW_DESCRIPTIONS="abc123:Chatflow One,xyz789:Chatflow Two"
    

FastMCP Mode

  • FLOWISE_CHATFLOW_ID: Single Chatflow ID (optional)
  • FLOWISE_ASSISTANT_ID: Single Assistant ID (optional)
  • FLOWISE_CHATFLOW_DESCRIPTION: Optional description for the single tool

Filtering Chatflows

Control 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.

Troubleshooting

  • Missing API Key: Ensure FLOWISE_API_KEY is set correctly
  • Invalid Configuration: The server will not start if both FLOWISE_CHATFLOW_ID and FLOWISE_ASSISTANT_ID are set
  • Connection Errors: Verify that FLOWISE_API_ENDPOINT is accessible

How to install this MCP server

For Claude Code

To 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.

For Cursor

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.

Adding an MCP server to Cursor globally

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}"
            }
        }
    }
}

Adding an MCP server to a project

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.

How to use the MCP server

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.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.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

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later