n8n-mcp-server logo

n8n-mcp-server

by lowprofix

This project is an MCP (Master Control Program) server for n8n that provides workflow validation tools and best practices for your n8n automation projects. It also offers NextJS integration capabilities.

View on GitHub

Last updated: N/A

What is n8n-mcp-server?

The n8n-mcp-server is a Master Control Program server designed to enhance n8n workflows. It offers tools for validating workflows, integrating them with NextJS applications, managing workflows, and accessing the n8n API directly.

How to use n8n-mcp-server?

To use the server, clone the repository, install dependencies using pnpm install, configure environment variables in .env based on .env.example, build the project with pnpm build, and start the server using pnpm start. For Claude Desktop integration, configure claude_desktop_config.json.

Key features of n8n-mcp-server

  • Workflow Validation (naming conventions, error handling, security, performance, documentation)

  • NextJS Integration (API route generation, OpenAPI/Swagger documentation, TypeScript types, API client)

  • Workflow Management (list, retrieve, create, update, delete, export, import)

  • Direct n8n API access

  • Workflow templates

Use cases of n8n-mcp-server

  • Ensuring n8n workflows adhere to best practices.

  • Generating API endpoints for n8n workflows within NextJS applications.

  • Managing and interacting with n8n workflows programmatically.

  • Automating tasks using pre-built workflow templates (e.g., Google Calendar integration).

  • Validating workflows to improve security and performance

FAQ from n8n-mcp-server

What is the purpose of the WorkflowValidatorTool?

The WorkflowValidatorTool validates n8n workflows based on criteria like naming conventions, error handling, and security.

How does the NextJSIntegrationTool work?

The NextJSIntegrationTool generates API routes, OpenAPI documentation, and TypeScript types for n8n workflows to facilitate integration with NextJS applications.

What are the prerequisites for running the n8n-mcp-server?

You need Node.js (v16 or higher), pnpm (v7 or higher), and a running n8n instance.

How can I contribute to this project?

Contributions are welcome! You can open an issue or submit a pull request.

What kind of workflow templates are available?

Currently, there are templates for various use cases, including Google Calendar integration.