MetorialDocs

Set up n8n in Metorial for Claude, ChatGPT and Cursor

Share n8n with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 24 tools (9 read-only).

To give your team n8n in Claude, ChatGPT, Cursor and other AI clients, an admin shares the n8n integration in a Metorial portal, and each person connects with an API key. Agents can manage workflows, executions, credentials, users, and projects on an n8n workflow automation instance. The integration has 24 tools, 9 read-only, 2 write and 13 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares n8n in a portal and how each person connects
  • What n8n asks for when you connect, and where to find it
  • How to keep the 9 read-only tools and reject the other 15

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: n8n API key. Generate one in Settings > n8n API in your n8n instance.

Setup settings

Setup also asks for:

  • baseUrl: Base URL of your n8n instance API (e.g. https://your-instance.app.n8n.cloud/api/v1 or https://your-n8n-host:5678/api/v1)

Admin: share n8n in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose n8n. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from n8n.

Choose who gets it

Add the access groups that should see n8n. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user n8n integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search n8n

Employee: connect n8n

In the portal

Open n8n in the catalog

Sign in to your portal and open n8n. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search n8n
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your n8n connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list n8n
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as list_users and discover_api, and lose the 2 write tools, such as create_workflow or create_credential, and the 13 destructive tools, such as manage_tags or stop_execution.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list n8n
metorial tools <integration-id>
metorial call <integration-id> list_users -d '{}'

metorial tools lists the 24 tools, minus any you rejected. list_users takes no input. It lists users on the n8n instance.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (9)

  • get_execution: Retrieve details of a specific workflow execution including its status, timing, and optionally the full execution data with node-level results. Needs executionId.
  • get_workflow: Retrieve a current workflow definition or an exact historical version. Needs workflowId.
  • list_executions: List workflow executions with optional filtering by workflow, status, and project.
  • list_credentials: List all credentials stored in your n8n instance.
  • list_workflows: List workflows in your n8n instance with optional filtering.
  • list_users: List users on the n8n instance.
  • get_credential_schema: Retrieve the JSON schema for a specific credential type. Needs credentialTypeName.
  • generate_audit: Generate a security audit report for your n8n instance.
  • discover_api: Read the native capability map filtered by this API key’s scopes, optionally including request schemas.

Write tools (2)

  • create_workflow: Create a new workflow in n8n. Needs name, nodes and connections.
  • create_credential: Create a new credential in n8n. Needs name, type and credentialData.

Destructive tools (13)

  • manage_workflow_tags: Get or update the tags assigned to a workflow. Needs workflowId.
  • update_workflow: Update an existing workflow's definition, including its name, nodes, connections, and settings. Needs workflowId.
  • delete_execution: Permanently delete a workflow execution record. Needs executionId.
  • activate_workflow: Activate (publish) or deactivate a workflow. Needs workflowId and active.
  • stop_execution: Stop a currently running workflow execution. Needs executionId.
  • retry_execution: Retry a failed workflow execution. Needs executionId.
  • delete_workflow: Permanently delete a workflow from n8n. Needs workflowId.
  • source_control_pull: Pull workflow changes from a connected Git repository into your n8n instance.
  • manage_projects: Create, update, delete, or list projects in n8n. Needs action.
  • manage_tags: Create, update, delete, or list tags used to organize workflows and credentials. Needs action.
  • transfer_resource: Transfer a workflow or credential to a different project. Needs resourceType, resourceId and destinationProjectId.
  • delete_credential: Permanently delete a credential from n8n. Needs credentialId.
  • manage_variables: Create, update, delete, or list variables stored in your n8n instance. Needs action.

Triggers

n8n has 3 triggers, which fire on events in n8n:

  • execution_completed: Detects when workflow executions complete (successfully or with errors) by polling for new finished executions.
  • inbound_webhook
  • workflow_changes: Detects when workflows are created, updated, activated, or deactivated by polling the n8n instance.

Next steps