MCP Local
AI-generatedSummary
Connects to a local Model Context Protocol (MCP) server via STDIO to provide tools to an AI Agent or execute direct tool calls.
Inputs
- toolsMode (required) — Filter strategy for tools provided by the MCP server ('all', 'selected', or 'except').
- includeTools — List of MCP tools to include when toolsMode is set to 'selected'.
- excludeTools — List of MCP tools to omit when toolsMode is set to 'except'.
Output shape
AI Tool definitions or item objects with execution results.
When connected to an AI Agent node, it supplies LangChain tool instances. When run as a standard workflow node, it takes input item JSON containing tool invocation details and returns items with a response string or error message.
Examples
Example 1: Expose all tools from an MCP server package to an AI Agent
Set Tools to Include to 'All'.
Example 2: Select specific tools from an MCP server to provide to an AI Agent
Set Tools to Include to 'Selected' and choose tools from the Tools dropdown.
Example 3: Exclude sensitive tools from an MCP package
Set Tools to Include to 'All Except' and select tools to block in Exclude Tools.