N8N-api-MCP
If you are the rightful owner of N8N-api-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server designed to interact with a self-hosted n8n instance.
The n8n API MCP Server is a specialized server that facilitates interaction with a self-hosted n8n instance through the Model Context Protocol. It provides a suite of tools to execute API calls, search for API endpoints, and manage frequently used API calls using a 'Fast Memory' database. The server is designed to enhance the efficiency of API interactions by leveraging a local database populated from an OpenAPI specification, allowing for quick searches and detailed endpoint information retrieval. Additionally, it supports natural language queries to streamline the process of finding and executing API calls. The server is highly configurable, requiring environment variables to connect to the n8n instance, and supports integration with platforms like Cline and Claude Desktop.
Features
- API Specification Database: Stores details about n8n API endpoints, loaded from an OpenAPI/Swagger JSON file. Used by search and detail tools.
- Fast Memory Database: Caches successful API calls linked to natural language queries. Allows for quick retrieval of previously used calls and suggests saving new successful calls.
- Search API Endpoints: Search the local API spec database for endpoints matching a query (path, summary, description, tags).
- Execute API Call: Execute an API call to the configured n8n instance. Checks Fast Memory first; if not found, prompts to save the call to Fast Memory upon success.
- Natural Language API Search: Search for API calls using natural language. Checks Fast Memory first, then falls back to searching the API spec database based on the query.
Tools
search_api_endpoints
Search the local API spec database for endpoints matching a query.
get_api_endpoint_details
Retrieve detailed information for a specific endpoint from the local API spec database.
execute_api_call
Execute an API call to the configured n8n instance.
natural_language_api_search
Search for API calls using natural language.
save_to_fast_memory
Manually save an API call along with its original natural language query to the Fast Memory database.
list_fast_memory
List entries currently stored in the Fast Memory database.
delete_from_fast_memory
Delete a specific entry from the Fast Memory database by its ID.
clear_fast_memory
Remove all entries from the Fast Memory database.
load_api_spec_from_json
Load or update the API Specification database by parsing an OpenAPI/Swagger JSON file.
send_raw_api_request
Execute an API call using a raw request string.