ds-mcp-flowise 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -94
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,55 +1,86 @@
|
|
|
1
1
|
# DS-MCP-FLOWISE
|
|
2
2
|
|
|
3
|
-
MCP (Model Context Protocol) server
|
|
3
|
+
MCP (Model Context Protocol) server that gives AI assistants (Claude, GPT, etc.) deep knowledge of [Flowise](https://flowiseai.com/) nodes so they can help you design and build chatflows and agentflows.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## What This Does
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
- **Flow Skeletons**: Generate starting points for common use cases
|
|
7
|
+
When connected to Claude Code (or other MCP clients), this server lets the AI:
|
|
8
|
+
- Know all 311 Flowise nodes and their configurations
|
|
9
|
+
- Understand how nodes connect together
|
|
10
|
+
- Design complete flows based on your requirements
|
|
11
|
+
- Output valid JSON you can import into Flowise
|
|
13
12
|
|
|
14
|
-
##
|
|
13
|
+
## Quick Start
|
|
15
14
|
|
|
16
|
-
###
|
|
15
|
+
### 1. Add to Claude Code
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
# Clone the repository
|
|
20
|
-
git clone https://github.com/dtsoden/DS-MCP-FLOWISE.git
|
|
21
|
-
cd DS-MCP-FLOWISE
|
|
17
|
+
Add this to your Claude Code MCP configuration (`claude_desktop_config.json` or via settings):
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"flowise": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["-y", "ds-mcp-flowise"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
npm run extract
|
|
28
|
-
npm run prepare-db
|
|
30
|
+
That's it. No cloning, no building. The `npx` command downloads and runs it automatically.
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
### 2. Start a Conversation
|
|
33
|
+
|
|
34
|
+
Open Claude Code and describe what you want to build:
|
|
35
|
+
|
|
36
|
+
> "Build me a RAG chatbot that uses Pinecone for vector storage and OpenAI for the LLM"
|
|
37
|
+
|
|
38
|
+
### 3. Get Your Flow
|
|
39
|
+
|
|
40
|
+
Claude will use the MCP tools to:
|
|
41
|
+
- Find the right nodes (ChatOpenAI, Pinecone, embeddings, etc.)
|
|
42
|
+
- Check their schemas and required inputs
|
|
43
|
+
- Design the complete flow
|
|
44
|
+
- Output the JSON with all nodes and edges
|
|
45
|
+
|
|
46
|
+
### 4. Import into Flowise
|
|
33
47
|
|
|
34
|
-
|
|
48
|
+
1. Open Flowise
|
|
49
|
+
2. Create a new Chatflow or Agentflow
|
|
50
|
+
3. Click the menu (⋮) → **Load Chatflow**
|
|
51
|
+
4. Paste the JSON Claude gave you
|
|
52
|
+
5. Configure credentials (API keys) for each node
|
|
53
|
+
6. Save and test
|
|
35
54
|
|
|
36
|
-
|
|
55
|
+
## Alternative Installation Methods
|
|
37
56
|
|
|
57
|
+
### Global Install (npm)
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm install -g ds-mcp-flowise
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Then in your MCP config:
|
|
38
64
|
```json
|
|
39
65
|
{
|
|
40
66
|
"mcpServers": {
|
|
41
67
|
"flowise": {
|
|
42
|
-
"command": "
|
|
43
|
-
"args": ["/path/to/DS-MCP-FLOWISE/dist/index.js"]
|
|
68
|
+
"command": "ds-mcp-flowise"
|
|
44
69
|
}
|
|
45
70
|
}
|
|
46
71
|
}
|
|
47
72
|
```
|
|
48
73
|
|
|
49
|
-
###
|
|
74
|
+
### Build from Source
|
|
50
75
|
|
|
51
|
-
|
|
76
|
+
```bash
|
|
77
|
+
git clone https://github.com/dtsoden/DS-MCP-FLOWISE.git
|
|
78
|
+
cd DS-MCP-FLOWISE
|
|
79
|
+
npm install
|
|
80
|
+
npm run build
|
|
81
|
+
```
|
|
52
82
|
|
|
83
|
+
Then in your MCP config:
|
|
53
84
|
```json
|
|
54
85
|
{
|
|
55
86
|
"mcpServers": {
|
|
@@ -61,23 +92,23 @@ Add to `claude_desktop_config.json`:
|
|
|
61
92
|
}
|
|
62
93
|
```
|
|
63
94
|
|
|
64
|
-
## Tools
|
|
95
|
+
## Available Tools
|
|
65
96
|
|
|
66
97
|
### Node Discovery
|
|
67
98
|
|
|
68
99
|
| Tool | Description |
|
|
69
100
|
|------|-------------|
|
|
70
|
-
| `list_categories` | List all node categories with counts |
|
|
101
|
+
| `list_categories` | List all 26 node categories with counts |
|
|
71
102
|
| `list_nodes` | List nodes, optionally filtered by category |
|
|
72
103
|
| `get_node_schema` | Get detailed schema for a node including all inputs |
|
|
73
|
-
| `search_nodes` |
|
|
104
|
+
| `search_nodes` | Search nodes by keyword |
|
|
74
105
|
| `find_compatible_nodes` | Find nodes that can connect to a given node |
|
|
75
106
|
|
|
76
107
|
### Template Library
|
|
77
108
|
|
|
78
109
|
| Tool | Description |
|
|
79
110
|
|------|-------------|
|
|
80
|
-
| `list_templates` | List marketplace templates by type |
|
|
111
|
+
| `list_templates` | List 64 marketplace templates by type |
|
|
81
112
|
| `get_template` | Get complete template with nodes and edges |
|
|
82
113
|
|
|
83
114
|
### Flow Building
|
|
@@ -87,86 +118,45 @@ Add to `claude_desktop_config.json`:
|
|
|
87
118
|
| `validate_flow` | Validate a flow's nodes and connections |
|
|
88
119
|
| `generate_flow_skeleton` | Generate a starting flow for common use cases |
|
|
89
120
|
|
|
90
|
-
## Example
|
|
91
|
-
|
|
92
|
-
### Discover Available Nodes
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
Use list_categories to see all node types
|
|
96
|
-
|
|
97
|
-
Use list_nodes with category="Chat Models" to see chat models
|
|
98
|
-
|
|
99
|
-
Use search_nodes with query="vector database" to find vector stores
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Build a RAG Chatbot
|
|
121
|
+
## Example Prompts
|
|
103
122
|
|
|
104
|
-
|
|
105
|
-
1. Use get_template with name="Conversational Retrieval QA Chain" for an example
|
|
106
|
-
2. Use get_node_schema for each node you want to use
|
|
107
|
-
3. Use find_compatible_nodes to see what connects where
|
|
108
|
-
4. Use validate_flow to check your flow before deploying
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Generate a Flow Skeleton
|
|
112
|
-
|
|
113
|
-
```
|
|
114
|
-
Use generate_flow_skeleton with use_case="rag_chatbot"
|
|
115
|
-
|
|
116
|
-
Supported use cases:
|
|
117
|
-
- simple_chatbot
|
|
118
|
-
- rag_chatbot
|
|
119
|
-
- conversational_agent
|
|
120
|
-
- document_qa
|
|
121
|
-
- api_agent
|
|
122
|
-
- multi_agent
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Resources
|
|
123
|
+
Once connected, try asking Claude:
|
|
126
124
|
|
|
127
|
-
|
|
125
|
+
- "What vector stores does Flowise support?"
|
|
126
|
+
- "Show me how to build a simple chatbot with memory"
|
|
127
|
+
- "Create a RAG flow using Pinecone and Claude"
|
|
128
|
+
- "What nodes can connect to a ConversationChain?"
|
|
129
|
+
- "Build me an agent that can search the web and query a database"
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
- `flowise://nodes` - All nodes
|
|
131
|
-
- `flowise://templates` - All templates
|
|
131
|
+
## What's Included
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
- **311 Flowise nodes** with full schemas
|
|
134
|
+
- **1,915 input parameters** documented
|
|
135
|
+
- **26 node categories** (Chat Models, Vector Stores, Tools, etc.)
|
|
136
|
+
- **64 marketplace templates** as examples
|
|
137
|
+
- **SQLite database** for fast queries
|
|
134
138
|
|
|
135
|
-
|
|
139
|
+
## Updating the Node Database
|
|
136
140
|
|
|
137
|
-
|
|
138
|
-
- **node_inputs** - Input parameters for each node
|
|
139
|
-
- **categories** - Node categories with counts
|
|
140
|
-
- **templates** - Marketplace templates
|
|
141
|
-
- **nodes_fts** - Full-text search index for nodes
|
|
142
|
-
- **templates_fts** - Full-text search index for templates
|
|
143
|
-
|
|
144
|
-
## Development
|
|
141
|
+
To update with the latest Flowise nodes:
|
|
145
142
|
|
|
146
143
|
```bash
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
git clone https://github.com/dtsoden/DS-MCP-FLOWISE.git
|
|
145
|
+
cd DS-MCP-FLOWISE
|
|
146
|
+
npm install
|
|
149
147
|
|
|
150
|
-
#
|
|
148
|
+
# This clones Flowise and extracts all node definitions
|
|
151
149
|
npm run extract
|
|
152
150
|
|
|
153
|
-
#
|
|
151
|
+
# This rebuilds the SQLite database
|
|
154
152
|
npm run prepare-db
|
|
155
153
|
|
|
156
|
-
# Build for production
|
|
157
154
|
npm run build
|
|
158
155
|
```
|
|
159
156
|
|
|
160
|
-
## How It Works
|
|
161
|
-
|
|
162
|
-
1. **Extraction**: Parses Flowise source code to extract all node definitions
|
|
163
|
-
2. **Database**: Stores nodes, inputs, and templates in SQLite for fast queries
|
|
164
|
-
3. **MCP Server**: Exposes tools and resources via Model Context Protocol
|
|
165
|
-
4. **AI Integration**: Claude/GPT can query nodes, search, and validate flows
|
|
166
|
-
|
|
167
157
|
## Credits
|
|
168
158
|
|
|
169
|
-
- [Flowise](https://github.com/FlowiseAI/Flowise) - The
|
|
159
|
+
- [Flowise](https://github.com/FlowiseAI/Flowise) - The no-code LLM orchestration platform
|
|
170
160
|
- Inspired by [n8n-mcp](https://github.com/czlonkowski/n8n-mcp) architecture
|
|
171
161
|
|
|
172
162
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ds-mcp-flowise",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server for building and managing Flowise chatflows and agentflows. Provides AI assistants with comprehensive knowledge of Flowise nodes and tools for workflow creation.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|