Skip to main content

MCP server exposing local Flowise chatflows as callable tools

Project description

mcp-flowise

MCP server that exposes the chatflows of your local Flowise as tools for Claude, Cursor, free-code, or any MCP client.

PyPI npm

Tools

Simple mode (default):

  • list_chatflows() — lists available chatflows (id + name).
  • create_prediction(chatflow_id, question) — runs a chatflow and returns its response.

Dynamic mode (FLOWISE_DYNAMIC=true):

  • Registers one tool per chatflow at startup, e.g. flowise_support_bot(question).

Requirements

  • A running Flowise instance (default http://localhost:3000)
  • Node.js 18+ or Python 3.10+ with uv

Installation

Claude Desktop

Add this to your claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

Option A — via npm (Node.js required):

{
  "mcpServers": {
    "mcp-flowise": {
      "command": "npx",
      "args": ["-y", "@suamkf08/mcp-flowise"],
      "env": {
        "FLOWISE_API_ENDPOINT": "http://localhost:3000",
        "FLOWISE_API_KEY": ""
      }
    }
  }
}

Option B — via uvx (uv required):

Install uv first if you don't have it:

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Then add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-flowise": {
      "command": "uvx",
      "args": ["mcp-flowise"],
      "env": {
        "FLOWISE_API_ENDPOINT": "http://localhost:3000",
        "FLOWISE_API_KEY": ""
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{
  "mcpServers": {
    "mcp-flowise": {
      "command": "npx",
      "args": ["-y", "@suamkf08/mcp-flowise"],
      "env": {
        "FLOWISE_API_ENDPOINT": "http://localhost:3000",
        "FLOWISE_API_KEY": ""
      }
    }
  }
}

free-code

Add to ~/.free-code/agent/mcp.json (or import with /mcp-import):

{
  "mcpServers": {
    "mcp-flowise": {
      "command": "npx",
      "args": ["-y", "@suamkf08/mcp-flowise"],
      "env": {
        "FLOWISE_API_ENDPOINT": "http://localhost:3000",
        "FLOWISE_API_KEY": ""
      }
    }
  }
}

Then enable it in free-code:

/mcp enable mcp-flowise
/reload

Configuration

Environment variable Default Description
FLOWISE_API_ENDPOINT http://localhost:3000 Base URL of your Flowise instance
FLOWISE_API_KEY (empty) Bearer token (Flowise → Settings → API Keys)
FLOWISE_DYNAMIC false Set to true to register one tool per chatflow
FLOWISE_WHITELIST_ID (empty) Comma-separated chatflow IDs to include
FLOWISE_BLACKLIST_ID (empty) Comma-separated chatflow IDs to exclude
FLOWISE_WHITELIST_NAME_REGEX (empty) Only include chatflows whose name matches
FLOWISE_BLACKLIST_NAME_REGEX (empty) Exclude chatflows whose name matches

Development

git clone https://github.com/suamkf08/mcp-flowise
cd mcp-flowise
uv run mcp-flowise        # starts over stdio; Ctrl+C to quit

Inspect with MCP Inspector:

uv run mcp dev mcp_flowise/server.py

Flowise API reference

  • List chatflows: GET {endpoint}/api/v1/chatflows
  • Run chatflow: POST {endpoint}/api/v1/prediction/{chatflowId} with {"question": "..."}
  • Auth header: Authorization: Bearer <FLOWISE_API_KEY>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_flowise-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_flowise-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_flowise-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_flowise-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_flowise-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9cd47b17486f586e337205952694bdbe9931cba11f5db9291be540a070873764
MD5 a36e9d219ce746596bd7d9b6b79edd18
BLAKE2b-256 89bef1de6210186148f094de758176ad79e480389db304bf2b7efe75a8c85ee0

See more details on using hashes here.

File details

Details for the file mcp_flowise-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_flowise-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_flowise-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d34b3395719553a08321cdeca1b15df1167a917c61a6a70909e0ebeaf5b370
MD5 740ccecc7ad91b04014053c697012c6a
BLAKE2b-256 48c221a08d92dd1cb770d1b8d368539fcb20e65d9bbfac2c93747f20905a2bb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page