Connect · v0.10.0 checkout recipe
Langflow MCP caller
Keep the Langflow flow and let its MCP Tools component call one specialist on your self-hosted Runkite plane.
Only the specialist creates a Runkite managed run. Langflow keeps its conversation, application and agent loop. No Langflow runtime or frontend is embedded in Runkite.
Prepare authority
Register a working Runkite agent and runner, initially the provider-free echo_agent. Use the exact HTTPS endpoint https://<your-plane>/mcp and configure MCP session affinity on a multi-replica deployment.
- Broad caller (v0.9.0+): a dedicated tenant and trusted server-side caller key with
readandwrite. The key has broader tenant authority than one specialist. Do not use Admin. - v0.10.0 scoped caller:
agents:echo_agent:runalone admits the MCP lifecycle, discovery and invocation used by this recipe and its native probe. Addagents:echo_agent:observeonly to application-owned REST recovery that needs exact run GET/wait. Neither grant supplies broad lists, thread history, store, stream, cancel or delete. This scoped contract requires v0.10.0 or matching source; the recipe and native probe remain checkout assets.
Keep one trusted caller and a dedicated tenant. Agent-scoped observation is not requester-private ownership. Choosing a tool in Langflow does not narrow a broad Runkite credential.
Connect MCP Tools
- In Langflow, store the complete
Bearer <caller-key>value in a Credential global variable namedRUNKITE_AUTHORIZATION. - Open Settings > MCP Servers > Add MCP Server, choose HTTP/SSE, and set the URL to your plane's
/mcpendpoint. - Set header
AuthorizationtoRUNKITE_AUTHORIZATION, keep TLS verification enabled, and save. - Drag the server from the MCP sidebar into the flow and select
echo_agent. To use it with an Agent, enable Tool Mode and connect Toolset to Tools.
For a manual provider-free smoke, leave Tool Mode off and supply message, a saved run_id and optional thread_id. Leave input unset when using a message: a supplied input object overrides it. Validate field binding and output rendering in your own Langflow deployment.
Keep the destination and credential in trusted server configuration. A private plane host may need Langflow's operator-controlled SSRF host allowlist. See the official Langflow MCP client guide and the checkout application/operator recipe.
Retain intent before retries
Persist the exact agent, input, thread and unique run ID before the first invocation. Reuse that operation after a lost response. A model remembering an ID is insufficient, and the stock MCP Tools component does not supply a durable Runkite receipt store. Unattended tool use needs application code that injects and enforces the saved values. The pinned native client can retry after a session failure.
Retained matching calls observe the same run; intentional new turns need new saved IDs. Deleting the run ends retry protection. For background handles, use the existing REST create/get/wait API. If application-owned REST recovery adds the observe grant, preserve the first raw run reference and send Runkite-Expected-Run-Reference on subsequent exact observation. Displayed tool text may omit that metadata.
Approvals and cancellation
Tool errors remain failures. Delivery timeout or disconnect leaves the execution outcome unknown. Pending connector review stays in Runkite's existing Review/Admin flow and is not auto-approved by Langflow. Stopping a request or deleting an MCP session does not prove worker cancellation or rollback. Explicit cancel requires separate operator/API authority.
Reconnect after permission or schema changes. Typed nested agent-input discovery is a separate feature; this qualification uses the generic MCP envelope.
What was qualified
On November 16, 2026, unmodified LFX 1.13.2 and MCP 1.30.0 passed a native headless test against a real local Runkite API and Python worker. Native discovery, header handling, schema conversion and tool invocation negotiated MCP 2025-11-25. Two intentional operations created exactly two managed runs and two worker assignments, including successful and failed-run retries. The test used the published read/write profile and made no provider calls.
Both the baseline and run-only scoped profile also passed separately on integrated source on November 16, 2026 with the same native dependencies: two retained runs and two real assignments per profile, without redispatch on reconnect or failed-run retry. This does not qualify the Langflow browser UI, server/project database, credential-variable UI, model loop, REST observation references or production proxy. See the original baseline receipt and engineering boundary.
Related: Protocols · Runs & threads · Credentials map