langflow-mcp-server 4.12.2 → 4.13.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/README.md +17 -11
- package/dist/mcp/server-consolidated.d.ts.map +1 -1
- package/dist/mcp/server-consolidated.js +3 -2
- package/dist/mcp/server-consolidated.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +3 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools-consolidated.d.ts.map +1 -1
- package/dist/mcp/tools-consolidated.js +21 -12
- package/dist/mcp/tools-consolidated.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +30 -14
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/validation-consolidated.d.ts +24 -7
- package/dist/mcp/validation-consolidated.d.ts.map +1 -1
- package/dist/mcp/validation-consolidated.js +21 -7
- package/dist/mcp/validation-consolidated.js.map +1 -1
- package/dist/mcp/validation.d.ts +24 -5
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +22 -7
- package/dist/mcp/validation.js.map +1 -1
- package/dist/services/langflow-client.d.ts +5 -5
- package/dist/services/langflow-client.d.ts.map +1 -1
- package/dist/services/langflow-client.js +37 -20
- package/dist/services/langflow-client.js.map +1 -1
- package/dist/types/index.d.ts +17 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +8 -8
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,EAs9I5C,CAAC"}
|
package/dist/mcp/tools.js
CHANGED
|
@@ -1912,7 +1912,7 @@ Related Tools:
|
|
|
1912
1912
|
},
|
|
1913
1913
|
{
|
|
1914
1914
|
name: 'get_monitor_messages',
|
|
1915
|
-
description: 'Query
|
|
1915
|
+
description: 'Query a window of chat messages filtered by flow, session, sender, or sender name. Langflow selects the newest 100 by default (maximum 200; limit 0 uses the default). Use offset to page into older history; order and order_by sort within the selected window.',
|
|
1916
1916
|
inputSchema: {
|
|
1917
1917
|
type: 'object',
|
|
1918
1918
|
properties: {
|
|
@@ -1935,6 +1935,11 @@ Related Tools:
|
|
|
1935
1935
|
order_by: {
|
|
1936
1936
|
type: 'string',
|
|
1937
1937
|
description: 'Optional field to order results by (default: timestamp)'
|
|
1938
|
+
},
|
|
1939
|
+
limit: { type: 'integer', minimum: 0, description: 'Window size; omitted or 0 uses 100, upstream clamps values above 200' },
|
|
1940
|
+
offset: { type: 'integer', minimum: 0, description: 'Messages to skip from newest history (default: 0)' },
|
|
1941
|
+
order: {
|
|
1942
|
+
type: 'string', enum: ['ASC', 'DESC'], description: 'Display order within the selected window (default: ASC)'
|
|
1938
1943
|
}
|
|
1939
1944
|
}
|
|
1940
1945
|
},
|
|
@@ -1947,7 +1952,7 @@ Related Tools:
|
|
|
1947
1952
|
},
|
|
1948
1953
|
{
|
|
1949
1954
|
name: 'get_monitor_message',
|
|
1950
|
-
description: '
|
|
1955
|
+
description: 'Find a message by ID by scanning history in windows of 200 within the configured request timeout (default: 30 seconds). A timeout is reported if the lookup budget expires. For large histories, use get_monitor_messages with flow or session filters and offset paging.',
|
|
1951
1956
|
inputSchema: {
|
|
1952
1957
|
type: 'object',
|
|
1953
1958
|
properties: {
|
|
@@ -1968,14 +1973,15 @@ Related Tools:
|
|
|
1968
1973
|
},
|
|
1969
1974
|
{
|
|
1970
1975
|
name: 'get_monitor_sessions',
|
|
1971
|
-
description: 'List
|
|
1976
|
+
description: 'List the newest chat session IDs, optionally filtered by flow. Langflow returns 100 by default, at most 200; limit 0 uses the default. Sessions are ordered by latest message timestamp descending. Older sessions beyond the cap are not returned.',
|
|
1972
1977
|
inputSchema: {
|
|
1973
1978
|
type: 'object',
|
|
1974
1979
|
properties: {
|
|
1975
1980
|
flow_id: {
|
|
1976
1981
|
type: 'string',
|
|
1977
1982
|
description: 'Optional flow ID (UUID) to filter sessions by flow'
|
|
1978
|
-
}
|
|
1983
|
+
},
|
|
1984
|
+
limit: { type: 'integer', minimum: 0, description: 'Session limit; omitted or 0 uses 100, upstream clamps values above 200' }
|
|
1979
1985
|
}
|
|
1980
1986
|
},
|
|
1981
1987
|
annotations: {
|
|
@@ -1987,14 +1993,17 @@ Related Tools:
|
|
|
1987
1993
|
},
|
|
1988
1994
|
{
|
|
1989
1995
|
name: 'get_monitor_session_messages',
|
|
1990
|
-
description: 'Get
|
|
1996
|
+
description: 'Get a window of messages for a session. Langflow selects the newest 100 by default (maximum 200; limit 0 uses the default), displayed in timestamp ASC order unless order is supplied. Use offset to page into older history.',
|
|
1991
1997
|
inputSchema: {
|
|
1992
1998
|
type: 'object',
|
|
1993
1999
|
properties: {
|
|
1994
2000
|
session_id: {
|
|
1995
2001
|
type: 'string',
|
|
1996
2002
|
description: 'Session ID to retrieve messages for'
|
|
1997
|
-
}
|
|
2003
|
+
},
|
|
2004
|
+
limit: { type: 'integer', minimum: 0, description: 'Window size; omitted or 0 uses 100, upstream clamps values above 200' },
|
|
2005
|
+
offset: { type: 'integer', minimum: 0, description: 'Messages to skip from newest session history (default: 0)' },
|
|
2006
|
+
order: { type: 'string', enum: ['ASC', 'DESC'], description: 'Display order within the selected window (default: ASC)' }
|
|
1998
2007
|
},
|
|
1999
2008
|
required: ['session_id']
|
|
2000
2009
|
},
|
|
@@ -2241,7 +2250,7 @@ Related Tools:
|
|
|
2241
2250
|
},
|
|
2242
2251
|
{
|
|
2243
2252
|
name: 'reset_user_password',
|
|
2244
|
-
description: '
|
|
2253
|
+
description: 'Unsupported with API-key authentication in Langflow 1.13. This tool returns interactive_login_required without sending the password. Sign in to Langflow interactively to change your password.',
|
|
2245
2254
|
inputSchema: {
|
|
2246
2255
|
type: 'object',
|
|
2247
2256
|
properties: {
|
|
@@ -3093,13 +3102,16 @@ Related Tools:
|
|
|
3093
3102
|
},
|
|
3094
3103
|
{
|
|
3095
3104
|
name: 'get_shared_messages',
|
|
3096
|
-
description: 'Get shared (playground) messages for a source flow, optionally filtered by session and
|
|
3105
|
+
description: 'Get a window of shared (playground) messages for a source flow, optionally filtered by session. Langflow selects the newest 100 by default (maximum 200; limit 0 uses the default). Use offset to page into older history; order and order_by sort within the selected window.',
|
|
3097
3106
|
inputSchema: {
|
|
3098
3107
|
type: 'object',
|
|
3099
3108
|
properties: {
|
|
3100
3109
|
source_flow_id: { type: 'string', description: 'Source flow ID' },
|
|
3101
3110
|
session_id: { type: 'string', description: 'Optional session ID filter' },
|
|
3102
|
-
order_by: { type: 'string', description: 'Optional order-by field' }
|
|
3111
|
+
order_by: { type: 'string', description: 'Optional order-by field' },
|
|
3112
|
+
limit: { type: 'integer', minimum: 0, description: 'Window size; omitted or 0 uses 100, upstream clamps values above 200' },
|
|
3113
|
+
offset: { type: 'integer', minimum: 0, description: 'Messages to skip from newest history (default: 0)' },
|
|
3114
|
+
order: { type: 'string', enum: ['ASC', 'DESC'], description: 'Display order within the selected window (default: ASC)' }
|
|
3103
3115
|
},
|
|
3104
3116
|
required: ['source_flow_id']
|
|
3105
3117
|
},
|
|
@@ -3107,11 +3119,12 @@ Related Tools:
|
|
|
3107
3119
|
},
|
|
3108
3120
|
{
|
|
3109
3121
|
name: 'get_shared_sessions',
|
|
3110
|
-
description: '
|
|
3122
|
+
description: 'List the newest shared session IDs for a source flow, ordered by latest message timestamp descending. Langflow returns 100 by default, at most 200; limit 0 uses the default. Older sessions beyond the cap are not returned.',
|
|
3111
3123
|
inputSchema: {
|
|
3112
3124
|
type: 'object',
|
|
3113
3125
|
properties: {
|
|
3114
|
-
source_flow_id: { type: 'string', description: 'Source flow ID' }
|
|
3126
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' },
|
|
3127
|
+
limit: { type: 'integer', minimum: 0, description: 'Session limit; omitted or 0 uses 100, upstream clamps values above 200' }
|
|
3115
3128
|
},
|
|
3116
3129
|
required: ['source_flow_id']
|
|
3117
3130
|
},
|
|
@@ -3849,7 +3862,7 @@ Related Tools:
|
|
|
3849
3862
|
properties: {
|
|
3850
3863
|
team_id: { type: 'string', description: 'Team ID' },
|
|
3851
3864
|
user_id: { type: 'string', description: 'User ID to add' },
|
|
3852
|
-
source: { type: 'string',
|
|
3865
|
+
source: { type: 'string', enum: ['manual'], description: 'Manual membership only; directory-managed memberships cannot be created here' }
|
|
3853
3866
|
},
|
|
3854
3867
|
required: ['team_id', 'user_id']
|
|
3855
3868
|
},
|
|
@@ -4473,7 +4486,7 @@ Related Tools:
|
|
|
4473
4486
|
},
|
|
4474
4487
|
{
|
|
4475
4488
|
name: 'replace_policy_bundle',
|
|
4476
|
-
description: 'Atomically replace the provider
|
|
4489
|
+
description: 'Atomically replace the complete provider, catalog, model and integration policy bundle using an expected revision (Langflow 1.13). Read the current bundle and supply every list; empty lists explicitly clear that policy.',
|
|
4477
4490
|
inputSchema: {
|
|
4478
4491
|
type: 'object',
|
|
4479
4492
|
properties: {
|
|
@@ -4482,9 +4495,12 @@ Related Tools:
|
|
|
4482
4495
|
blocked_component_keys: { type: 'array', items: { type: 'string' } },
|
|
4483
4496
|
blocked_template_keys: { type: 'array', items: { type: 'string' } },
|
|
4484
4497
|
blocked_model_keys: { type: 'array', items: { type: 'string' } },
|
|
4498
|
+
approved_integration_provider_ids: { type: 'array', items: { type: 'string' } },
|
|
4499
|
+
blocked_integration_action_keys: { type: 'array', items: { type: 'string' }, description: 'Action policy keys from loaded integration capabilities, in integrations.<provider_id>.<action> format' },
|
|
4485
4500
|
reason: { type: ['string', 'null'], description: 'Optional change reason, max 1024 characters' }
|
|
4486
4501
|
},
|
|
4487
|
-
required: ['expected_revision', 'approved_provider_ids', 'blocked_component_keys', 'blocked_template_keys'
|
|
4502
|
+
required: ['expected_revision', 'approved_provider_ids', 'blocked_component_keys', 'blocked_template_keys',
|
|
4503
|
+
'blocked_model_keys', 'approved_integration_provider_ids', 'blocked_integration_action_keys']
|
|
4488
4504
|
},
|
|
4489
4505
|
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
4490
4506
|
},
|