# n8n-nodes-mcp

> MCP Client

This n8n community node enables interaction with Model Context Protocol (MCP) servers within n8n workflows, allowing access to resources, tool execution, and prompt utilization for AI model integrations.

## Overview

- **Category:** Productivity
- **Language:** TypeScript
- **Stars:** 3024
- **Forks:** 159
- **Owner:** nerding-io
- **GitHub:** https://github.com/nerding-io/n8n-nodes-mcp
- **Created:** 2025-02-14T11:22:21+00:00
- **Updated:** 2025-03-28T23:08:53+00:00
- **Source:** https://model-context-protocol.com/clients/n8n-mcp-integration-ai-model-workflows

## Setup

## Setup

1.  Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
2.  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.
3.  For command-line based transport (STDIO), configure the command, arguments, and environment variables in the credentials UI or using Docker environment variables prefixed with `MCP_`.
4.  For Server-Sent Events (SSE) transport, configure the SSE URL, optional messages post endpoint, and additional headers in the credentials UI.

## Tools

## Available Tools

1.  **Execute Tool** (Execute a specific tool with parameters)
2.  **Get Prompt** (Get a specific prompt template)
3.  **List Prompts** (Get a list of available prompts)
4.  **List Resources** (Get a list of available resources from the MCP server)
5.  **List Tools** (Get a list of available tools)
6.  **Read Resource** (Read a specific resource by URI)
