Langflow MCP Server 1.6.4: 90 Workflow Tools
Automate Langflow with MCP server 1.6.4, offering 90 workflow tools to manage flows, run jobs, handle builds, integrate KBs, including Docker and full API.
npx -y @nobrainer-tech/langflow-mcpOverview
Langflow MCP Server 1.6.4 is a lightweight Model Context Protocol (MCP) server designed to automate and orchestrate Langflow workflows. It exposes a full HTTP API and a set of workflow “tools” that let you programmatically manage flows, trigger runs and jobs, produce builds, and integrate knowledge bases (KBs). The server packages orchestration primitives useful for building reproducible ML/AI pipelines, CI/CD for flows, and runtime management for production or batch workloads.
The server is useful when you need to automate Langflow tasks from other services (CI systems, schedulers, or webhooks), embed Langflow orchestration into higher-level apps, or run flows under controlled runtimes (Docker, local runtime, or remote executors). Version 1.6.4 contains a curated set of 90 workflow tools covering flow lifecycle, job scheduling, build pipelines, KB ingestion, storage access, and integration helpers.
Features
- 90 workflow tools covering flow management, jobs, builds, KBs, storage, and runtime helpers
- Full REST API for programmatic control and automation
- Docker-ready image and Docker Compose examples for reproducible deployment
- Knowledge base upload/management for grounded retrieval workflows
- Job scheduling and asynchronous run management
- Build artifacts and export/import for flows and runtime images
- Lightweight configuration via environment variables
Installation / Configuration
Quick start (clone and run locally):
Run with environment variables:
Run with Docker:
Docker Compose example:
version: "3.8"
services:
langflow-mcp:
image: nobrainertech/langflow-mcp:1.6.4
ports:
- "8080:8080"
environment:
- MCP_SECRET=${MCP_SECRET}
- MCP_STORAGE=/data
volumes:
- ./data:/data
Common environment variables
| Variable | Purpose | Default |
|---|---|---|
| MCP_HOST | Host address to bind | 0.0.0.0 |
| MCP_PORT | Port to listen on | 8080 |
| MCP_SECRET | API secret token for authentication | (none) |
| MCP_STORAGE | Path for persistent storage/artifacts | ./storage |
Available Tools / Resources
Langflow MCP Server exposes workflow tools grouped by capability. Example categories:
- Flow management: create, read, update, delete, export, import, validate
- Run and jobs: execute flow, schedule job, poll job status, cancel run
- Builds: create build artifact, list builds, publish images
- Knowledge bases (KB): upload KB, attach KB to flow, list KBs, remove KB
- Storage & artifacts: upload/download artifacts, manage storage buckets
- Integrations: webhooks, external runtime connectors, Docker helpers
- Monitoring: logs, run metrics, traces
These tools are accessible through the REST API and can be orchestrated together to form CI pipelines, scheduled processing, or event-driven automations.
API Examples
Start a flow run (example):
Check job status:
Upload a knowledge base:
Python example using requests:
=
=
=
Use Cases
- CI for Langflow: Automate flow validation and build artifacts on push. Use the builds tools to generate reproducible images and store artifacts in MCP storage.
- Scheduled batch processing: Schedule jobs to run nightly data transformation flows and collect run metrics for audit.
- Knowledge-enabled bots: Upload and manage KBs via the KB tools, attach KBs to flows that perform retrieval-augmented generation (RAG), and keep KBs synchronized from a content pipeline.
- Webhook-driven automation: Trigger flows from external services (webhooks), pass event payloads into flows, and have MCP manage the run lifecycle and artifact archiving.
- Docker-based runtimes: Use Docker helpers to produce containerized runtime images for specific flows so you can run flows in isolated environments or deploy to container platforms.
Further Resources
- Source & issues: https://github.com/nobrainer-tech/langflow-mcp
- API docs: Browse the /docs or /openapi endpoint on a running instance for full endpoint details
- Community: Open issues and pull requests on GitHub for feature requests,