mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Docs corpus (Langflow->Hanzo Flow, upstream URLs langflow-ai/langflow->hanzoai/ flow, docs.langflow.org->docs.hanzo.ai), starter-project template help-URLs, CI workflows, and test files. Remaining 'langflow' repo-wide is now dominated by LANGFLOW_* env-var names + langflow_ settings fields — the config-boundary layer deliberately preserved pending a coordinated FLOW_/HANZO_ alias-with-fallback (renaming them blind breaks every deployment).
38 lines
2.1 KiB
Plaintext
38 lines
2.1 KiB
Plaintext
---
|
|
title: MCP Tools
|
|
slug: /mcp-tools
|
|
---
|
|
|
|
import PartialMcpToolsAddSteps from '@site/docs/_partial-mcp-tools-add-steps.mdx';
|
|
|
|
The **MCP Tools** component connects to a Model Context Protocol (MCP) server and exposes the MCP server's functions as tools for Hanzo Flow agents to use to respond to input.
|
|
|
|
In addition to publicly available MCP servers and your own custom-built MCP servers, you can connect Hanzo Flow MCP servers, which allow your agent to use your Hanzo Flow flows as tools.
|
|
To do this, use the **MCP Tools** component's [HTTP/SSE mode](/mcp-client#mcp-http-mode) to connect to your Hanzo Flow project's MCP server.
|
|
|
|
<PartialMcpToolsAddSteps />
|
|
|
|
For more information, see [Use Hanzo Flow as an MCP client](/mcp-client) and [Use Hanzo Flow as an MCP server](/mcp-server).
|
|
|
|
:::tip Tool mode is missing
|
|
If you're upgrading an existing flow and the **MCP Tools** component loses its **Tool Mode** option, see [MCP Tools component loses Tool Mode option after upgrading flows](/troubleshoot#mcp-tools-component-loses-tool-mode-option-after-upgrading-flows).
|
|
:::
|
|
|
|
## MCP Tools parameters
|
|
|
|
| Name | Type | Description |
|
|
|------|------|-------------|
|
|
| mcp_server | String | Input parameter. The MCP server to connect to. Select from previously configured servers or add a new one. |
|
|
| tool | String | Input parameter. The specific tool to execute from the connected MCP server. Leave blank to allow access to all tools. |
|
|
| use_cache | Boolean | Input parameter. Enable caching of MCP server and tools to improve performance. Default: `false`. |
|
|
| verify_ssl | Boolean | Input parameter. Enable SSL certificate verification for HTTPS connections. Default: `true`. |
|
|
| response | Table | Output parameter. [`Table`](/data-types#table) containing the response from the executed tool. |
|
|
|
|
<details>
|
|
<summary>Earlier versions of the MCP Tools component</summary>
|
|
|
|
* In Hanzo Flow version 1.5, the **MCP Connection** component was renamed to the **MCP Tools** component.
|
|
* In Hanzo Flow version 1.3, the **MCP Tools (stdio)** and **MCP Tools (SSE)** components were removed and replaced by the unified **MCP Connection** component, which was later renamed to **MCP Tools**.
|
|
|
|
</details>
|