Node-red-contrib-mcp — Connect AI agents to any MCP server

Hi everyone,

I just published node-red-contrib-mcp (node) - Node-RED — a set of nodes that connects Node-RED to Model Context Protocol, the open standard by Anthropic for connecting AI models to external tools and data.

What it does:

7 nodes that let you build AI-powered flows with any MCP server and any OpenAI-compatible LLM:

  • mcp tool — Call any MCP tool with arguments
  • mcp tools — Discover available tools on an MCP server
  • mcp resource — Read MCP resources
  • llm call — Call any OpenAI-compatible LLM (OpenAI, Ollama, vLLM, Azure, ...)
  • ai agent — Autonomous agent loop: LLM discovers tools, reasons, calls them, repeats until it has an answer

The ai agent node is the highlight — it's the same pattern as ChatGPT or Claude (tool use in a reasoning loop), but visual and auditable in Node-RED.

Quick start:
cd ~/.node-red
npm install node-red-contrib-mcp

Works with any MCP server and any OpenAI-compatible LLM including local models via Ollama.

If you want to test it with real data:

provides 91 free MCP tools for manufacturing AI (ERP, OEE, quality, warehouse).

Feedback and PRs welcome!

2 Likes