n8n-mcp-server logo

n8n-mcp-server

by S17S17

The n8n-mcp-server is a Model-Controller-Provider (MCP) server implementation for n8n workflow automation. It provides a standardized interface for executing and managing n8n workflows through a JSON-RPC protocol.

View on GitHub

Last updated: N/A

What is n8n-mcp-server?

The n8n-mcp-server is a server that acts as a Model-Controller-Provider for n8n, enabling standardized execution and management of n8n workflows using a JSON-RPC interface.

How to use n8n-mcp-server?

First, clone the repository, install dependencies, and configure environment variables (N8N_URL, N8N_API_KEY). Then, start the server using npm start or other available startup options. Interact with the server using the JSON-RPC API methods (initialize, shutdown, listTools, callTool). Docker support is also available.

Key features of n8n-mcp-server

  • JSON-RPC 2.0 compliant API

  • Workflow execution and management

  • Environment-based configuration

  • TypeScript support

  • Comprehensive logging

  • Docker support

Use cases of n8n-mcp-server

  • Standardized n8n workflow execution

  • Centralized management of n8n workflows

  • Integration with other systems via JSON-RPC

  • Automated task execution using n8n workflows

  • Scalable n8n workflow infrastructure

FAQ from n8n-mcp-server

What is JSON-RPC?

JSON-RPC is a remote procedure call protocol encoded in JSON.

How do I configure the server?

The server is configured using environment variables. See the .env.example file for available options.

What are the required environment variables?

The required environment variables are N8N_URL and N8N_API_KEY.

How do I start the server in development mode?

Use the command npm run start:dev.

Where can I find the API documentation?

See the API.md file for detailed API documentation.