Skip to main content
Glama

MCP-Based n8n Workflow Builder

This repo provides an MCP server exposing tools to build, validate, deploy, manage, and execute n8n workflows via the official n8n REST API. An optional Gradio UI enables human-friendly creation and deployment.

Quickstart

  1. Copy .env.template to .env and fill values.

  2. Create a virtual environment and install dependencies:

python -m venv .venv && source .venv/bin/activate pip install -r requirements.txt
  1. Connectivity check and run tests:

pytest -q
  1. Run MCP server over stdio:

python -m mcp_server
  1. (Optional) Run UI:

ENABLE_UI=true python -m ui.app

Structure

  • core/: builder, validator, config, logging

  • client/: n8n REST API client

  • mcp/: MCP server exposing tools

  • ui/: optional Gradio app

  • templates/: canonical JSON templates

  • tests/: unit + integration

  • docker/: containerization

  • scripts/: helpers

Security

  • Secrets come from environment variables. No secrets in code or logs.

  • Requests are rate-limited.

  • Audit logs for create/update/activate/deactivate/execute.

See docs/ and inline docstrings for more details.

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CodeHalwell/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server