N8N-api-MCP

N8N-api-MCP

1

The n8n API MCP Server is designed to interact with a self-hosted instance of n8n, providing tools to execute and manage API calls. It includes features for searching API endpoints and utilizing a "Fast Memory" database to store successful calls for efficient reuse.

n8n API MCP Server

A Model Context Protocol (MCP) server designed to interact with a self-hosted n8n instance.

Features

  • Execute calls to the n8n API.
  • Search for n8n API endpoints using a local database populated from an OpenAPI specification.
  • Store and retrieve frequently used or successful API calls using a "Fast Memory" database.

Setup

  1. Clone the repository
  2. Install dependencies
  3. Build the server

Configuration

Requires environment variables: N8N_URL and N8N_API_KEY to connect to your n8n instance.

Loading the API Specification

Obtain and load the OpenAPI (Swagger) JSON specification file for your n8n version using the load_api_spec_from_json tool.