Skip to main content
Glama

docs-n8n-mcp

Local MCP server exposing the official n8n documentation and workflow templates to LLM agents via the Model Context Protocol.

Tools

Documentation (local cache)

Tool

Description

list_docs(category?)

List all doc pages (~1,500). Optional category filter (core-nodes, app-nodes, trigger-nodes, credentials, build, deploy, etc.)

get_doc(path)

Read a single doc page as markdown. Accepts slug, URL, or partial name.

search_docs(query, max_results?)

Regex search across all cached docs. Case-insensitive.

refresh()

Re-fetch all docs from GitHub tarball and overwrite cache.

Workflow Templates (live API)

Tool

Description

search_templates(query, max_results?)

Search n8n.io workflow templates by keyword. Returns template IDs, names, node lists.

get_template(id)

Fetch full workflow JSON (nodes, parameters, connections) for a template.

Related MCP server: n8n-MCP

Workflow

Agent: "Slack에 메시지 보내는 워크플로우 만들어"
  1. search_templates("slack message")     → 비슷한 템플릿 발견
  2. get_template(1105)                     → 전체 노드 구성/파라미터 확인
  3. get_doc("n8n-nodes-base.slack")       → Slack 노드 사용법 참조
  4. 두 정보 결합 → 새 워크플로우 JSON 생성

Setup

The doc cache lives at ~/.cache/docs-n8n-mcp/ and auto-populates on first run (~1,500 files, ~5s via tarball). Cache refreshes automatically after 7 days. Template tools call the n8n.io API live (no cache needed).

cd /home/okdk/docs-n8n-mcp
uv run python fetcher.py   # manual cache population

OpenCode MCP registration

Registered in ~/.config/opencode/opencode.json as docs-n8n.

Available Tools

6 tools
get_docGet n8n DocA
Read-onlyIdempotent

Read a single n8n documentation page as markdown.

Inputs: path (required). Returns: result

get_templateGet n8n Workflow TemplateA
Read-onlyIdempotent

Fetch the full workflow JSON for an n8n template.

Returns the complete workflow definition including all node parameters, connections, positions, and settings. This is the data you need to understand exactly how a template is wired and recreate or adapt it.

Inputs: id (required). Returns: result

list_docsList n8n DocsA
Read-onlyIdempotent

List all n8n documentation pages from the cache.

Inputs: category. Returns: result

refreshRefresh n8n Docs CacheA
Idempotent

Re-fetch all n8n markdown files from GitHub and overwrite the cache.

Fetches ~1,500 .md files in parallel (10 concurrent). Use this when documentation looks outdated or after a new n8n release.

Returns JSON: {"fetched": int, "skipped": int, "errors": [str], "duration_ms": int}. fetched counts the number of files written, not total repo size.

Inputs: no named parameters. Returns: result

search_docsSearch n8n DocsA
Read-onlyIdempotent

Search across all cached n8n docs (case-insensitive regex).

Inputs: query (required), max_results. Returns: result

search_templatesSearch n8n Workflow TemplatesA
Read-onlyIdempotent

Search n8n.io workflow templates by keyword.

Queries the official n8n template gallery API. Returns workflow templates that match the search query — each includes the nodes used, description, and a template ID for fetching the full workflow JSON.

Inputs: query (required), max_results. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_doc retrieves a specific doc page, list_docs enumerates all docs, search_docs searches docs, get_template fetches full workflow JSON, search_templates queries templates, refresh updates the cache. No ambiguity.

    Naming Consistency5/5

    All tool names use snake_case and follow a verb_noun pattern except 'refresh' which is a standalone verb but clear and consistent with the overall style.

    Tool Count5/5

    6 tools is well-scoped for a documentation and template server. Covers essential operations without bloat.

    Completeness5/5

    Covers all necessary read operations for n8n docs and templates: list, get, search, and refresh. No obvious gaps for the stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides AI assistants with access to documentation, schemas, and operations for over 535 n8n workflow automation nodes. It enables models to understand, create, and manage n8n workflows through natural language by connecting to the n8n API.
      48,812 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that provides AI assistants with comprehensive access to n8n workflow automation nodes, properties, and documentation. It enables models like Claude to search for nodes, access configuration templates, and manage workflows through natural language.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that empowers AI assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. It enables deep integration with n8n instances for automated workflow orchestration and management through natural language.
      48,812 npm
      1
      MIT