Langflow MCP client: add Sume's hosted MCP server
Use Langflow as an MCP client for Sume's hosted server: register it with a Bearer global variable, then wire MCP Tools into an Agent.

Langflow is an MCP client through its MCP Tools component: register the server under Settings > MCP Servers > Add MCP Server, drag it from the MCP sidebar onto the canvas, enable Tool mode, and connect the component's Toolset port to an Agent's Tools port. For Sume's hosted MCP server, choose HTTP/SSE, enter https://mcp.sume.com/mcp, and add an Authorization header whose value is a Credential global variable holding Bearer and your Sume API key.
Langflow's side comes from Use Langflow as an MCP client, the page for Langflow 1.12.x; Sume's side comes from MCP OAuth and API keys, MCP tools and gates, and Jobs and results, all read on 2026-09-28. Sume has no official Langflow integration: Langflow connects to Sume's remote MCP server like any other, and Sume's basics page says hosted MCP still works but is not part of the primary path today. Langflow can also act as an MCP server for its own flows; this post covers the client side. n8n MCP Client Tool with Sume covers another visual builder.
How do I add an MCP server in Langflow?
As of Langflow 1.9.x, MCP Tools is not a draggable component under Agents, so you register the server first. On 1.12.x:
- Store the key. Click your profile icon, then Settings, then Global Variables, and create a Credential variable such as
SUME_BEARER. Its value must include theBearerprefix with a space, followed by your Sume API key. - Register Sume. Open Settings > MCP Servers and click Add MCP Server, or click MCP in the flow editor's left sidebar and then Add MCP Server. Choose HTTP/SSE and enter the Name
sume, the Streamable HTTP/SSE URLhttps://mcp.sume.com/mcp, and one header: keyAuthorization, valueSUME_BEARER. When the connection succeeds, Langflow shows how many tools the server exposes. - Drag the new server from the MCP sidebar onto the canvas. That adds an MCP Tools component for it.
- In the component's Tool field, pick one Sume tool, or leave it blank for all of them.
- Enable Tool mode in the component's header menu, then connect its Toolset port to the Agent's Tools port. Attach Chat Input and Chat Output to the Agent if the flow lacks them.
- Open the Playground and enter a prompt that uses the tool you connected.
Which Sume tools should each MCP Tools component serve?
One each. A blank Tool field gives the agent every tool the server offers, and an API-key session sees Sume's full hosted tool set, paid tools included. Langflow's MCP client page describes no approval step before the agent calls a tool, so an agent holding every tool can start paid jobs on its own judgment. Langflow's docs say to add more tools components for more tools: give each one a single Sume tool and connect every Toolset to the Agent.
Sume's paid tools each need an idempotency_key; dry_run=true previews admission and cost without submitting; max_spend_usd caps a call only when it is sent. The agent writes those arguments, so they are not a limit your flow enforces. Hosted MCP also cannot read files from your laptop.
| Tool field | Sume group | What the agent uses it for |
|---|---|---|
tools_schema | Discovery, read-only | Reads one tool's contract before a paid call |
generate_image | Paid; idempotency_key required | Starts the job; dry_run=true previews the cost |
jobs_wait | Jobs, read | Waits at most 55 seconds per call |
jobs_result | Jobs, read | Reads the finished job's result |
Will a long Sume render time out in Langflow?
Langflow's MCP client page documents no tool-call timeout, and Sume doesn't hold one call for a whole render. jobs_wait returns after at most 55 seconds per call; on wait_slice_expired the agent should call it again with the same ids and never resubmit the paid create. MCP tool call timeouts on long-running video jobs has the pattern.
What if the Sume server won't connect?
- Langflow resolves the global variable to its value before it calls the server and passes that value without validating it, so a wrong key shows up only when Sume rejects the call.
- Headers set on an MCP Tools component take precedence over the server's headers. Keep one key header, not two.
verify_ssldefaults totrue; leave it on.- If an administrator has locked MCP server management, adding a server shows a locked message.
Sources
Related posts
More in Integrations
- LibreChat MCP server: add Sume in librechat.yaml
Add Sume's hosted MCP server to LibreChat under mcpServers in librechat.yaml: streamable-http, a Bearer key header, and requiresOAuth set to false.
- LlamaIndex MCP: load Sume's hosted tools into an agent
Load Sume's hosted MCP tools into a LlamaIndex agent with BasicMCPClient and aget_tools_from_mcp_url, a Bearer key header, and allowed_tools.
- Make.com scheduler: run a scenario daily to make a video
Make.com schedules each scenario in its Schedule settings: intervals, daily, weekly, monthly, set dates, or on demand. Start a daily video run this way.
- Meta ads bulk upload: push AI videos to your ad account
Bulk upload videos to Meta Ads by API: POST each file_url to the ad account's advideos edge, wait for status ready, then use the video_id in ads.
Written by Sume