Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port (only used when MCP_MODE=http)3000
MCP_MODENoTransport mode: stdio or httpstdio
LOG_LEVELNoLogging level (debug, info, warn, error)info
AUTH_TOKENNoAuthentication token for HTTP mode
LANGFLOW_API_KEYYesAPI key for Langflow authentication
LANGFLOW_BASE_URLYesBase URL of the Langflow instancehttp://localhost:7860
LANGFLOW_CONSOLIDATED_TOOLSNoSet to 'true' to enable consolidated mode (27 tools instead of 209)false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_flowA

Create a new Langflow workflow with optional configuration and organization.

Purpose: Initialize a new flow in your Langflow instance. Use this to create workflows from scratch or with predefined structure. The flow can be organized into folders and configured with initial data including nodes, edges, and component settings.

Parameters:

  • name (required, string, max: 255 chars): The display name of the flow (must be unique within folder)

  • description (optional, string): Brief explanation of flow's purpose and functionality

  • data (optional, object): Initial flow configuration containing nodes, edges, and component definitions

  • folder_id (optional, UUID string): ID of parent folder for organization (use list_folders to get valid IDs)

Returns: FlowRead object containing:

  • id (UUID): Newly created flow's unique identifier (save this for future operations)

  • name (string): Flow display name

  • description (string): Flow description

  • folder_id (UUID): Parent folder if specified

  • user_id (UUID): Owner user identifier

  • created_at, updated_at (ISO timestamps): Creation and modification timestamps

  • data (object): Complete flow structure with nodes and edges

Usage Examples:

  1. Create minimal flow: { name: "My Workflow" }

  2. Flow with description: { name: "Data Pipeline", description: "Processes user data" }

  3. Flow in folder: { name: "API Flow", folder_id: "folder-uuid-here" }

  4. Flow with structure: { name: "Chat Bot", data: { nodes: [...], edges: [...] } }

Best Practices:

  • Use descriptive names that indicate flow purpose (e.g., "Customer Onboarding" not "Flow1")

  • Add descriptions to document flow functionality for team collaboration

  • Organize related flows using folder_id for better project management

  • Start with minimal configuration, then use update_flow to add complexity

  • Validate data structure before passing complex flow configurations

Common Errors:

  • "Flow name already exists": Choose a unique name or specify different folder_id

  • "Invalid folder ID": Ensure folder_id is valid UUID from list_folders

  • "Name is required": Must provide name parameter

  • "Data validation failed": Check that data object follows Langflow schema structure

  • "Unauthorized": Verify LANGFLOW_API_KEY is valid

Related Tools:

  • list_flows: View all created flows

  • update_flow: Modify flow after creation

  • get_flow: Retrieve full flow details by ID

  • upload_flow: Import flow from JSON file instead of creating from scratch

  • create_folder: Create folders before organizing flows

list_flowsA

List Langflow flows with flexible filtering and pagination.

Purpose: Retrieve flows from your Langflow instance with optional pagination and organization filters. Essential for discovering available workflows, managing large flow collections, and browsing flows within specific folders.

Parameters:

  • page (optional, number, default: 1, min: 1): Page number for pagination

  • size (optional, number, default: 50, max: 100): Number of flows per page

  • folder_id (optional, UUID string): Filter flows within a specific folder

  • components_only (optional, boolean, default: false): Return only component flows (reusable flow components)

  • get_all (optional, boolean, default: true): Retrieve all flows ignoring pagination (use with caution for large datasets)

Returns: Array of FlowRead objects containing:

  • id (UUID): Unique flow identifier

  • name (string): Flow display name

  • description (string): Flow purpose description

  • folder_id (UUID): Parent folder if organized

  • user_id (UUID): Owner user identifier

  • created_at, updated_at (ISO timestamps): Flow lifecycle dates

  • data (object): Flow configuration with nodes, edges, and component definitions

Usage Examples:

  1. List recent flows (default): {}

  2. Paginate through flows: { page: 2, size: 20 }

  3. Flows in specific folder: { folder_id: "uuid-here" }

  4. Get all component flows: { components_only: true, get_all: true }

Best Practices:

  • Use pagination (page/size) for better performance instead of get_all

  • Filter by folder_id when working within organized projects

  • Keep page size <= 50 for optimal response times

  • Cache folder_id values to reduce API calls

  • Use get_all sparingly, only when you need complete dataset

Common Errors:

  • "Page size cannot exceed 100": Reduce size parameter to 100 or less

  • "Invalid folder ID format": Ensure folder_id is a valid UUID (use list_folders to get valid IDs)

  • Empty results: Check if folder_id exists or try removing filters

  • Connection timeout: Reduce page size or enable pagination instead of get_all

Related Tools:

  • create_flow: Create new flows after listing existing ones

  • get_flow: Retrieve complete flow details by ID from this list

  • list_folders: Find valid folder_id values for filtering

  • update_flow: Modify flows found in this list

  • delete_flow: Remove flows identified in this list

get_flowA

Retrieve complete details and configuration of a specific flow.

Purpose: Fetch comprehensive information about a flow including its full node graph, component configurations, connections, and metadata. Essential for inspecting flow structure, debugging workflows, and preparing flows for modification or execution.

Parameters:

  • flow_id (required, UUID string): The unique identifier of the flow to retrieve (obtained from list_flows or create_flow)

Returns: FlowRead object containing:

  • id (UUID): Flow's unique identifier

  • name (string): Flow display name

  • description (string): Flow purpose description

  • folder_id (UUID): Parent folder identifier if organized

  • user_id (UUID): Owner user identifier

  • created_at, updated_at (ISO timestamps): Flow lifecycle timestamps

  • data (object): Complete flow structure including:

    • nodes (array): All component nodes with their configurations

    • edges (array): Connections between nodes

    • viewport (object): Canvas positioning data

    • description (string): Flow-level documentation

Usage Examples:

  1. Get flow details: { flow_id: "550e8400-e29b-41d4-a716-446655440000" }

  2. Inspect before modification: { flow_id: "flow-uuid-from-list" }

  3. Debug flow structure: { flow_id: "failing-flow-uuid" }

Best Practices:

  • Use list_flows first to discover available flow_id values

  • Cache flow data locally to reduce API calls when repeatedly accessing same flow

  • Check updated_at timestamp to detect if flow changed since last retrieval

  • Inspect data.nodes to understand flow's component structure

  • Review data.edges to trace data flow between components

  • Validate flow_id format (must be valid UUID) before making request

Common Errors:

  • "Flow not found": flow_id doesn't exist or was deleted (verify with list_flows)

  • "Invalid UUID format": flow_id must be valid UUID string (e.g., "550e8400-e29b-41d4-a716-446655440000")

  • "Unauthorized": API key lacks permission to access this flow

  • "Flow ID is required": Must provide flow_id parameter

  • Connection timeout: Check Langflow instance availability and network connectivity

Related Tools:

  • list_flows: Find available flow_id values

  • update_flow: Modify flow configuration after retrieval

  • run_flow: Execute flow after inspecting its structure

  • build_flow: Compile and validate flow structure

  • delete_flow: Remove flow after inspection confirms it's no longer needed

update_flowA

Modify existing flow properties, configuration, or organization.

Purpose: Update flow metadata (name, description), modify flow structure (nodes, edges, components), or reorganize flows into different folders. Essential for maintaining flows, fixing configurations, renaming workflows, and managing project organization over time.

Parameters:

  • flow_id (required, UUID string): Unique identifier of flow to update (from list_flows or get_flow)

  • name (optional, string, max: 255 chars): New display name for the flow

  • description (optional, string): Updated purpose and functionality description

  • data (optional, object): New flow structure with nodes, edges, and component configurations

  • folder_id (optional, UUID string): Move flow to different folder (use list_folders for valid IDs, null for root level)

Returns: FlowRead object containing:

  • id (UUID): Flow's unique identifier (unchanged)

  • name (string): Updated flow name

  • description (string): Updated description

  • folder_id (UUID): New folder location

  • user_id (UUID): Owner identifier

  • created_at (ISO timestamp): Original creation time (unchanged)

  • updated_at (ISO timestamp): Timestamp of this update

  • data (object): Complete updated flow structure

Usage Examples:

  1. Rename flow: { flow_id: "flow-uuid", name: "Improved Customer Bot" }

  2. Update description: { flow_id: "flow-uuid", description: "Processes customer inquiries with sentiment analysis" }

  3. Move to folder: { flow_id: "flow-uuid", folder_id: "folder-uuid" }

  4. Move to root: { flow_id: "flow-uuid", folder_id: null }

  5. Update structure: { flow_id: "flow-uuid", data: { nodes: [...], edges: [...] } }

  6. Rename and move: { flow_id: "flow-uuid", name: "New Name", folder_id: "folder-uuid" }

Best Practices:

  • Get current flow data with get_flow before updating to avoid overwriting changes

  • Only specify fields you want to change (partial updates supported)

  • Rebuild flow with build_flow after data modifications to validate changes

  • Use descriptive names and descriptions for team collaboration

  • Update description when flow functionality changes significantly

  • Move flows to appropriate folders to maintain organization

  • Verify folder_id exists before moving (use list_folders)

  • Update flow name if purpose or functionality changes

Common Errors:

  • "Flow not found": flow_id doesn't exist or was deleted (verify with list_flows)

  • "Flow name already exists": Choose unique name within target folder

  • "Invalid folder ID": folder_id is not valid UUID (use list_folders to get valid IDs)

  • "Folder not found": Specified folder_id doesn't exist

  • "Invalid flow data structure": data object doesn't match Langflow schema

  • "Concurrent modification": Flow was updated by another user (re-fetch with get_flow)

  • "flow_id is required": Must provide flow_id parameter

  • "Unauthorized": API key lacks permission to modify this flow

Related Tools:

  • get_flow: Retrieve current flow state before updating

  • build_flow: Validate flow after data modifications

  • list_flows: Find flow_id for flows to update

  • list_folders: Get valid folder_id values for reorganization

  • create_flow: Create new flow instead of modifying existing one

delete_flowA

Permanently remove a single flow from Langflow instance.

Purpose: Delete flows that are no longer needed, removing obsolete workflows, or cleaning up test/development flows. This operation is destructive and irreversible - deleted flows cannot be recovered unless previously backed up via download_flows.

Parameters:

  • flow_id (required, UUID string): Unique identifier of flow to delete (from list_flows or get_flow)

Returns: Success object containing:

  • success (boolean): true if deletion succeeded

  • message (string): Confirmation message

Usage Examples:

  1. Delete single flow: { flow_id: "550e8400-e29b-41d4-a716-446655440000" }

  2. Remove test flow: { flow_id: "test-flow-uuid" }

Best Practices:

  • Download flow backup with download_flows before deletion if you might need it later

  • Verify flow_id is correct using get_flow before deleting to avoid mistakes

  • Check if flow is used in production or referenced by other systems before deletion

  • Document why flow was deleted for audit purposes

  • For deleting multiple flows, use delete_flows (batch operation) instead

  • Review flow contents one final time before permanent removal

  • Consider archiving flows to dedicated folder instead of deleting

  • Ensure no running jobs or active sessions using this flow

Common Errors:

  • "Flow not found": flow_id doesn't exist or already deleted (verify with list_flows)

  • "Invalid UUID format": flow_id must be valid UUID string

  • "Cannot delete running flow": Flow has active execution (wait for completion or cancel)

  • "flow_id is required": Must provide flow_id parameter

  • "Unauthorized": API key lacks permission to delete this flow

  • "Flow is referenced": Flow is used as component in other flows (remove references first)

Related Tools:

  • download_flows: Backup flow before deletion for potential recovery

  • list_flows: Find flow_id for flows to delete

  • get_flow: Inspect flow before deletion to confirm it's the right one

  • delete_flows: Delete multiple flows at once (more efficient for bulk operations)

delete_flowsA

Delete multiple flows at once. Pass array of flow IDs.

list_componentsA

List all available Langflow components. Returns components with their types, names, and descriptions.

run_flowA

Execute a Langflow flow with inputs and retrieve execution results.

Purpose: Run a workflow and receive its outputs. Essential for testing flows, integrating workflows into applications, and automating tasks. Supports both synchronous execution and streaming for real-time responses from LLM-based flows.

Parameters:

  • flow_id_or_name (required, string): Flow identifier (UUID) or flow name (case-sensitive)

  • input_request (required, object): Execution configuration containing:

    • input_value (optional, string): Primary input data for the flow (e.g., user message, data to process)

    • output_component (optional, string): Specific output component to return

    • output_type (optional, string): Expected output format (e.g., "chat", "text", "json")

    • input_type (optional, string): Type of input being provided (e.g., "chat", "text", "json")

    • session_id (optional, string): Session ID for conversation continuity

    • tweaks (optional, object): Component-specific parameter overrides (key: component_id, value: parameter object)

  • context (optional, object): Request context passed alongside the input request

  • stream (optional, boolean, default: false): Streaming is currently rejected by this MCP client because streamed responses are not JSON serializable

Returns: RunResponse object containing:

  • outputs (array): Flow execution results from output components

  • session_id (string): Unique session identifier for conversation continuity

  • Additional fields vary by flow configuration (message, data, artifacts)

Usage Examples:

  1. Simple execution: { flow_id_or_name: "my-chatbot", input_request: { input_value: "Hello" } }

  2. With output type: { flow_id_or_name: "data-processor", input_request: { input_value: "data", output_type: "json" } }

  3. With context: { flow_id_or_name: "llm-chat", input_request: { input_value: "Explain AI" }, context: { tenant: "acme" } }

  4. With tweaks: { flow_id_or_name: "flow-uuid", input_request: { input_value: "test", tweaks: { "component-id": { temperature: 0.7 } } } }

Best Practices:

  • Use flow ID (UUID) for production; names may change or conflict

  • Build flow first with build_flow to ensure it's valid before execution

  • Leave stream false; this MCP client currently returns JSON tool responses only

  • Cache session_id for multi-turn conversations to maintain context

  • Set appropriate timeout values for long-running flows

  • Test flows with various inputs before production deployment

  • Use tweaks sparingly; prefer configuring flows in Langflow UI

Common Errors:

  • "Flow not found": Verify flow_id_or_name exists using list_flows

  • "Flow has not been built": Run build_flow before executing

  • "Invalid input configuration": Ensure input_request matches flow's expected inputs

  • "Component configuration error": Check tweaks object matches component IDs and parameter names

  • "Execution timeout": Flow took too long; increase timeout or optimize flow

  • "Missing required input": Flow expects input_value but none provided

Related Tools:

  • build_flow: Compile flow before execution to validate structure

  • get_flow: Inspect flow structure to understand required inputs

  • get_build_status: Check build completion before running flow

  • trigger_webhook: Alternative execution method via webhook endpoint

  • list_flows: Find available flows to execute

trigger_webhookB

Trigger a flow via webhook endpoint. Simplified API for webhook-based flow execution.

upload_flowB

Upload a flow from file data. Provide an object with name, content (stringified JSON), and optional type fields.

download_flowsA

Download flows as JSON export. Exports multiple flows for backup or transfer.

get_basic_examplesA

Get basic example flows. Returns a list of pre-built example flows for learning and templates.

list_foldersA

List all folders with pagination for organizing flows hierarchically.

Purpose: Retrieve folders from your Langflow instance to discover organizational structure and obtain folder IDs for flow organization. Essential for understanding project hierarchy, finding folders for flow placement, and managing workspace organization.

Parameters:

  • page (optional, number, default: 1, min: 1): Page number for pagination

  • size (optional, number, default: 50, max: 100): Number of folders per page

Returns: Array of FolderRead objects containing:

  • id (UUID): Unique folder identifier (use as folder_id in create_flow or update_flow)

  • name (string): Folder display name

  • description (string): Folder purpose description

  • parent_id (UUID): Parent folder ID if nested, null for root-level folders

  • created_at, updated_at (ISO timestamps): Folder lifecycle timestamps

Usage Examples:

  1. List all folders (default): {}

  2. Paginate through folders: { page: 2, size: 25 }

  3. Get first 10 folders: { page: 1, size: 10 }

Best Practices:

  • Call this before create_flow to find appropriate folder_id for organization

  • Use pagination for large folder collections to improve performance

  • Cache folder IDs and names to reduce API calls

  • Check parent_id to understand folder hierarchy and nesting structure

  • Keep page size <= 50 for optimal response times

  • Map folder IDs to names for user-friendly displays in UIs

Common Errors:

  • "Page size cannot exceed 100": Reduce size parameter to 100 or less

  • "Invalid page number": page must be >= 1

  • Empty results: No folders exist (create folders with create_folder)

  • Connection timeout: Reduce page size or check Langflow instance availability

Related Tools:

  • create_folder: Create new folders after reviewing existing organization

  • get_folder: Retrieve detailed information about specific folder

  • create_flow: Use folder_id from this list to organize new flows

  • update_folder: Modify folder properties found in this list

  • list_flows: Filter flows by folder_id obtained from this list

create_folderA

Create a new folder for organizing flows with optional nested hierarchy.

Purpose: Establish organizational structure in Langflow by creating folders to group related flows. Supports hierarchical organization through nested folders, enabling project-based or team-based flow management. Essential for maintaining organized workspace with many flows.

Parameters:

  • name (required, string, max: 255 chars): Folder display name (should be descriptive and unique)

  • description (optional, string): Purpose and contents description for documentation

  • parent_id (optional, UUID string): Parent folder ID for creating nested subfolder hierarchy (use list_folders to find valid parent IDs)

Returns: FolderRead object containing:

  • id (UUID): Newly created folder's unique identifier (use this as folder_id when creating/organizing flows)

  • name (string): Folder display name

  • description (string): Folder description

  • parent_id (UUID): Parent folder ID if nested, null for root-level folder

  • created_at, updated_at (ISO timestamps): Folder lifecycle timestamps

Usage Examples:

  1. Create root folder: { name: "Production Flows" }

  2. Folder with description: { name: "Customer Services", description: "Customer-facing automation workflows" }

  3. Create nested subfolder: { name: "API Integrations", parent_id: "parent-folder-uuid" }

  4. Project organization: { name: "Q1 2024 Project", description: "First quarter automation initiatives" }

Best Practices:

  • Use descriptive, hierarchical names (e.g., "Marketing/Email Campaigns" structure via nesting)

  • Add descriptions to document folder purpose and ownership

  • Plan folder hierarchy before creation (root categories, then subcategories)

  • Create folders before flows to enable immediate organization

  • Use consistent naming conventions across team (e.g., "Team - Project - Category")

  • Limit nesting depth to 2-3 levels for maintainability

  • Cache created folder IDs for subsequent flow creation operations

Common Errors:

  • "Folder name already exists": Choose unique name or create in different parent folder

  • "Invalid parent folder ID": Ensure parent_id is valid UUID from list_folders

  • "Parent folder not found": parent_id doesn't exist or was deleted

  • "Name is required": Must provide name parameter

  • "Maximum nesting depth exceeded": Too many nested levels (flatten hierarchy)

  • "Circular reference detected": parent_id creates loop in folder structure

Related Tools:

  • list_folders: Browse existing folders before creating new ones

  • update_folder: Modify folder name, description, or move to different parent

  • create_flow: Create flows organized within this folder using returned ID

  • get_folder: Retrieve folder details after creation

  • delete_folder: Remove folder when no longer needed

get_folderB

Get details of a specific folder by ID.

update_folderB

Update an existing folder. Can change name, description, or move to different parent.

delete_folderA

Delete a folder by ID. Warning: This may affect flows in the folder.

list_projectsA

List all projects with optional pagination. Projects group related flows and resources.

create_projectB

Create a new project. Projects help organize and group related flows.

get_projectB

Get details of a specific project by ID.

update_projectB

Update an existing project. Can change name or description.

delete_projectB

Delete a project by ID. Warning: This may affect flows in the project.

upload_projectB

Upload a project from file data. Provide an object with name, content (stringified JSON), and optional type fields.

download_projectA

Download a project as JSON export. Exports project for backup or transfer.

list_variablesB

List all global variables. Variables store reusable values across flows.

create_variableB

Create a new global variable. Variables can be referenced in multiple flows.

update_variableA

Update an existing variable. Can change name, value, or type.

delete_variableA

Delete a variable by ID. Warning: Flows using this variable may be affected.

build_flowA

Compile and validate a flow, returning job ID for asynchronous status monitoring.

Purpose: Build and validate a flow's component graph, ensuring all nodes are properly configured and connected. Essential prerequisite for flow execution - detects configuration errors, validates component parameters, and prepares the flow for running. Returns job_id for tracking build progress asynchronously.

Parameters:

  • flow_id (required, UUID string): Flow identifier to build and validate

  • inputs (optional, object): Input values to use during build validation (key: input_name, value: test_data)

  • data (optional, object): Flow configuration override (use to build modified version without updating flow)

  • files (optional, array of strings): File paths to include in build context

  • stop_component_id (optional, string): Component ID where build should stop (useful for partial validation)

  • start_component_id (optional, string): Component ID where build should start (skip earlier components)

  • log_builds (optional, boolean, default: true): Enable detailed build logging for debugging

  • flow_name (optional, string): Override flow name during build (doesn't affect saved flow)

  • event_delivery (optional, string, default: "polling"): Delivery mode - "polling" (recommended), "streaming", or "direct"

Returns: BuildFlowResponse object containing:

  • job_id (UUID): Unique build job identifier for status polling via get_build_status

Usage Examples:

  1. Basic build: { flow_id: "550e8400-e29b-41d4-a716-446655440000" }

  2. Build with logging: { flow_id: "flow-uuid", log_builds: true }

  3. Build with test inputs: { flow_id: "flow-uuid", inputs: { "user_message": "test" } }

  4. Partial build: { flow_id: "flow-uuid", start_component_id: "node-1", stop_component_id: "node-5" }

  5. Streaming events: { flow_id: "flow-uuid", event_delivery: "streaming" }

Best Practices:

  • Always build flow before first execution to catch configuration errors early

  • Use polling event_delivery for reliable status tracking in production

  • Enable log_builds during development for detailed error diagnostics

  • Rebuild after any flow modifications (nodes, edges, parameters)

  • Monitor build status with get_build_status using returned job_id

  • Use partial builds (start/stop component) for faster validation of specific sections

  • Validate inputs during build to ensure flow accepts expected data format

  • Cache successful build status to avoid unnecessary rebuilds

Common Errors:

  • "Flow not found": flow_id doesn't exist (verify with list_flows or get_flow)

  • "Invalid flow configuration": Flow has disconnected nodes or missing required parameters

  • "Component validation failed": Node configuration is invalid (check component settings in Langflow UI)

  • "Missing required component parameters": Required fields not set on components

  • "Build timeout": Complex flow took too long; simplify or optimize component chain

  • "Invalid component ID": start_component_id or stop_component_id doesn't exist in flow

  • "Circular dependency detected": Flow has loop in node connections

Related Tools:

  • get_build_status: Poll build completion and retrieve validation results using job_id

  • run_flow: Execute flow after successful build

  • get_flow: Inspect flow structure before building

  • cancel_build: Stop long-running build job

  • update_flow: Fix configuration errors found during build

get_build_statusA

Get build status and events for a specific build job. Use polling mode to check async build progress.

cancel_buildB

Cancel a running build job. Stops the build process for the specified job.

build_public_flowB

Build a public flow without authentication using Langflow 1.11.x public-build semantics.

get_public_build_eventsC

Get events for a public flow build job, including streaming event payloads.

cancel_public_buildC

Cancel a public flow build job.

list_knowledge_basesA

List all knowledge bases for Retrieval-Augmented Generation (RAG) workflows.

Purpose: Discover available knowledge bases containing document collections for RAG applications. Essential for understanding what document repositories are available, finding knowledge bases for flow integration, and managing document-based AI applications.

Parameters: None

Returns: Array of KnowledgeBaseInfo objects containing:

  • name (string): Knowledge base identifier/name (use this in get_knowledge_base or delete_knowledge_base)

  • description (string): Purpose and contents description

  • Additional metadata varies by knowledge base implementation (document count, vector store info, embedding model)

Usage Examples:

  1. List all knowledge bases: {}

Best Practices:

  • Call this before integrating knowledge bases into RAG flows to verify availability

  • Use knowledge base names in Langflow's Vector Store or RAG components

  • Document which flows use which knowledge bases for dependency tracking

  • Monitor knowledge base list to identify unused repositories for cleanup

  • Cache knowledge base names for flow configuration validation

  • Verify knowledge base exists before flow execution to avoid runtime errors

Common Errors:

  • Empty results: No knowledge bases configured (create knowledge bases in Langflow UI or via API)

  • Connection timeout: Check Langflow instance availability and vector store connectivity

  • "Knowledge base service unavailable": Vector store backend not configured or unreachable

Related Tools:

  • get_knowledge_base: Retrieve detailed information about specific knowledge base

  • delete_knowledge_base: Remove individual knowledge base when no longer needed

  • bulk_delete_knowledge_bases: Clean up multiple knowledge bases at once

  • create_flow: Build RAG flows using knowledge base names from this list

get_knowledge_baseA

Get detailed information about a specific knowledge base by name.

delete_knowledge_baseA

Delete a specific knowledge base by name. Warning: This will permanently remove the knowledge base.

bulk_delete_knowledge_basesB

Delete multiple knowledge bases at once. Useful for batch cleanup operations.

upload_fileC

Upload a file to a specific flow. Supports multipart/form-data for binary file uploads.

download_fileA

Download a specific file from a flow. Returns file content as base64.

list_filesC

List all files associated with a specific flow.

delete_fileB

Delete a specific file from a flow.

get_file_imageA

Get an image file from a flow. Returns image content as base64.

list_profile_picturesA

List all available profile pictures.

get_profile_pictureB

Get a specific profile picture by folder and file name.

validate_codeA

Validate Python code for custom components. Checks syntax and provides error/warning feedback.

validate_promptB

Validate prompt template syntax. Checks for valid variable syntax and returns extracted variables.

check_storeA

Check if the Langflow component store is enabled and accessible.

check_store_api_keyB

Validate a store API key for accessing the Langflow component store.

list_store_componentsA

Browse available components in the Langflow store. Supports pagination, filtering by tags, and search.

get_store_componentB

Get detailed information about a specific store component.

list_store_tagsB

List all available component tags in the store.

get_user_likesA

Get components liked by the current user.

run_flow_advancedC

Advanced flow execution using Langflow 1.11.x input/output request arrays, tweaks, sessions, and streaming.

run_flow_sessionB

Execute a flow with session-based state management. Maintains conversation context across multiple calls using the same session ID.

get_registrationA

Get current user registration status from Langflow. Returns whether the user is registered and their email if available.

register_userB

Register a new user with Langflow using their email address.

process_flowB

Legacy process endpoint for backward compatibility. Processes a flow with inputs and optional tweaks.

predict_flowA

Legacy predict endpoint for backward compatibility. Predicts flow output with inputs and optional tweaks.

get_monitor_buildsA

Get build execution history for a specific flow. Retrieves vertex build map model containing build status and execution details. Essential for monitoring flow build history, debugging build failures, and tracking build performance over time.

get_monitor_messagesB

Query chat/message history with flexible filtering options. Retrieve messages filtered by flow ID, session, sender, or sender name. Supports custom ordering for chronological or reverse-chronological message retrieval. Essential for debugging chat flows, analyzing conversation patterns, and monitoring user interactions.

get_monitor_messageA

Get detailed information about a specific message by ID. Retrieves complete message data including sender, content, timestamp, and metadata. Useful for inspecting individual message details and debugging message-related issues.

get_monitor_sessionsA

List all chat session IDs, optionally filtered by flow. Returns array of session identifiers that can be used to query session-specific messages. Essential for discovering active sessions, monitoring concurrent users, and analyzing session patterns.

get_monitor_session_messagesA

Get all messages for a specific session ID. Retrieves complete conversation history for a session in chronological order. Essential for reviewing full conversation context, debugging session-specific issues, and analyzing user interactions within a session.

migrate_monitor_sessionB

Migrate messages from old session ID to new session ID. Updates all messages from the old session to belong to the new session, effectively merging or renaming sessions. Useful for session continuity, combining split sessions, or correcting session identifiers.

get_monitor_transactionsA

List transaction logs for a flow with pagination support. Retrieves detailed transaction history including execution logs, API calls, and system events. Essential for debugging flow execution, analyzing performance bottlenecks, and monitoring API usage patterns.

delete_monitor_buildsA

Delete build history for a specific flow. Removes all stored build execution records to clean up old data and free storage space. Use cautiously as this permanently removes build history that may be useful for debugging.

delete_monitor_messagesA

Delete multiple messages by their IDs. Batch deletion of message records for cleanup, privacy compliance, or storage management. Permanently removes messages from the system.

build_verticesA

⚠️ DEPRECATED: This endpoint is deprecated in Langflow API 1.6.4 and will be removed in a future version. Use "build_flow" tool instead with start_component_id/stop_component_id for partial builds.

Get vertex build order for a flow. Retrieves the ordered list of vertex IDs representing the build execution sequence. Useful for understanding flow component dependencies, optimizing build performance, and debugging build order issues. Supports partial builds with start/stop component IDs.

stream_vertex_buildA

⚠️ DEPRECATED: This endpoint is deprecated in Langflow API 1.6.4 and will be removed in a future version. Use "get_build_status" tool with event_delivery="streaming" to monitor build progress.

Stream real-time build events for a specific vertex. Provides live updates during vertex build process using server-sent events (SSE). Essential for monitoring long-running component builds, debugging build failures in real-time, and providing live build status to users.

get_versionA

Get Langflow API version information. Retrieves current API version number and related system information. Essential for compatibility checks, debugging version-specific issues, and ensuring client-server version alignment.

list_usersA

List all users in the Langflow instance. Admin-only endpoint. Supports pagination with skip and limit parameters. Returns array of user objects with id, username, email, and other profile information.

get_current_userA

Get information about the currently authenticated user. Returns user profile including id, username, email, is_active, is_superuser status, and profile image.

update_userB

Update user profile information. Can modify username, password, or profile image. Returns updated user object.

reset_user_passwordA

Reset password for a specific user. Admin-only endpoint. Requires user ID and new password (minimum 8 characters). Returns updated user object.

list_api_keysA

List all API keys for the authenticated user. Returns array of API key objects with id, name, created_at, last_used_at, total_uses, and is_active status.

create_api_keyA

Create a new API key with a specified name. Returns the created API key object including the key value (only shown once).

delete_api_keyA

Delete a specific API key by ID. This action is permanent and cannot be undone. The API key will immediately stop working.

create_custom_componentB

Create a new custom component with Python code. Requires component code, name, and optional description and return_type. Returns created component object.

loginA

Authenticate with username and password. Returns access token, optional refresh token, and token type. Use the access token in subsequent API requests.

auto_loginA

Automatically login with stored credentials or session. Returns access token if auto-login is configured and enabled.

refresh_tokenB

Refresh authentication token using refresh token. Returns new access token and optionally a new refresh token.

logoutA

Logout and invalidate current authentication session. Clears authentication tokens and terminates the session.

get_public_flowA

Get a public flow by ID without authentication. Public flows can be accessed by anyone without API key or login credentials.

batch_create_flowsA

Create multiple flows in a single batch operation. More efficient than creating flows individually. Accepts array of flow objects.

get_task_statusA

⚠️ DEPRECATED: This endpoint is deprecated in Langflow API 1.6.4 and will be removed in a future version. Use "get_build_status" tool with job_id instead of task_id.

Get status of an asynchronous task by task ID. Returns task status (pending, running, completed, failed), result if completed, or error if failed.

download_folderB

Download entire folder as compressed archive. Returns archive file containing all flows and resources in the folder.

upload_folderA

Upload folder from compressed archive. Provide base64-encoded file content and filename. Creates folder structure and imports all flows.

list_starter_projectsA

List available starter project templates. Returns array of pre-built project templates that can be used to quickly bootstrap new Langflow projects.

upload_knowledge_baseB

Ingest a file into an existing knowledge base for RAG. Provide knowledge base name, base64-encoded file content, and filename.

list_elevenlabs_voicesA

List available ElevenLabs text-to-speech voices. Returns array of voice objects with voice_id and name for use in voice synthesis flows.

health_checkA

Check Langflow instance health status. Returns health status and system information. Use to verify the API is accessible and operational.

get_logsA

Retrieve system logs. Supports both regular and streaming modes. Use stream parameter to enable real-time log streaming.

replace_flowA

Replace an entire flow (PUT) with new content. Overwrites name, description, data, and folder for the given flow ID.

expand_flowsB

Expand flows by resolving component references into full flow definitions. Pass the expansion request payload as the body object.

get_flow_eventsA

Get the event stream/history for a flow. Optionally filter to events since a given cursor/timestamp.

create_flow_eventB

Create a new event for a flow (e.g. deployment or lifecycle event).

list_flow_versionsA

List saved versions of a flow with optional pagination and deployment provider filter.

create_flow_versionA

Create a new saved version (snapshot) of a flow. Optionally provide a body with version metadata.

get_flow_versionC

Get a specific saved version of a flow by version ID.

delete_flow_versionB

Delete a specific saved version of a flow.

activate_flow_versionA

Activate a specific saved version of a flow, making it the current version. Optionally save the current state as a draft first.

detect_variablesA

Detect global variables referenced by one or more flow versions.

save_store_api_keyA

Save the Langflow Store API key for the current user so store operations are authenticated.

update_custom_componentB

Update a custom component template field, recomputing the frontend node based on the provided code and field changes.

create_store_componentB

Publish a new component to the Langflow Store.

like_store_componentB

Like (or toggle like on) a Langflow Store component.

create_responseB

Create a response via the OpenAI-compatible /responses endpoint using a model and input.

get_sessionA

Get the current authenticated session information.

create_userC

Create a new Langflow user account.

get_webhook_eventsB

Get webhook events for a flow by ID or name. Optionally filter by user ID.

get_health_checkA

Get the detailed health check report from the Langflow server root /health_check endpoint.

list_files_v2B

List user-scoped files via the /api/v2/files endpoint.

upload_file_v2B

Upload a user-scoped file via /api/v2/files. Provide base64 file content and filename; optionally append or mark ephemeral.

get_file_v2A

Get a user-scoped file by ID via /api/v2/files. Optionally return the file content.

rename_file_v2C

Rename a user-scoped file via /api/v2/files.

delete_file_v2C

Delete a user-scoped file by ID via /api/v2/files.

delete_all_files_v2A

Delete ALL user-scoped files via /api/v2/files. This is irreversible.

batch_download_files_v2B

Batch download multiple user-scoped files via /api/v2/files by their IDs.

batch_delete_files_v2B

Batch delete multiple user-scoped files via /api/v2/files by their IDs.

list_knowledge_bases_detailedA

List knowledge bases with detailed metadata (embedding config, chunk counts, etc.).

create_knowledge_baseC

Create a new knowledge base with an embedding provider/model and optional column configuration.

preview_knowledge_base_chunksA

Preview how a file would be chunked for knowledge base ingestion. Provide base64 file content, filename, and optional chunking params.

list_knowledge_base_chunksC

List chunks stored in a knowledge base with optional pagination and search.

ingest_knowledge_baseC

Ingest a file into an existing knowledge base. Provide base64 file content, filename, and optional ingestion params.

cancel_knowledge_base_ingestA

Cancel an in-progress knowledge base ingestion job.

update_monitor_messageC

Update a stored monitor message (text, sender, session, files, or properties).

delete_monitor_session_messagesB

Delete all monitor messages for a given session.

delete_monitor_sessionsB

Delete multiple monitor sessions by their IDs.

get_shared_messagesA

Get shared (playground) messages for a source flow, optionally filtered by session and ordered.

get_shared_sessionsB

Get the list of shared session IDs for a source flow.

update_shared_messageC

Update a shared (playground) message for a source flow.

migrate_shared_sessionC

Migrate a shared session to a new session ID within a source flow.

delete_shared_sessionB

Delete a shared session within a source flow.

list_tracesA

List execution traces with optional filters (flow, session, status, query, time range) and pagination.

delete_tracesB

Delete all traces associated with a flow.

get_traceB

Get a single execution trace by ID.

delete_traceA

Delete a single execution trace by ID.

list_modelsC

List available models with optional filters (provider, name, type, capabilities, search).

list_model_providersC

List all known model providers.

list_enabled_providersA

List enabled model providers, optionally restricted to a given set of provider names.

list_enabled_modelsA

List enabled models, optionally restricted to a given set of model names.

set_enabled_modelsC

Enable or disable specific models by provider and model ID.

get_default_modelC

Get the default model for a given model type.

set_default_modelB

Set the default model (provider + model name) for a given model type.

delete_default_modelA

Delete (clear) the default model for a given model type.

get_provider_variable_mappingC

Get the mapping between model providers and their required global variables.

validate_model_providerA

Validate a model provider configuration with the provided variables (e.g. API keys).

get_language_model_optionsC

Get available language (LLM) model options.

get_embedding_model_optionsC

Get available embedding model options.

agentic_assistC

Request agentic assistance for building or editing a flow component.

agentic_assist_streamC

Request streaming agentic assistance for building or editing a flow component.

agentic_check_configA

Check whether the agentic assistant is configured and available.

agentic_executeC

Execute an agentic assistant flow by name with the given assist request fields.

get_workflow_resultC

Get the result of a workflow run, optionally by job ID.

run_workflowC

Run a Langflow 1.12.x v2 workflow with sync, stream, or background mode.

stop_workflowA

Stop a running workflow job by job ID.

list_mcp_serversA

List configured MCP servers. Optionally include action counts.

get_mcp_serverB

Get the configuration of a specific MCP server by name.

create_mcp_serverB

Create an MCP server configuration (stdio command or remote URL based).

update_mcp_serverA

Update an existing MCP server configuration by name.

delete_mcp_serverB

Delete an MCP server configuration by name.

get_mcp_project_configB

Get the MCP configuration for a project. Optionally filter to only MCP-enabled flows.

update_mcp_project_configB

Update the MCP configuration (settings and auth settings) for a project.

get_mcp_project_installedB

Get the installation status of a project as an MCP server across clients.

install_mcp_projectB

Install a project as an MCP server into a target client, optionally specifying transport.

get_mcp_project_composer_urlC

Get the MCP Composer URL for a project.

list_authz_rolesA

List authorization roles. Optionally filter by system flag or name with pagination.

get_authz_roleB

Get a single authorization role by ID.

create_authz_roleA

Create an authorization role with optional permissions and a parent role.

update_authz_roleB

Update an existing authorization role by ID.

delete_authz_roleB

Delete an authorization role by ID.

list_authz_role_assignmentsB

List role assignments, optionally filtered by user, role, or domain.

create_authz_role_assignmentB

Assign a role to a user, optionally scoped to a domain.

delete_authz_role_assignmentC

Delete a role assignment from a user by its assignment ID.

list_authz_teamsA

List authorization teams, optionally filtered by search term or active flag.

get_authz_teamA

Get a single authorization team by ID.

create_authz_teamB

Create an authorization team within an administrative domain.

update_authz_teamB

Update an existing authorization team by ID.

delete_authz_teamB

Delete an authorization team by ID.

list_authz_team_membersB

List members of an authorization team with pagination.

add_authz_team_memberB

Add a user to an authorization team.

remove_authz_team_memberB

Remove a user from an authorization team.

list_authz_sharesB

List resource shares, optionally filtered by resource, target, or scope.

get_authz_shareB

Get a single resource share by ID.

create_authz_shareB

Share a resource with a scope and optional target and permission level.

update_authz_shareB

Update the permission level of a resource share.

delete_authz_shareB

Delete a resource share by ID.

get_authz_auditC

Query the authorization audit log with filters and pagination.

get_my_permissionsC

Get the calling user effective permissions for a set of resources.

create_memory_baseC

Create a memory base for a flow (experimental, hidden in Langflow OpenAPI).

list_memory_basesB

List memory bases, optionally filtered by flow with pagination.

get_memory_baseA

Get a single memory base by ID.

list_memory_base_sessionsC

List sessions stored in a memory base with pagination.

list_memory_base_messagesB

List messages stored in a memory base, optionally filtered by session.

update_memory_baseB

Update an existing memory base by ID.

delete_memory_baseB

Delete a memory base and its stored memories by ID.

flush_memory_baseB

Flush a memory base session, persisting captured memories.

check_memory_base_mismatchB

Check a memory base for configuration or embedding mismatches.

regenerate_memory_baseC

Regenerate a memory base, rebuilding its stored memories.

test_knowledge_base_connectionC

Test a connection to a knowledge base backend.

list_knowledge_base_connectorsA

List available knowledge base ingestion connectors.

ingest_knowledge_base_folderB

Ingest a local folder into a knowledge base with chunking options.

ingest_knowledge_base_connectorB

Ingest content into a knowledge base from a configured connector source.

get_knowledge_base_metadata_keysB

Get the available metadata keys for a knowledge base.

list_knowledge_base_runsB

List ingestion runs for a knowledge base with pagination.

get_knowledge_base_runC

Get a single knowledge base ingestion run by ID.

reload_extension_bundleB

Reload an extension bundle (requires LANGFLOW_ENABLE_EXTENSION_RELOAD on the server).

get_extension_eventsC

Get extension events for the current user, optionally since a UTC epoch cursor.

get_agentic_fileC

Get an agentic workspace file, optionally as a downloadable payload.

reset_agentic_sessionB

Reset an agentic session, optionally targeting a specific session ID.

get_flow_note_translationsB

Get localized note translations for a flow by ID.

get_job_queue_metricsA

Get job queue metrics (superuser-only).

list_a2a_agentsA

List available A2A (Agent-to-Agent) agents (Langflow 1.11.x). Requires server-side A2A enablement (LANGFLOW_A2A_ENABLED).

get_a2a_agent_cardA

Get the A2A agent card (.well-known/agent-card.json) for a flow (Langflow 1.11.x). Requires server-side A2A enablement.

invoke_a2a_jsonrpcB

Invoke a flow via the A2A JSON-RPC endpoint (Langflow 1.11.x). The JSON-RPC envelope is a passthrough; validation lives server-side.

list_pending_workflowsB

List pending human-in-the-loop requests for a required flow ID (Langflow 1.11.x).

get_workflow_eventsA

Re-attach to a workflow job event stream by job ID (Langflow 1.11.x). Streaming is not incrementally surfaced; the initial payload is returned.

resume_workflowB

Resume a paused human-in-the-loop workflow with the pending request ID and optional decision (Langflow 1.11.x).

run_public_workflowB

Run a public (unauthenticated-eligible) workflow (Langflow 1.11.x). Stream-only execution; streaming is not incrementally surfaced.

get_healthzA

Get the Langflow Kubernetes-style readiness report from /healthz (Langflow 1.12.x).

list_model_provider_descriptorsA

List policy-visible model providers with stable IDs and display names (Langflow 1.12.x).

get_model_provider_policyB

Read the install-wide approved model-provider policy (superuser-only Langflow 1.12.x API).

replace_model_provider_policyA

Replace the install-wide approved model-provider policy (superuser-only Langflow 1.12.x API).

get_catalog_component_policyB

Read the global blocked-component catalog policy (superuser-only Langflow 1.12.x API).

replace_catalog_component_policyA

Replace the global blocked-component catalog policy (superuser-only Langflow 1.12.x API).

get_catalog_template_policyA

Read the global blocked-template catalog policy (superuser-only Langflow 1.12.x API).

replace_catalog_template_policyA

Replace the global blocked-template catalog policy (superuser-only Langflow 1.12.x API).

get_catalog_policy_usageA

Count flows using each catalog component (superuser-only Langflow 1.12.x API).

get_catalog_policy_usage_flowsB

List flows affected by blocking a catalog component key (superuser-only Langflow 1.12.x API).

get_policy_bundleB

Read the atomic provider-and-catalog policy bundle (superuser-only Langflow 1.12.x API).

replace_policy_bundleC

Atomically replace the provider-and-catalog policy bundle using an expected revision (Langflow 1.12.x).

list_policy_bundle_historyA

List historical policy bundle revisions (superuser-only Langflow 1.12.x API).

rollback_policy_bundleB

Roll back the policy bundle to a prior revision with optimistic concurrency protection (Langflow 1.12.x).

upsert_projectB

Create or update a project at a caller-supplied ID using Langflow 1.12.x PUT upsert semantics.

agentic_assist_runB

Run the Langflow agentic assistant headlessly and persist its flow changes (Langflow 1.12.x SSE API).

Prompts

Interactive templates invoked by user choice

NameDescription
langflow-quickstartStep-by-step guide to create and run your first Langflow flow using the MCP server.
langflow-debug-flowDiagnose and fix issues with a Langflow flow that is failing to build or execute.
langflow-rag-setupGuide to setting up a RAG (Retrieval-Augmented Generation) pipeline with knowledge bases in Langflow.
langflow-flow-optimizationAnalyze a flow and suggest optimizations for performance, reliability, and best practices.
langflow-batch-operationsGuide for performing bulk operations on flows, folders, and projects in Langflow.

Resources

Contextual data attached and managed by the client

NameDescription
Langflow Connection ConfigCurrent Langflow MCP server connection configuration (base URL, timeout, mode).
Langflow Health StatusConnection info and pointer to the health_check tool for live status.
Available Tools SummarySummary of all available MCP tools with their descriptions.

TDQS

C2.9/5.0

Scored across 236 tools

Disambiguation1/5

With 236 tools including many overlapping execution endpoints (run_flow, run_flow_advanced, run_workflow, run_flow_session, process_flow, predict_flow, agentic_execute, invoke_a2a_jsonrpc, run_public_workflow, run_workflow, trigger_webhook) and multiple file APIs (list_files, list_files_v2, upload_file, upload_file_v2), agents will struggle to pick the correct tool. Different entity families are also mixed under similar prefixes (authz roles/teams/shares vs. users).

Naming Consistency3/5

The tool names mostly follow a readable verb_noun snake_case pattern. However, there are mixed verb styles (get vs list vs run vs build vs start), a few awkward names like 'agentic_check_config', and version suffixes (_v2) that break the pattern.

Tool Count1/5

236 tools is an extreme mismatch for a cohesive server surface and far beyond typical toolset sizes. This volume forces agents to navigate a sprawling API dump, making selection error-prone and context unwieldy.

Completeness4/5

The tool surface is extremely comprehensive, covering flows, folders, projects, users, authz, knowledge bases, models, MCP, traces, and more, with CRUD for most entities. It is arguably over-complete rather than missing major operations.

Maintenance

ActivityActive
ResponsivenessUnresponsive