For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect

Connect to n8n from code, scripts, and AI tools.

Use this documentation when you want to work with n8n outside the editor. You can call the public API, script against it with the CLI, or connect MCP-compatible clients.

This section includes the n8n API guides and reference material, the n8n CLI reference, and the docs for the built-in n8n MCP server. It also covers authentication, connection setup, and client-specific instructions for connecting tools and agents to n8n.

Choose the interface that matches your workflow. Each option uses a different access model and fits a different job.

Manage n8n programmatically over HTTP.

Best for:

  • Building platforms and tooling on top of n8n

  • Triggering and monitoring executions from external systems

  • Automating workflow and credential management

Start with n8n API.

Last updated

Was this helpful?