Connectors

n8n

Let Lyna AI run the tools and workflows you attach to an MCP Server Trigger in your own n8n.

Connect your own n8n so Lyna AI can call the tools you attach to an MCP Server Trigger node, including whole workflows. You decide what it can reach by what you attach to that node.

What it lets you do

  • See the tools attached to your trigger node.
  • Call them one at a time.
  • Run a whole workflow you expose with the Custom n8n Workflow Tool node.
ItemDetail
What it asks forThe production address of your MCP Server Trigger node. The address carries the access.
Who pays the providerYou, through your n8n plan or your own server.
Do actions change real data?Yes. A tool or a workflow runs for real, with everything it does.
Where it runsOn your own n8n instance.
Who uses itLyna AI while it builds, in Build mode. Your published app does not use it.

What you need before you start

  • An n8n instance reachable from the internet over https://, on n8n Cloud or your own server.
  • A workflow with an MCP Server Trigger node and the tools you want attached to it.
  • A role that can edit and publish that workflow: project Admin or Editor.
  • Edit access to your Lyna project.

Permissions in n8n

The trigger node decides what is exposed: only the tools attached to it exist for Lyna AI, and each runs with the credentials you set on it. By default the secret path is the only protection, so the node can also ask for Bearer auth or Header auth.

TaskWhat you need
Create or change the trigger workflowProject Admin or Editor
Run a workflow by hand in n8nProject Admin or Editor. A Viewer cannot
Stay read-onlyOnly tools that read, attached to the node
Add a key on top of the addressThe node set to bearer or header auth, added with Add custom
Use the server of the whole instanceAn owner or admin who turned it on, and each workflow enabled

The server of the whole instance sits under Settings, Instance-level MCP, and its address ends in /mcp-server/http. It takes a personal access token, so add it with Add custom. See its docs and n8n's roles.

Ways to connect

On the connector's page. An address that carries the access. Lyna stores it encrypted and never shows it again. Only the owner can change it.

Who owns the account? The person who pasted the address. Every call uses what that address opens, whoever typed the request.

Who can use it? Only you, in the projects you link it to, until you change it. On the connector's page, Who can use it also offers Only this project. The whole workspace is not offered, because the address itself gives access. See Who can use a connection.

A key on top of the address. The connector's page only asks for the address. If the trigger node uses Bearer auth, choose Add custom, then Custom server, paste the address in Server address, set How it signs in to Key or token and paste the key. If it uses Header auth, set How it signs in to None and add the header under Advanced, Request headers. Then choose Add and test.

Set it up

  1. Get your address

    In n8n, open the MCP Server Trigger node. Both addresses sit at the top of its panel: pick Production URL and copy it. Publish the workflow, since the production address only answers once it is published. Leave the path as generated: it is random, and that protects it.

  2. Open the connector

    Open the + menu of the chat and choose Connectors. Find n8n with the search field or under Automation, then open its page.

  3. Connect

    Choose Connect. The New connection page opens. Under Configure connection, paste the address in Server address. Get value opens n8n's page about it. Choose Connect at the bottom of the page. Lyna stores the address encrypted. Sharing, just above, sets who can use it.

  4. Read the result

    The page tests the connection and shows the result. Connected means Lyna can use it.

What the field expects:

FieldFormatSecret?Where you find it
Server addressA full address starting with https://, with a random pathYes. Anyone who has it can call your tools.The MCP Server Trigger node in n8n, Production URL

Check it works

After you choose Connect, the page tests the connection and shows the result. Run it again at any time with Test connection. Connected proves that the server at your address answered and listed its tools. It says nothing yet about the n8n actions behind those tools. A pass does not prove access to every piece of data. Each tool runs with the credentials you set on it in n8n, and those can fail on their own.

To check for real, ask for something you know exists:

  • "List the tools my n8n server offers, and tell me what each one needs as input."

What to ask Lyna AI

Type these in the chat, in Build mode, and adjust the names to yours. Once it is connected, Use n8n on its page starts a message for you.

What you build or doWhat to typeWhat happens
See your tools"List the tools my n8n server offers."Lyna AI lists them and what each one needs.
Try a workflow"Call the create-invoice workflow with this test customer and show me the result."After your approval, the workflow runs for real.
Connect a form"Build a form in my app that calls my new-lead workflow on submit, and test the workflow first."It tests the workflow, then builds the form.
Look up data"Call the lookup-order tool for order 1042."After your approval, the tool runs and its answer comes back as data.
Debug a failure"Call the sync-contacts tool with this input and tell me what fails."It shows the error. The run is also in the Executions tab.
Check inputs before building"What input does the send-quote workflow need? Match my form to it."It reads the tool's description and changes your form.

Approvals and tool switches

Before a call, Lyna AI shows the tool and what it asks. You choose Deny, Allow once, Always allow this tool or Always allow this connector. A tool its server marks as read-only does not ask. A changed or new tool asks again, and Ask again on the connector's page takes a choice back.

Under What Lyna AI can use, each tool has a switch. Lyna AI stops using a tool you turn off, in your chats in this project.

Stay safe

What a connector answers reaches the AI as data, never as instructions. Read each approval before you accept it.

  • Attach only the tools you want Lyna to call. To stay read-only, attach only tools that read.
  • Executions of the production address show under the Executions tab in n8n, so you can review what ran.

Limits

  • The test address only answers while you listen for a test event in n8n, so use the production one here.
  • In queue mode with several webhook replicas, n8n states that connections often break unless all /mcp* traffic goes to one dedicated replica.
  • Behind a reverse proxy, turn off proxy buffering for the MCP address.
  • See MCP Server Trigger.
  • Connector tools run in Build mode. Plan and Ask do not run them.

Troubleshooting

What you seeWhat it means and what to do
The address starts with https://.Paste the full address, with https://.
The server could not be reached. Check its address and try again.Check the address where you copied it. To paste another one, choose Delete connection under More options, then Connect.
Not tested yetNo test has answered. Choose Test connection.
Connection failedThe page says why next to it. If the server did not answer, choose Test connection.
A call fails with a permission errorConnected does not prove access to every piece of data. n8n refused the call with the rights of the account you connected. Check Permissions in n8n above, then try again.
New tools to reviewThe server changed its list of tools, so Lyna stops using it until you decide. Read the list, then choose Approve new tools.
Turned offLyna AI does not use it. Choose Turn on.
The person who connected it left the workspaceThe connection holds no key or sign-in. Choose Connect to use it again.
The connection drops under useIf you run several webhook replicas or a reverse proxy, apply the two settings above.
A key is missingThe node asks for bearer or header auth. See Ways to connect.

Disconnect

Turn off stops Lyna from using the connector and keeps your settings. Remove from this project, under More options, takes it out of this project only, and shows when another project uses it. Delete connection, in the same menu, removes it from every project, with what it stored, and says first how many projects lose it. To end the access at the source, unpublish the workflow or change the path on the trigger node.

Need help?

Ask the team, read what changed, or learn from the blog.