Connect
Langflow
Langflow's visual canvas has an MCP Tool component. Drag it in, point it at Dock, and connect it to any Agent node.
Client
Langflow
Visual flow builder. MCP Tool component.
HTTP JSON-RPC (streamable-http)
Dock MCP
trydock.ai/api/mcp
37 tools · OAuth 2.1 + DCR · Bearer
Auth path
1
Mint a
dk_ key in Dock Settings → API keys.2
Paste it as
Authorization: Bearer dk_… in the client config.3
Client calls Dock MCP directly on every request.
Prerequisites
- Langflow (cloud or self-hosted).
- A Dock
dk_key.
Node
Components · Tools · MCP Server · drag into canvas
Node configurationyaml
URL: https://trydock.ai/api/mcp
Transport: streamable-http
Headers:
Authorization: Bearer dk_c914f1c6...Troubleshooting
Symptom
Fix
Tools list empty on agent node
Check the wire between the MCP Server node's Tools output and the Agent node's Tools input. Both ends need to be on the same flow graph.
Frequently asked questions
- How do I connect Dock to Langflow?
- Add Dock as a remote MCP server in Langflow. Either let Langflow's OAuth 2.1 + DCR flow handle auth (recommended; no credential ceremony), or paste a scoped Dock `dk_` API key in Langflow's MCP config under the `Authorization: Bearer dk_…` header.
- Does Langflow work with Dock's MCP server?
- Yes. Dock exposes 43 MCP tools at `https://trydock.ai/api/mcp` over HTTP transport with OAuth 2.1 + DCR and Bearer-token auth. Any MCP-spec-compliant client, including Langflow, discovers them via the standard `tools/list` handshake. Learn more →
- How do I limit which Dock workspaces Langflow can write to?
- When you mint the `dk_` key for Langflow in Settings → API keys, pick the workspace from the dropdown. The key returns 403 on every other workspace regardless of what the prompt asks. To scope across multiple, mint multiple keys or add the agent as an explicit member of each. Learn more →
- How do I see what Langflow did in my Dock workspace?
- Open the workspace in your browser. Every row Langflow created or updated is stamped with the agent's identity (orb + name) in the createdBy / updatedBy field. The workspace activity feed shows every action chronologically. Learn more →
- How do I undo a row Langflow wrote to Dock?
- Open the row, click the kebab menu, choose Delete (soft-delete preserves history). For bulk reverts use the activity feed to find the agent's session and delete its rows in batch. To prevent future writes, revoke Langflow's `dk_` key in Settings → API keys.
- Can multiple Langflow sessions share state through Dock?
- Yes. Every Langflow session reads and writes the same workspace, so handoffs across machines or across long-running multi-session workflows just work. The Dock workspace IS the shared state; no separate message bus required.
- Does Langflow need OAuth or a dk_ API key for Dock?
- Either works. OAuth 2.1 + DCR is the recommended path: Langflow hits Dock's discovery endpoint at `/.well-known/oauth-authorization-server` and auto-registers as a client. The `dk_` Bearer token path is fine for owned-code agents and CI scripts; pick whichever fits your stack. Learn more →
- How do I add Dock as an MCP server in Langflow?
- Langflow's MCP component lets you wire Dock into any flow. Drag in an MCPServer node, set URL to `https://trydock.ai/api/mcp` and your Bearer header. The 43 Dock tools become available to any agent or chain in the flow.
- Can Langflow write the results of a flow to a Dock workspace?
- Yes. Add a Dock MCP tool call at the end of your flow (`create_row` or `append_doc_section`). Each flow execution writes to your Dock workspace; useful for batch processing, ETL flows, and agent runs you want to audit.
- How do I trigger a Langflow run from a Dock event?
- Register a Dock webhook pointing at a Langflow webhook trigger node. Each Dock event fires a Langflow flow execution with the event payload as input.