Skip to main content
Glama
flowise-mcp
by JuliDir

Flowise MCP Server

PyPI version License: MIT Python 3.10+ MCP Flowise

An MCP (Model Context Protocol) server that enables AI agents to interact with Flowise instances. Works with Claude Desktop, VS Code GitHub Copilot, Cursor, and other MCP-compatible clients.

Features

  • Flow Management: List, create, update, and delete chatflows and agentflows

  • Predictions: Send messages to flows and receive responses

  • Flow Analysis: Analyze configurations with improvement suggestions

  • Assistants: List and inspect Flowise assistants

  • Document Stores: Manage document stores for RAG

  • Vector Operations: Upsert vectors and query vector stores

  • Chat History: Retrieve and delete conversation history

  • Variables & Tools: Manage global variables and tools

Related MCP server: n8n Manager for AI Agents

Requirements

  • Python 3.10+ or uv package manager

  • A running Flowise instance with API access

Installation

Option A: Using pip

pip install flowise-mcp
# Install uv first if you don't have it
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

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

Then configure your AI client to use uvx flowise-mcp (see below).

Configuration

Environment Variables

Variable

Description

Required

FLOWISE_BASE_URL

Your Flowise instance URL

Yes

FLOWISE_API_KEY

API key for authentication

Yes

FLOWISE_TIMEOUT

Request timeout in seconds (default: 60)

No

Getting your Flowise API Key

  1. Open your Flowise instance

  2. Go to Settings > API Keys

  3. Create a new API key or copy an existing one

Setup by Client

VS Code (GitHub Copilot)

Requires VS Code 1.99+ with GitHub Copilot.

Add to .vscode/mcp.json in your project or to your User Settings (JSON):

{
  "servers": {
    "flowise": {
      "command": "uvx",
      "args": ["flowise-mcp"],
      "env": {
        "FLOWISE_BASE_URL": "https://your-flowise-instance.com",
        "FLOWISE_API_KEY": "your-api-key"
      }
    }
  }
}

Restart VS Code after adding the configuration.

Claude Desktop

Add to your config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "flowise": {
      "command": "uvx",
      "args": ["flowise-mcp"],
      "env": {
        "FLOWISE_BASE_URL": "https://your-flowise-instance.com",
        "FLOWISE_API_KEY": "your-api-key"
      }
    }
  }
}

Restart Claude Desktop after adding the configuration.

Available Tools

Flow Management

Tool

Description

flowise_list_flows

List all chatflows and agentflows

flowise_get_flow

Get detailed flow configuration

flowise_create_flow

Create a new flow

flowise_update_flow

Update an existing flow

flowise_delete_flow

Delete a flow

flowise_predict

Send a message to a flow

flowise_analyze_flow

Analyze flow and get improvement suggestions

Assistants

Tool

Description

flowise_list_assistants

List all configured assistants

flowise_get_assistant

Get assistant details and configuration

Document Stores & Vectors

Tool

Description

flowise_list_document_stores

List all document stores

flowise_get_document_store

Get document store details

flowise_upsert_vector

Insert/update vectors in a flow

flowise_query_vector_store

Search documents in a vector store

Chat & Configuration

Tool

Description

flowise_get_chat_history

Get conversation history

flowise_delete_chat_history

Delete conversation history

flowise_list_variables

List global variables

flowise_list_tools

List available tools

flowise_ping

Check server connectivity

Usage Examples

"List all my agentflows"

"Send 'Hello' to flow abc123"

"Analyze flow xyz789 and suggest improvements for better accuracy"

"Create a new chatflow named 'Customer Support Bot'"

"Show me all document stores"

"Query the vector store for 'pricing information'"

"Delete chat history for flow abc123"

"List all assistants"

Development

If you want to contribute or run locally:

git clone https://github.com/JuliDir/flowise-mcp.git
cd flowise-mcp

# Using uv
uv sync --extra dev
uv run pytest

# Or using pip
pip install -e ".[dev]"
pytest

Troubleshooting

Issue

Solution

Server not appearing

Restart your AI client

uvx not found

Install uv (see step 1)

Connection error

Check FLOWISE_BASE_URL

Authentication failed

Verify FLOWISE_API_KEY

License

MIT License - see LICENSE for details.

Author

Julian Di Rocco (@JuliDir)

Available Tools

18 tools
flowise_analyze_flowAnalyze Flow and Suggest ImprovementsA
Read-onlyIdempotent

Analyze a chatflow or agentflow and provide improvement suggestions.

This tool examines the flow configuration and provides actionable recommendations for enhancing the flow's capabilities, performance, and best practices compliance.

IMPORTANT: This is the primary tool for answering questions like "How can I improve this agentflow to do X?" or "What can I add to make my chatflow better at Y?"

Args: params: Input containing flow_id, optional improvement_goal, and response_format.

Returns: A detailed analysis with: - Current flow structure overview - Identified issues or gaps - Prioritized improvement suggestions - Best practices recommendations - Specific nodes to add or configure

Examples: - General analysis: Use with just the flow_id - Targeted improvements: Add improvement_goal like "improve accuracy" - Speed optimization: Use improvement_goal="faster responses" - Add capabilities: Use improvement_goal="handle customer support queries"

Inputs: params (required). Returns: result

flowise_create_flowCreate New Flowise FlowA

Create a new chatflow or agentflow in Flowise.

This tool creates a new flow with the specified configuration. The flow_data should be a valid JSON string containing the nodes and edges configuration.

Args: params: Input containing name, flow_data (JSON), flow_type, is_public, and category.

Returns: The created flow's details including its new ID.

Examples: - Create a simple chatflow with a name and empty flow_data: '{}' - Create an agentflow: Set flow_type='AGENTFLOW'

Inputs: params (required). Returns: result

flowise_delete_chat_historyDelete Chat HistoryA
DestructiveIdempotent

Delete chat message history for a specific flow.

This removes conversation history from the database. Use with caution.

Args: params: Input containing flow_id, optional session_id and chat_id.

Returns: Confirmation of deletion.

Inputs: params (required). Returns: result

flowise_delete_flowDelete Flowise FlowA
DestructiveIdempotent

Delete a chatflow or agentflow from Flowise.

WARNING: This action is irreversible. The flow and its configuration will be permanently deleted.

Args: params: Input containing the flow_id to delete.

Returns: Confirmation of deletion.

Inputs: params (required). Returns: result

flowise_get_assistantGet Assistant DetailsB
Read-onlyIdempotent

Get detailed information about a specific assistant.

Args: params: Input containing assistant_id and response_format.

Returns: Detailed assistant information including configuration.

Inputs: params (required). Returns: result

flowise_get_chat_historyGet Chat HistoryA
Read-onlyIdempotent

Retrieve chat message history for a specific flow.

This tool gets the conversation history from a chatflow or agentflow, useful for reviewing past interactions or debugging.

Args: params: Input containing flow_id, optional session_id, limit, and response_format.

Returns: List of chat messages with timestamps and content.

Inputs: params (required). Returns: result

flowise_get_document_storeGet Document Store DetailsB
Read-onlyIdempotent

Get detailed information about a specific document store.

Args: params: Input containing store_id and response_format.

Returns: Detailed document store information.

Inputs: params (required). Returns: result

flowise_get_flowGet Flowise Flow DetailsA
Read-onlyIdempotent

Get detailed information about a specific chatflow or agentflow.

This tool retrieves the full configuration of a flow, including all nodes, edges, and settings.

Args: params: Input containing flow_id and response_format.

Returns: Detailed flow information including configuration and nodes.

Examples: - Get flow details: Use with the flow ID from flowise_list_flows

Inputs: params (required). Returns: result

flowise_list_assistantsList Flowise AssistantsB
Read-onlyIdempotent

List all assistants configured in Flowise.

Assistants are pre-configured AI agents that can be used for specific tasks.

Args: params: Input containing response_format.

Returns: List of configured assistants.

Inputs: params (required). Returns: result

flowise_list_document_storesList Document StoresA
Read-onlyIdempotent

List all document stores configured in Flowise.

Document stores contain indexed documents for RAG (Retrieval-Augmented Generation).

Args: params: Input containing response_format.

Returns: List of document stores with their details.

Inputs: params (required). Returns: result

flowise_list_flowsList Flowise FlowsA
Read-onlyIdempotent

List all chatflows and agentflows in the Flowise instance.

This tool retrieves a summary of all available flows, including their deployment status, visibility, and categories.

Args: params: Input parameters containing optional flow_type filter and response_format.

Returns: A formatted list of all flows with their basic information.

Examples: - List all flows: Use with no parameters - List only agentflows: Use flow_type='AGENTFLOW' - Get JSON output: Use response_format='json'

Inputs: params (required). Returns: result

flowise_list_toolsList Available ToolsA
Read-onlyIdempotent

List all tools available in Flowise.

This retrieves the list of registered tools that can be used in agentflows and chatflows.

Args: params: Input containing response_format.

Returns: List of available tools with their descriptions.

Inputs: params (required). Returns: result

flowise_list_variablesList Flowise VariablesA
Read-onlyIdempotent

List all global variables configured in Flowise.

Variables can be used across flows for storing API keys, URLs, or other configuration values.

Args: params: Input containing response_format.

Returns: List of configured variables.

Inputs: params (required). Returns: result

flowise_pingPing Flowise ServerA
Read-onlyIdempotent

Check if the Flowise server is reachable and responding.

Use this tool to verify connectivity before making other requests.

Returns: Server status message.

Inputs: no named parameters. Returns: result

flowise_predictSend Message to Flowise FlowA

Send a message to a chatflow or agentflow and get a response.

This is the primary tool for interacting with Flowise flows. It sends a question/message to the specified flow and returns the AI response.

Args: params: Input containing flow_id, question, and optional session_id, streaming preference, and override_config.

Returns: The response from the Flowise flow.

Examples: - Simple question: Use flow_id and question - With session: Add session_id to maintain conversation context - Override settings: Use override_config to adjust temperature, etc.

Inputs: params (required). Returns: result

flowise_query_vector_storeQuery Vector StoreA
Read-onlyIdempotent

Execute a retrieval query on a document store's vector store.

This searches for relevant documents based on the query.

Args: params: Input containing store_id and query.

Returns: Retrieved documents with relevance information.

Inputs: params (required). Returns: result

flowise_update_flowUpdate Flowise FlowA
Idempotent

Update an existing chatflow or agentflow.

This tool updates the specified flow with new configuration. Only provided fields will be updated.

Args: params: Input containing flow_id and optional fields to update.

Returns: Confirmation of the update with the flow's details.

Examples: - Rename a flow: Use flow_id and name - Update configuration: Use flow_id and flow_data - Make public: Use flow_id and is_public=True

Inputs: params (required). Returns: result

flowise_upsert_vectorUpsert Vectors to FlowB

Insert or update vectors in a chatflow's vector store.

This triggers the flow's document processing pipeline to update the vector store.

Args: params: Input containing flow_id, optional override_config and stop_node_id.

Returns: Summary of the upsert operation results.

Inputs: params (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 18 tools

    Disambiguation5/5

    Every tool targets a distinct resource and action (e.g., flows, assistants, document stores, chat history, variables, tools, vector stores). There is no overlap in purpose, making it easy for an agent to select the correct tool.

    Naming Consistency5/5

    All tools follow a consistent 'flowise_verb_noun' pattern using snake_case. Even simple verbs like 'ping' and 'predict' fit naturally. No mixing of conventions.

    Tool Count5/5

    18 tools cover the major features of Flowise (flows, assistants, document stores, etc.) without being overwhelming. Each tool serves a clear function, and the count is appropriate for the domain's complexity.

    Completeness2/5

    While flows have full CRUD plus analysis and prediction, other resources like assistants, document stores, variables, and tools lack create/update/delete operations. This leaves significant gaps for managing those resources, causing potential agent failures.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers