Flowise MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Flowise MCP Server list my recent chatflows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Flowise MCP Server
A Model Context Protocol (MCP) server that provides programmatic integration with Flowise AI workflow platform. This enables LLM-based tools like Claude Code to create, manage, and run Flowise chatflows and agentflows.
Features
Run Predictions: Execute chatflows with questions, conversation history, file uploads, or lead capture
Manage Chatflows: Create, update, delete, and list chatflows programmatically
Node Discovery: List all available nodes and get detailed specifications for building flows
Full Flow Types: Supports CHATFLOW, AGENTFLOW, MULTIAGENT, and ASSISTANT types
Related MCP server: MCP-Flowise
Prerequisites
Installation
# Clone the repository
git clone https://github.com/wksbx/flowise-mcp-server.git
cd flowise-mcp-server
# Install dependencies
pnpm install
# Build the project
pnpm buildConfiguration
Copy the example environment file:
cp .env.example .envEdit
.envwith your Flowise settings:
FLOWISE_BASE_URL=http://localhost:3000
FLOWISE_API_KEY=your-api-key-hereFLOWISE_BASE_URL: URL where your Flowise instance is runningFLOWISE_API_KEY: API key from Flowise (Settings > API Keys)
Usage
Running Directly
pnpm startRunning with Docker
# Build the Docker image
pnpm docker:build
# Run the container
pnpm docker:runConfiguring with MCP Clients
Add to your MCP client configuration (e.g., Claude Desktop, Claude Code):
Using Node directly:
{
"mcpServers": {
"flowise": {
"command": "node",
"args": ["/path/to/flowise-mcp-server/dist/index.js"],
"env": {
"FLOWISE_BASE_URL": "http://localhost:3000",
"FLOWISE_API_KEY": "your-api-key-here"
}
}
}
}Using Docker:
{
"mcpServers": {
"flowise": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--add-host=host.docker.internal:host-gateway",
"--env-file", "/path/to/your/.env",
"flowise-mcp-server"
]
}
}
}Available Tools
Prediction Tools
Tool | Description |
| Run a chatflow with a question |
| Run with conversation history for context |
| Run with file attachments (images, documents) |
| Run and capture lead email |
Chatflow Management
Tool | Description |
| List all available chatflows |
| Get a specific chatflow's configuration |
| Create a new chatflow |
| Update an existing chatflow |
| Delete a chatflow (irreversible) |
Node Discovery
Tool | Description |
| List all available node types |
| Get nodes filtered by category |
| Get detailed spec for a specific node type |
Examples
Running a Chatflow
Use create_prediction with:
- chatflowId: "abc123"
- question: "What is the weather today?"Creating a Simple Chatflow
1. Use get_node to fetch specs for needed nodes (e.g., "chatOpenAI", "llmChain")
2. Use create_chatflow with:
- name: "My Chatflow"
- flowData: { nodes: [...], edges: [...] }
- type: "CHATFLOW"Development
# Build TypeScript
pnpm build
# Run in development mode (build + run)
pnpm devTesting
The project includes comprehensive unit tests using Vitest.
# Run tests once
pnpm test
# Run tests in watch mode
pnpm test:watch
# Run tests with coverage report
pnpm test:coverageTest Structure
src/
├── flowise-api.test.ts # API client tests (8 tests)
└── handlers.test.ts # Tool handler tests (26 tests)Project Structure
flowise-mcp-server/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── flowise-api.ts # Flowise API client
│ ├── handlers.ts # Tool handler functions
│ └── *.test.ts # Unit tests
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
├── vitest.config.ts # Test configuration
├── Dockerfile
├── .env.example # Environment template
└── mcp-config.example.jsonTroubleshooting
Connection Issues
Ensure Flowise is running and accessible at the configured URL
When using Docker, use
host.docker.internalto connect to Flowise on the host machineVerify your API key is correct in Flowise settings
Authentication Errors
Check that your
FLOWISE_API_KEYmatches one configured in FlowiseAPI keys can be created in Flowise under Settings > API Keys
License
MIT - see LICENSE
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Related Projects
Flowise - Drag & drop UI to build LLM flows
Model Context Protocol - Open protocol for LLM tool integration
Available Tools
12 toolscreate_chatflowC
Create a new chatflow in Flowise with specified nodes and edges configuration.
Inputs: name (required), flowData (required), type, chatbotConfig.
create_predictionB
Run a Flowise chatflow with a question and get a response. Use this to interact with AI workflows configured in Flowise.
Inputs: question (required), chatflowId (required), chatId, overrideConfig.
create_prediction_with_filesB
Run a Flowise chatflow with file attachments (images, documents, etc.).
Inputs: uploads (required), question (required), chatflowId (required), chatId, +1 more.
create_prediction_with_historyB
Run a Flowise chatflow with conversation history for context-aware responses.
Inputs: history (required), question (required), chatflowId (required), chatId, +1 more.
create_prediction_with_leadB
Run a Flowise chatflow and capture a lead email for the conversation.
Inputs: question (required), leadEmail (required), chatflowId (required), chatId, +1 more.
delete_chatflowA
Delete a chatflow from Flowise. This action is irreversible.
Inputs: chatflowId (required).
get_chatflowA
Get a specific chatflow by ID, including its full configuration with nodes and edges.
Inputs: chatflowId (required).
get_nodeB
Get detailed information about a specific node type by its name.
Inputs: nodeName (required).
get_nodes_by_categoryA
Get all nodes in a specific category (e.g., 'Chat Models', 'Agents', 'Memory', 'Tools').
Inputs: category (required).
list_chatflowsA
List all chatflows available in Flowise. Returns chatflow IDs, names, and metadata.
Inputs: no named parameters.
list_nodesA
List all available node types in Flowise that can be used to build chatflows.
Inputs: no named parameters.
update_chatflowA
Update an existing chatflow's configuration, nodes, edges, or metadata.
Inputs: chatflowId (required), name, flowData, chatbotConfig.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
The four create_prediction variants are closely related but have distinct, clearly described purposes (base, with history, with files, with lead). Chatflow management and node exploration tools are clearly separated. The main ambiguity is choosing among the prediction variants, but context usually resolves it.
All tools follow a consistent snake_case verb_noun pattern. List/get for retrieval, create/update/delete for chatflow operations, and create_prediction for execution. Modifiers like with_history, with_files, and with_lead are appended consistently.
With 12 tools, the server is well-scoped. It covers chatflow CRUD, multiple prediction modes, and node catalog exploration without unnecessary bloat. Each tool serves a clear purpose in the Flowise domain.
The tool set provides full lifecycle coverage for chatflows (create, read, update, delete) and a good range of prediction options. It also exposes node catalog information. Minor gaps like lead management or prediction history are not core to the Flowise workflow and can be worked around.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.118MIT
- AlicenseAqualityDmaintenanceA Python package that implements a Model Context Protocol server for integrating with Flowise API, allowing users to list chatflows, create predictions, and dynamically register tools for Flowise chatflows or assistants.2MIT
- FlicenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that enables AI agents to interact with n8n workflows and automation tools through a standardized interface, allowing execution of workflows and access to n8n functions.-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows AI agents to interact with n8n workflows through natural language, enabling workflow management and execution via SSE connections.7MIT