NI

nerding-io/n8n-nodes-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3038 stars 520 forks 质量 63 趋势 26MIT

n8n 自定义节点用于 MCP

概览

服务器发送事件(SSE)传输被弃用,取而代之的是新的HTTP Streamable传输。SSE仍可兼容遗留,但HTTP Streamable现已成为所有新实现的推荐方法。 这是一个n8n社区节点,允许你在n8n工作流中与模型上下文协议(MCP)服务器交互。 MCP 是一种协议,使 AI 模型能够以标准化方式与外部工具和数据源交互。该节点允许您连接到 MCP 服务器、访问资源、执行工具并使用提示。 N8N 是一个公平代码许可的工作流程自动化平台。 感谢以下 n8n 社区视频的所有创作者,他们是学习如何使用这个节点的绝佳资源: - MCP是N8N AI代理的未来吗?(完全测试!)- 用MCP把N8N AI代理连接到所有设备?

概述(AI 翻译)

重要提示: 服务器发送事件(SSE)传输被弃用,并由新的HTTP Streamable传输取代。SSE仍可兼容遗留,但HTTP Streamable现为所有新实现的推荐方法。

这是一个n8n社区节点,允许你在n8n工作流中与模型上下文协议(MCP)服务器交互。

MCP 是一种协议,使 AI 模型能够以标准化方式与外部工具和数据源交互。该节点允许您连接到 MCP 服务器、访问资源、执行工具并使用提示。

N8N 是一个公平代码许可的工作流程自动化平台。

安装 资历 环境变量 运营 作为工具使用 兼容性 资源

开始

官方快速入门视频:

社区视频

感谢以下 n8n 社区视频的所有创作者,他们是学习如何使用这个节点的绝佳资源:

  • MCP是N8N AI代理的未来吗?(完全测试!)
  • 用MCP把N8N AI代理连接到所有东西?
  • 构建一个可以使用任何工具的AI代理(n8n教程中的MCP)
  • 全新N8N MCP是绝对的游戏规则改变者(Brave Search MCP)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

n8n-nodes-mcp-client

Important Note: The Server-Sent Events (SSE) transport is deprecated and replaced by the new HTTP Streamable transport. SSE remains available for legacy compatibility, but HTTP Streamable is now the recommended method for all new implementations.

This is an n8n community node that lets you interact with Model Context Protocol (MCP) servers in your n8n workflows.

MCP is a protocol that enables AI models to interact with external tools and data sources in a standardized way. This node allows you to connect to MCP servers, access resources, execute tools, and use prompts.

n8n is a fair-code licensed workflow automation platform.

Installation Credentials Environment Variables Operations Using as a Tool Compatibility Resources

Getting Started

Official Quickstart Video:

Community Videos

Shoutout to all the creators of the following n8n community videos that are great resources for learning how to use this node:

If you have a great video that you’d like to share, please let me know and I’ll add it to the list!

Interested a deeper dive into MCP?

Check out my YouTube Series MCP Explained for more information about the Model Context Protocol.

Security Assessment

Installation

Follow the installation guide in the n8n community nodes documentation.

Also pay attention to Environment Variables for using tools in AI Agents. It’s mandatory to set the N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE environment variable to true if you want to use the MCP Client node as a tool in AI Agents.

Credentials

The MCP Client node supports three types of credentials to connect to an MCP server:

在 GitHub 查看完整 README

安装

npx @modelcontextprotocol/server-example-streamable
新手?先看 mcpskill.org 教程 →