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 free-code (or any MCP client). Standalone and minimalist.

Tools

Simple mode (default):

  • list_chatflows() — lists the chatflows (id + name).
  • create_prediction(chatflow_id, question) — runs a chatflow.

Dynamic mode (FLOWISE_DYNAMIC=true):

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

Requirements

  • Python 3.10+
  • uv (recommended) or pip
  • A running Flowise instance (default http://localhost:3000)

Configuration

Copy .env.example to .env and fill in at least FLOWISE_API_ENDPOINT and, if your Flowise has auth enabled, FLOWISE_API_KEY (Flowise → Settings → API Keys).

Run it manually (for testing)

cd mcp-flowise
uv run mcp-flowise        # starts over stdio; Ctrl+C to quit
# or, without uv:
pip install -e . && mcp-flowise

To inspect it with the MCP Inspector:

uv run mcp dev mcp_flowise/server.py

Connect it to free-code

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

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

Then in free-code:

/mcp enable flowise
/reload

New servers start disabled, which is why you need /mcp enable and /reload (or a new session) for the tools to show up.

Notes on the Flowise API

  • List: GET {endpoint}/api/v1/chatflows
  • Predict: POST {endpoint}/api/v1/prediction/{chatflowId} with {"question": "..."}
  • Auth: Authorization: Bearer <FLOWISE_API_KEY> header (if enabled).

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.0.tar.gz (4.1 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.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_flowise-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 7e06265ea2bbd6c1f755efa28fdf2bc4abc4132690943239b03c909d3a43a4a5
MD5 cacf2585f03a8f03d1050297d7e25f34
BLAKE2b-256 b5ca283656769e0870af539a50856ddf60bd210e441f4e2333a836c4869475df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_flowise-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4443222b61a28ce74d78b54ae5cf7e21000d4beaf3e4c294056cebc21c1ad44
MD5 3b0659d516ca32f85b8b00fea53ff715
BLAKE2b-256 53f0f1aa81209b3c3d3ee9557f567fa04e43539cab72dfba6a9bfad67f37e89a

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