langflow-mcp-server 2.0.0 → 3.0.0
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/.env.example +5 -0
- package/LICENSE +1 -1
- package/README.md +91 -8
- package/dist/__tests__/fixtures/advanced-execution.d.ts +5 -1
- package/dist/__tests__/fixtures/advanced-execution.d.ts.map +1 -1
- package/dist/__tests__/fixtures/advanced-execution.js +43 -1
- package/dist/__tests__/fixtures/advanced-execution.js.map +1 -1
- package/dist/mcp/index.js +8 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/server-consolidated.d.ts +28 -0
- package/dist/mcp/server-consolidated.d.ts.map +1 -0
- package/dist/mcp/server-consolidated.js +740 -0
- package/dist/mcp/server-consolidated.js.map +1 -0
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +105 -21
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools-consolidated.d.ts +3 -0
- package/dist/mcp/tools-consolidated.d.ts.map +1 -0
- package/dist/mcp/tools-consolidated.js +600 -0
- package/dist/mcp/tools-consolidated.js.map +1 -0
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +95 -8
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/validation-consolidated.d.ts +404 -0
- package/dist/mcp/validation-consolidated.d.ts.map +1 -0
- package/dist/mcp/validation-consolidated.js +374 -0
- package/dist/mcp/validation-consolidated.js.map +1 -0
- package/dist/mcp/validation.d.ts +20 -1
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +21 -5
- package/dist/mcp/validation.js.map +1 -1
- package/dist/services/langflow-client.d.ts +5 -2
- package/dist/services/langflow-client.d.ts.map +1 -1
- package/dist/services/langflow-client.js +93 -62
- package/dist/services/langflow-client.js.map +1 -1
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -1
- package/healthcheck.js +41 -0
- package/package.json +7 -6
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.consolidatedTools = void 0;
|
|
4
|
+
exports.consolidatedTools = [
|
|
5
|
+
{
|
|
6
|
+
name: 'flow',
|
|
7
|
+
description: `Manage Langflow workflows - create, read, update, delete, and organize flows.
|
|
8
|
+
|
|
9
|
+
Actions:
|
|
10
|
+
- list: List all flows with optional pagination and folder filter
|
|
11
|
+
- get: Get a specific flow by ID
|
|
12
|
+
- create: Create a new flow
|
|
13
|
+
- update: Update an existing flow
|
|
14
|
+
- delete: Delete a single flow
|
|
15
|
+
- delete_many: Delete multiple flows
|
|
16
|
+
- batch_create: Create multiple flows at once
|
|
17
|
+
- download: Download flows as JSON
|
|
18
|
+
- upload: Upload a flow from JSON
|
|
19
|
+
- get_public: Get a publicly shared flow
|
|
20
|
+
- get_examples: Get basic flow examples
|
|
21
|
+
- get_starters: List starter project templates
|
|
22
|
+
|
|
23
|
+
Examples:
|
|
24
|
+
- List flows: { "action": "list", "page": 1, "size": 10 }
|
|
25
|
+
- Get flow: { "action": "get", "flow_id": "uuid" }
|
|
26
|
+
- Create flow: { "action": "create", "name": "My Flow" }
|
|
27
|
+
- Delete flow: { "action": "delete", "flow_id": "uuid" }`,
|
|
28
|
+
inputSchema: {
|
|
29
|
+
type: 'object',
|
|
30
|
+
properties: {
|
|
31
|
+
action: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
enum: ['list', 'get', 'create', 'update', 'delete', 'delete_many', 'batch_create', 'download', 'upload', 'get_public', 'get_examples', 'get_starters'],
|
|
34
|
+
description: 'Action to perform'
|
|
35
|
+
},
|
|
36
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID) - required for get, update, delete, get_public' },
|
|
37
|
+
flow_ids: { type: 'array', items: { type: 'string' }, description: 'Array of flow IDs - for delete_many, download' },
|
|
38
|
+
name: { type: 'string', description: 'Flow name - for create, update' },
|
|
39
|
+
description: { type: 'string', description: 'Flow description - for create, update' },
|
|
40
|
+
data: { type: 'object', description: 'Flow data/structure - for create, update' },
|
|
41
|
+
folder_id: { type: 'string', description: 'Folder ID - for list, create, update' },
|
|
42
|
+
page: { type: 'number', description: 'Page number for pagination' },
|
|
43
|
+
size: { type: 'number', description: 'Page size (max 100)' },
|
|
44
|
+
file: { type: 'object', description: 'File object {name, content} - for upload' },
|
|
45
|
+
flows: { type: 'array', description: 'Array of flow objects - for batch_create' }
|
|
46
|
+
},
|
|
47
|
+
required: ['action']
|
|
48
|
+
},
|
|
49
|
+
annotations: {
|
|
50
|
+
readOnlyHint: false,
|
|
51
|
+
destructiveHint: true,
|
|
52
|
+
idempotentHint: false,
|
|
53
|
+
openWorldHint: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'flow_execution',
|
|
58
|
+
description: `Execute Langflow workflows with various modes and configurations.
|
|
59
|
+
|
|
60
|
+
Actions:
|
|
61
|
+
- run: Simple flow execution with input
|
|
62
|
+
- run_advanced: Advanced execution with full control (tweaks, session, streaming)
|
|
63
|
+
- run_session: Session-based execution with persistent state
|
|
64
|
+
- webhook: Trigger flow via webhook
|
|
65
|
+
- process: Legacy process endpoint
|
|
66
|
+
- predict: Legacy predict endpoint
|
|
67
|
+
|
|
68
|
+
Examples:
|
|
69
|
+
- Simple run: { "action": "run", "flow_id_or_name": "my-flow", "input_value": "Hello" }
|
|
70
|
+
- Advanced: { "action": "run_advanced", "flow_id_or_name": "uuid", "input_value": "Hi", "session_id": "sess-1" }
|
|
71
|
+
- Session: { "action": "run_session", "flow_id_or_name": "my-flow", "session_id": "sess-1", "input_value": "Continue" }`,
|
|
72
|
+
inputSchema: {
|
|
73
|
+
type: 'object',
|
|
74
|
+
properties: {
|
|
75
|
+
action: {
|
|
76
|
+
type: 'string',
|
|
77
|
+
enum: ['run', 'run_advanced', 'run_session', 'webhook', 'process', 'predict'],
|
|
78
|
+
description: 'Execution mode'
|
|
79
|
+
},
|
|
80
|
+
flow_id_or_name: { type: 'string', description: 'Flow ID (UUID) or flow name' },
|
|
81
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID) - for process, predict' },
|
|
82
|
+
input_value: { type: 'string', description: 'Input value for the flow' },
|
|
83
|
+
input_type: { type: 'string', description: 'Input type (e.g., "chat", "text")' },
|
|
84
|
+
output_type: { type: 'string', description: 'Expected output type' },
|
|
85
|
+
output_component: { type: 'string', description: 'Specific output component' },
|
|
86
|
+
tweaks: { type: 'object', description: 'Component parameter overrides' },
|
|
87
|
+
session_id: { type: 'string', description: 'Session ID for conversation continuity' },
|
|
88
|
+
user_id: { type: 'string', description: 'User ID for user-scoped execution' },
|
|
89
|
+
stream: { type: 'boolean', description: 'Enable streaming mode' },
|
|
90
|
+
inputs: { type: 'object', description: 'Input values - for process, predict' }
|
|
91
|
+
},
|
|
92
|
+
required: ['action']
|
|
93
|
+
},
|
|
94
|
+
annotations: {
|
|
95
|
+
readOnlyHint: false,
|
|
96
|
+
destructiveHint: false,
|
|
97
|
+
idempotentHint: false,
|
|
98
|
+
openWorldHint: true
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'build',
|
|
103
|
+
description: `Manage flow builds - start builds, check status, cancel, and work with vertices.
|
|
104
|
+
|
|
105
|
+
Actions:
|
|
106
|
+
- start: Start building a flow
|
|
107
|
+
- status: Get build job status
|
|
108
|
+
- cancel: Cancel a running build
|
|
109
|
+
- vertices: Build specific vertices
|
|
110
|
+
- get_vertex: Get vertex details
|
|
111
|
+
- stream_vertex: Stream vertex build (deprecated)
|
|
112
|
+
- task_status: Get async task status
|
|
113
|
+
|
|
114
|
+
Examples:
|
|
115
|
+
- Start build: { "action": "start", "flow_id": "uuid" }
|
|
116
|
+
- Check status: { "action": "status", "job_id": "job-123" }
|
|
117
|
+
- Cancel: { "action": "cancel", "job_id": "job-123" }`,
|
|
118
|
+
inputSchema: {
|
|
119
|
+
type: 'object',
|
|
120
|
+
properties: {
|
|
121
|
+
action: {
|
|
122
|
+
type: 'string',
|
|
123
|
+
enum: ['start', 'status', 'cancel', 'vertices', 'get_vertex', 'stream_vertex', 'task_status'],
|
|
124
|
+
description: 'Build action'
|
|
125
|
+
},
|
|
126
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
127
|
+
job_id: { type: 'string', description: 'Build job ID - for status, cancel' },
|
|
128
|
+
task_id: { type: 'string', description: 'Task ID - for task_status' },
|
|
129
|
+
vertex_id: { type: 'string', description: 'Vertex ID - for get_vertex, stream_vertex' },
|
|
130
|
+
inputs: { type: 'object', description: 'Build inputs' },
|
|
131
|
+
data: { type: 'object', description: 'Build data - for vertices' },
|
|
132
|
+
files: { type: 'array', description: 'Files for build' },
|
|
133
|
+
stop_component_id: { type: 'string', description: 'Stop at component' },
|
|
134
|
+
start_component_id: { type: 'string', description: 'Start from component' },
|
|
135
|
+
event_delivery: { type: 'string', enum: ['polling', 'streaming', 'direct'], description: 'Event delivery mode' }
|
|
136
|
+
},
|
|
137
|
+
required: ['action']
|
|
138
|
+
},
|
|
139
|
+
annotations: {
|
|
140
|
+
readOnlyHint: false,
|
|
141
|
+
destructiveHint: false,
|
|
142
|
+
idempotentHint: false,
|
|
143
|
+
openWorldHint: true
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'folder',
|
|
148
|
+
description: `Manage folders for organizing flows.
|
|
149
|
+
|
|
150
|
+
Actions:
|
|
151
|
+
- list: List all folders
|
|
152
|
+
- get: Get folder details
|
|
153
|
+
- create: Create a new folder
|
|
154
|
+
- update: Update folder
|
|
155
|
+
- delete: Delete folder
|
|
156
|
+
- download: Download folder as archive
|
|
157
|
+
- upload: Upload folder from archive
|
|
158
|
+
|
|
159
|
+
Examples:
|
|
160
|
+
- List: { "action": "list" }
|
|
161
|
+
- Create: { "action": "create", "name": "My Folder" }
|
|
162
|
+
- Delete: { "action": "delete", "folder_id": "uuid" }`,
|
|
163
|
+
inputSchema: {
|
|
164
|
+
type: 'object',
|
|
165
|
+
properties: {
|
|
166
|
+
action: {
|
|
167
|
+
type: 'string',
|
|
168
|
+
enum: ['list', 'get', 'create', 'update', 'delete', 'download', 'upload'],
|
|
169
|
+
description: 'Folder action'
|
|
170
|
+
},
|
|
171
|
+
folder_id: { type: 'string', description: 'Folder ID (UUID)' },
|
|
172
|
+
name: { type: 'string', description: 'Folder name' },
|
|
173
|
+
description: { type: 'string', description: 'Folder description' },
|
|
174
|
+
parent_id: { type: 'string', description: 'Parent folder ID' },
|
|
175
|
+
page: { type: 'number', description: 'Page number' },
|
|
176
|
+
size: { type: 'number', description: 'Page size' },
|
|
177
|
+
file_content: { type: 'string', description: 'Base64 file content - for upload' },
|
|
178
|
+
file_name: { type: 'string', description: 'File name - for upload' }
|
|
179
|
+
},
|
|
180
|
+
required: ['action']
|
|
181
|
+
},
|
|
182
|
+
annotations: {
|
|
183
|
+
readOnlyHint: false,
|
|
184
|
+
destructiveHint: true,
|
|
185
|
+
idempotentHint: false,
|
|
186
|
+
openWorldHint: true
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: 'project',
|
|
191
|
+
description: `Manage projects (collections of flows).
|
|
192
|
+
|
|
193
|
+
Actions:
|
|
194
|
+
- list: List all projects
|
|
195
|
+
- get: Get project details
|
|
196
|
+
- create: Create a new project
|
|
197
|
+
- update: Update project
|
|
198
|
+
- delete: Delete project
|
|
199
|
+
- download: Download project
|
|
200
|
+
- upload: Upload project
|
|
201
|
+
|
|
202
|
+
Examples:
|
|
203
|
+
- List: { "action": "list" }
|
|
204
|
+
- Create: { "action": "create", "name": "My Project" }`,
|
|
205
|
+
inputSchema: {
|
|
206
|
+
type: 'object',
|
|
207
|
+
properties: {
|
|
208
|
+
action: {
|
|
209
|
+
type: 'string',
|
|
210
|
+
enum: ['list', 'get', 'create', 'update', 'delete', 'download', 'upload'],
|
|
211
|
+
description: 'Project action'
|
|
212
|
+
},
|
|
213
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' },
|
|
214
|
+
name: { type: 'string', description: 'Project name' },
|
|
215
|
+
description: { type: 'string', description: 'Project description' },
|
|
216
|
+
page: { type: 'number', description: 'Page number' },
|
|
217
|
+
size: { type: 'number', description: 'Page size' },
|
|
218
|
+
file: { type: 'object', description: 'File object - for upload' }
|
|
219
|
+
},
|
|
220
|
+
required: ['action']
|
|
221
|
+
},
|
|
222
|
+
annotations: {
|
|
223
|
+
readOnlyHint: false,
|
|
224
|
+
destructiveHint: true,
|
|
225
|
+
idempotentHint: false,
|
|
226
|
+
openWorldHint: true
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'variable',
|
|
231
|
+
description: `Manage environment variables for flows.
|
|
232
|
+
|
|
233
|
+
Actions:
|
|
234
|
+
- list: List all variables
|
|
235
|
+
- create: Create a new variable
|
|
236
|
+
- update: Update variable
|
|
237
|
+
- delete: Delete variable
|
|
238
|
+
|
|
239
|
+
Examples:
|
|
240
|
+
- List: { "action": "list" }
|
|
241
|
+
- Create: { "action": "create", "name": "API_KEY", "value": "xxx" }`,
|
|
242
|
+
inputSchema: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
properties: {
|
|
245
|
+
action: {
|
|
246
|
+
type: 'string',
|
|
247
|
+
enum: ['list', 'create', 'update', 'delete'],
|
|
248
|
+
description: 'Variable action'
|
|
249
|
+
},
|
|
250
|
+
variable_id: { type: 'string', description: 'Variable ID (UUID)' },
|
|
251
|
+
name: { type: 'string', description: 'Variable name' },
|
|
252
|
+
value: { type: 'string', description: 'Variable value' },
|
|
253
|
+
type: { type: 'string', description: 'Variable type' },
|
|
254
|
+
default_fields: { type: 'array', description: 'Default fields' }
|
|
255
|
+
},
|
|
256
|
+
required: ['action']
|
|
257
|
+
},
|
|
258
|
+
annotations: {
|
|
259
|
+
readOnlyHint: false,
|
|
260
|
+
destructiveHint: true,
|
|
261
|
+
idempotentHint: false,
|
|
262
|
+
openWorldHint: true
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: 'knowledge_base',
|
|
267
|
+
description: `Manage knowledge bases for RAG workflows.
|
|
268
|
+
|
|
269
|
+
Actions:
|
|
270
|
+
- list: List all knowledge bases
|
|
271
|
+
- get: Get knowledge base details
|
|
272
|
+
- delete: Delete a knowledge base
|
|
273
|
+
- bulk_delete: Delete multiple knowledge bases
|
|
274
|
+
- upload: Upload file to knowledge base
|
|
275
|
+
|
|
276
|
+
Examples:
|
|
277
|
+
- List: { "action": "list" }
|
|
278
|
+
- Upload: { "action": "upload", "kb_name": "my-kb", "file_content": "base64...", "file_name": "doc.pdf" }`,
|
|
279
|
+
inputSchema: {
|
|
280
|
+
type: 'object',
|
|
281
|
+
properties: {
|
|
282
|
+
action: {
|
|
283
|
+
type: 'string',
|
|
284
|
+
enum: ['list', 'get', 'delete', 'bulk_delete', 'upload'],
|
|
285
|
+
description: 'Knowledge base action'
|
|
286
|
+
},
|
|
287
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
288
|
+
kb_names: { type: 'array', items: { type: 'string' }, description: 'KB names - for bulk_delete' },
|
|
289
|
+
file_content: { type: 'string', description: 'Base64 file content - for upload' },
|
|
290
|
+
file_name: { type: 'string', description: 'File name - for upload' }
|
|
291
|
+
},
|
|
292
|
+
required: ['action']
|
|
293
|
+
},
|
|
294
|
+
annotations: {
|
|
295
|
+
readOnlyHint: false,
|
|
296
|
+
destructiveHint: true,
|
|
297
|
+
idempotentHint: false,
|
|
298
|
+
openWorldHint: true
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'file',
|
|
303
|
+
description: `Manage files associated with flows.
|
|
304
|
+
|
|
305
|
+
Actions:
|
|
306
|
+
- list: List files for a flow
|
|
307
|
+
- upload: Upload a file
|
|
308
|
+
- download: Download a file
|
|
309
|
+
- delete: Delete a file
|
|
310
|
+
- get_image: Get file as image
|
|
311
|
+
|
|
312
|
+
Examples:
|
|
313
|
+
- List: { "action": "list", "flow_id": "uuid" }
|
|
314
|
+
- Upload: { "action": "upload", "flow_id": "uuid", "file_content": "base64...", "file_name": "data.csv" }`,
|
|
315
|
+
inputSchema: {
|
|
316
|
+
type: 'object',
|
|
317
|
+
properties: {
|
|
318
|
+
action: {
|
|
319
|
+
type: 'string',
|
|
320
|
+
enum: ['list', 'upload', 'download', 'delete', 'get_image'],
|
|
321
|
+
description: 'File action'
|
|
322
|
+
},
|
|
323
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
324
|
+
file_name: { type: 'string', description: 'File name' },
|
|
325
|
+
file_content: { type: 'string', description: 'Base64 file content - for upload' }
|
|
326
|
+
},
|
|
327
|
+
required: ['action']
|
|
328
|
+
},
|
|
329
|
+
annotations: {
|
|
330
|
+
readOnlyHint: false,
|
|
331
|
+
destructiveHint: true,
|
|
332
|
+
idempotentHint: false,
|
|
333
|
+
openWorldHint: true
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: 'monitor',
|
|
338
|
+
description: `Monitor flow executions, messages, sessions, and transactions.
|
|
339
|
+
|
|
340
|
+
Actions:
|
|
341
|
+
- get_builds: Get build history for a flow
|
|
342
|
+
- delete_builds: Delete build history
|
|
343
|
+
- get_messages: Get messages with filters
|
|
344
|
+
- get_message: Get a specific message
|
|
345
|
+
- delete_messages: Delete messages
|
|
346
|
+
- get_sessions: List sessions
|
|
347
|
+
- get_session_messages: Get messages for a session
|
|
348
|
+
- migrate_session: Migrate session to new flow
|
|
349
|
+
- get_transactions: Get transaction history
|
|
350
|
+
|
|
351
|
+
Examples:
|
|
352
|
+
- Get builds: { "action": "get_builds", "flow_id": "uuid" }
|
|
353
|
+
- Get messages: { "action": "get_messages", "session_id": "sess-1" }`,
|
|
354
|
+
inputSchema: {
|
|
355
|
+
type: 'object',
|
|
356
|
+
properties: {
|
|
357
|
+
action: {
|
|
358
|
+
type: 'string',
|
|
359
|
+
enum: ['get_builds', 'delete_builds', 'get_messages', 'get_message', 'delete_messages', 'get_sessions', 'get_session_messages', 'migrate_session', 'get_transactions'],
|
|
360
|
+
description: 'Monitor action'
|
|
361
|
+
},
|
|
362
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
363
|
+
session_id: { type: 'string', description: 'Session ID' },
|
|
364
|
+
message_id: { type: 'string', description: 'Message ID' },
|
|
365
|
+
message_ids: { type: 'array', items: { type: 'string' }, description: 'Message IDs - for delete' },
|
|
366
|
+
sender: { type: 'string', description: 'Filter by sender' },
|
|
367
|
+
sender_name: { type: 'string', description: 'Filter by sender name' },
|
|
368
|
+
order_by: { type: 'string', description: 'Order by field' },
|
|
369
|
+
new_session_id: { type: 'string', description: 'New session ID - for migrate' }
|
|
370
|
+
},
|
|
371
|
+
required: ['action']
|
|
372
|
+
},
|
|
373
|
+
annotations: {
|
|
374
|
+
readOnlyHint: false,
|
|
375
|
+
destructiveHint: true,
|
|
376
|
+
idempotentHint: false,
|
|
377
|
+
openWorldHint: true
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: 'user',
|
|
382
|
+
description: `Manage users and their profiles.
|
|
383
|
+
|
|
384
|
+
Actions:
|
|
385
|
+
- list: List all users (admin)
|
|
386
|
+
- get: Get user by ID
|
|
387
|
+
- get_current: Get current authenticated user
|
|
388
|
+
- update: Update user profile
|
|
389
|
+
- reset_password: Reset user password (admin)
|
|
390
|
+
|
|
391
|
+
Examples:
|
|
392
|
+
- Get current: { "action": "get_current" }
|
|
393
|
+
- Update: { "action": "update", "user_id": "uuid", "username": "newname" }`,
|
|
394
|
+
inputSchema: {
|
|
395
|
+
type: 'object',
|
|
396
|
+
properties: {
|
|
397
|
+
action: {
|
|
398
|
+
type: 'string',
|
|
399
|
+
enum: ['list', 'get', 'get_current', 'update', 'reset_password'],
|
|
400
|
+
description: 'User action'
|
|
401
|
+
},
|
|
402
|
+
user_id: { type: 'string', description: 'User ID (UUID)' },
|
|
403
|
+
username: { type: 'string', description: 'Username' },
|
|
404
|
+
profile_image: { type: 'string', description: 'Profile image URL' },
|
|
405
|
+
is_active: { type: 'boolean', description: 'Active status' },
|
|
406
|
+
is_superuser: { type: 'boolean', description: 'Superuser status' },
|
|
407
|
+
new_password: { type: 'string', description: 'New password - for reset_password' },
|
|
408
|
+
page: { type: 'number', description: 'Page number' },
|
|
409
|
+
size: { type: 'number', description: 'Page size' }
|
|
410
|
+
},
|
|
411
|
+
required: ['action']
|
|
412
|
+
},
|
|
413
|
+
annotations: {
|
|
414
|
+
readOnlyHint: false,
|
|
415
|
+
destructiveHint: false,
|
|
416
|
+
idempotentHint: false,
|
|
417
|
+
openWorldHint: false
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: 'auth',
|
|
422
|
+
description: `Authentication and API key management.
|
|
423
|
+
|
|
424
|
+
Actions:
|
|
425
|
+
- login: Login with username/password
|
|
426
|
+
- auto_login: Auto-login with stored credentials
|
|
427
|
+
- logout: Logout current session
|
|
428
|
+
- refresh: Refresh access token
|
|
429
|
+
- list_keys: List API keys
|
|
430
|
+
- create_key: Create new API key
|
|
431
|
+
- delete_key: Delete API key
|
|
432
|
+
|
|
433
|
+
Examples:
|
|
434
|
+
- Login: { "action": "login", "username": "user", "password": "pass" }
|
|
435
|
+
- Create key: { "action": "create_key", "name": "My API Key" }`,
|
|
436
|
+
inputSchema: {
|
|
437
|
+
type: 'object',
|
|
438
|
+
properties: {
|
|
439
|
+
action: {
|
|
440
|
+
type: 'string',
|
|
441
|
+
enum: ['login', 'auto_login', 'logout', 'refresh', 'list_keys', 'create_key', 'delete_key'],
|
|
442
|
+
description: 'Auth action'
|
|
443
|
+
},
|
|
444
|
+
username: { type: 'string', description: 'Username - for login' },
|
|
445
|
+
password: { type: 'string', description: 'Password - for login' },
|
|
446
|
+
name: { type: 'string', description: 'API key name - for create_key' },
|
|
447
|
+
api_key_id: { type: 'string', description: 'API key ID - for delete_key' }
|
|
448
|
+
},
|
|
449
|
+
required: ['action']
|
|
450
|
+
},
|
|
451
|
+
annotations: {
|
|
452
|
+
readOnlyHint: false,
|
|
453
|
+
destructiveHint: true,
|
|
454
|
+
idempotentHint: false,
|
|
455
|
+
openWorldHint: false
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: 'store',
|
|
460
|
+
description: `Interact with the Langflow component store and custom components.
|
|
461
|
+
|
|
462
|
+
Actions:
|
|
463
|
+
- list_components: List available components
|
|
464
|
+
- list_custom: List custom components
|
|
465
|
+
- create_custom: Create custom component
|
|
466
|
+
- check: Check store availability
|
|
467
|
+
- check_key: Validate store API key
|
|
468
|
+
- list_store: List store components
|
|
469
|
+
- get_store: Get store component details
|
|
470
|
+
- list_tags: List store tags
|
|
471
|
+
- get_likes: Get user's liked components
|
|
472
|
+
|
|
473
|
+
Examples:
|
|
474
|
+
- List components: { "action": "list_components" }
|
|
475
|
+
- Create custom: { "action": "create_custom", "name": "MyComponent", "code": "..." }`,
|
|
476
|
+
inputSchema: {
|
|
477
|
+
type: 'object',
|
|
478
|
+
properties: {
|
|
479
|
+
action: {
|
|
480
|
+
type: 'string',
|
|
481
|
+
enum: ['list_components', 'list_custom', 'create_custom', 'check', 'check_key', 'list_store', 'get_store', 'list_tags', 'get_likes'],
|
|
482
|
+
description: 'Store action'
|
|
483
|
+
},
|
|
484
|
+
component_id: { type: 'string', description: 'Component ID' },
|
|
485
|
+
name: { type: 'string', description: 'Component name - for create_custom' },
|
|
486
|
+
code: { type: 'string', description: 'Python code - for create_custom' },
|
|
487
|
+
api_key: { type: 'string', description: 'Store API key - for check_key' },
|
|
488
|
+
search: { type: 'string', description: 'Search query - for list_store' },
|
|
489
|
+
tags: { type: 'array', description: 'Filter by tags - for list_store' },
|
|
490
|
+
page: { type: 'number', description: 'Page number' },
|
|
491
|
+
size: { type: 'number', description: 'Page size' }
|
|
492
|
+
},
|
|
493
|
+
required: ['action']
|
|
494
|
+
},
|
|
495
|
+
annotations: {
|
|
496
|
+
readOnlyHint: false,
|
|
497
|
+
destructiveHint: false,
|
|
498
|
+
idempotentHint: false,
|
|
499
|
+
openWorldHint: true
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'registration',
|
|
504
|
+
description: `User registration management.
|
|
505
|
+
|
|
506
|
+
Actions:
|
|
507
|
+
- get: Get registration status
|
|
508
|
+
- register: Register a new user
|
|
509
|
+
|
|
510
|
+
Examples:
|
|
511
|
+
- Check status: { "action": "get" }
|
|
512
|
+
- Register: { "action": "register", "email": "user@example.com" }`,
|
|
513
|
+
inputSchema: {
|
|
514
|
+
type: 'object',
|
|
515
|
+
properties: {
|
|
516
|
+
action: {
|
|
517
|
+
type: 'string',
|
|
518
|
+
enum: ['get', 'register'],
|
|
519
|
+
description: 'Registration action'
|
|
520
|
+
},
|
|
521
|
+
email: { type: 'string', description: 'Email address - for register' }
|
|
522
|
+
},
|
|
523
|
+
required: ['action']
|
|
524
|
+
},
|
|
525
|
+
annotations: {
|
|
526
|
+
readOnlyHint: false,
|
|
527
|
+
destructiveHint: false,
|
|
528
|
+
idempotentHint: false,
|
|
529
|
+
openWorldHint: false
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
name: 'validation',
|
|
534
|
+
description: `Validate code and prompts.
|
|
535
|
+
|
|
536
|
+
Actions:
|
|
537
|
+
- code: Validate Python code
|
|
538
|
+
- prompt: Validate prompt template
|
|
539
|
+
|
|
540
|
+
Examples:
|
|
541
|
+
- Validate code: { "action": "code", "code": "def hello(): pass" }
|
|
542
|
+
- Validate prompt: { "action": "prompt", "prompt": "Hello {name}" }`,
|
|
543
|
+
inputSchema: {
|
|
544
|
+
type: 'object',
|
|
545
|
+
properties: {
|
|
546
|
+
action: {
|
|
547
|
+
type: 'string',
|
|
548
|
+
enum: ['code', 'prompt'],
|
|
549
|
+
description: 'Validation action'
|
|
550
|
+
},
|
|
551
|
+
code: { type: 'string', description: 'Python code to validate' },
|
|
552
|
+
prompt: { type: 'string', description: 'Prompt template to validate' }
|
|
553
|
+
},
|
|
554
|
+
required: ['action']
|
|
555
|
+
},
|
|
556
|
+
annotations: {
|
|
557
|
+
readOnlyHint: true,
|
|
558
|
+
destructiveHint: false,
|
|
559
|
+
idempotentHint: true,
|
|
560
|
+
openWorldHint: false
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
name: 'system',
|
|
565
|
+
description: `System information and utilities.
|
|
566
|
+
|
|
567
|
+
Actions:
|
|
568
|
+
- health: Check system health
|
|
569
|
+
- version: Get Langflow version
|
|
570
|
+
- logs: Get system logs
|
|
571
|
+
- list_pictures: List profile pictures
|
|
572
|
+
- get_picture: Get a profile picture
|
|
573
|
+
- list_voices: List ElevenLabs voices
|
|
574
|
+
|
|
575
|
+
Examples:
|
|
576
|
+
- Health check: { "action": "health" }
|
|
577
|
+
- Get version: { "action": "version" }`,
|
|
578
|
+
inputSchema: {
|
|
579
|
+
type: 'object',
|
|
580
|
+
properties: {
|
|
581
|
+
action: {
|
|
582
|
+
type: 'string',
|
|
583
|
+
enum: ['health', 'version', 'logs', 'list_pictures', 'get_picture', 'list_voices'],
|
|
584
|
+
description: 'System action'
|
|
585
|
+
},
|
|
586
|
+
folder_name: { type: 'string', description: 'Folder name - for get_picture' },
|
|
587
|
+
file_name: { type: 'string', description: 'File name - for get_picture' },
|
|
588
|
+
stream: { type: 'boolean', description: 'Stream logs' }
|
|
589
|
+
},
|
|
590
|
+
required: ['action']
|
|
591
|
+
},
|
|
592
|
+
annotations: {
|
|
593
|
+
readOnlyHint: true,
|
|
594
|
+
destructiveHint: false,
|
|
595
|
+
idempotentHint: true,
|
|
596
|
+
openWorldHint: false
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
];
|
|
600
|
+
//# sourceMappingURL=tools-consolidated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t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,EAAE,WAAW,EAAE,6BAA6B,EAAE;aACvE;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;QACD,WAAW,EAAE;YACX,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,KAAK;YACtB,cAAc,EAAE,IAAI;YACpB,aAAa,EAAE,KAAK;SACrB;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;;;;;;;;;;;;uCAYsB;QACnC,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC;oBAClF,WAAW,EAAE,eAAe;iBAC7B;gBACD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+BAA+B,EAAE;gBAC7E,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,6BAA6B,EAAE;gBACzE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE;aACxD;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;QACD,WAAW,EAAE;YACX,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,KAAK;YACtB,cAAc,EAAE,IAAI;YACpB,aAAa,EAAE,KAAK;SACrB;KACF;CACF,CAAC"}
|
package/dist/mcp/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/mcp/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/mcp/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAukF5C,CAAC"}
|