mcpField
N
n8n

n8n

Local
github.com/chiisenDeveloper Tools0Updated 35w ago

About n8n

This README describes using n8n 1.88.0 to create an MCP Server Trigger and connect it to an AI Agent workflow. The example adds Calculator and OpenWeatherMap tools and tests arithmetic and weather queries.

Key features

  1. 01MCP Server Trigger setup
  2. 02Calculator tool example
  3. 03OpenWeatherMap tool example
  4. 04SSE endpoint configuration
  5. 05AI Agent workflow example

Use cases

  1. 01Expose calculator and weather tools through an MCP endpoint
  2. 02Test a workflow with arithmetic and weather questions

MCP support

The guide uses n8n's MCP Server Trigger to publish tools over SSE, then connects an AI Agent workflow to that endpoint with an MCP Client Tool.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

n8n

全面瞭解 n8n v1.88.0 的重磅更新 —— MCP Server

MCP

安裝

npm install n8n -g

升級

npm install n8n@latest -g

執行

n8n start

瀏覽器開啟 http://localhost:5678

登入

創建帳號並登入

支持 MCP

在 n8n 1.88.0 版本中,允許使用 SSE(Server-Sent Events)技術進行發佈的功能主要與新加入的 MCP(Model Context Protocol)節點相關。

n8n --version

建立 MCP Server Trigger

MCP Server Trigger 點選右邊介面搜尋 MCP Server Trigger
建立一個 MCP 服務器

Tools 新增節點 Calculator

Tools 新增節點 OpenWeatherMap

去申請 https://openweathermap.org/ 的免費服務
請去註冊並取得 API 金鑰 (API Key)

OpenWeather

新增完上面的兩個節點後

備份 ‵MCP Server Trigger‵ 的 Production URL

創建新的工作流

點擊左上角的加號,創建新的工作流

新增 Chat Trigger

新增 AI Agent

新增 Chat Model

新增 Gemini 的 AI 大語言模型
Gemini 輸入 Gemini 的 API Key
Gemini API Key 模型可以選 models-2.0-flash

新增 Tool MCP Clinet Tool

SSE 欄位貼上剛剛備份的 Production URL
PS: 我電腦上 localhost 要改成 127.0.0.1 才能連上

測試

測試 輸入 查詢 Taichung 的天氣? 輸入 8 加 9 等於多少?

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.