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
- A portal with at least one access group
- An API key from n8n for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
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:
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
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.
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 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. NeedsexecutionId.get_workflow: Retrieve a current workflow definition or an exact historical version. NeedsworkflowId.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. NeedscredentialTypeName.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. Needsname,nodesandconnections.create_credential: Create a new credential in n8n. Needsname,typeandcredentialData.
Destructive tools (13)
manage_workflow_tags: Get or update the tags assigned to a workflow. NeedsworkflowId.update_workflow: Update an existing workflow's definition, including its name, nodes, connections, and settings. NeedsworkflowId.delete_execution: Permanently delete a workflow execution record. NeedsexecutionId.activate_workflow: Activate (publish) or deactivate a workflow. NeedsworkflowIdandactive.stop_execution: Stop a currently running workflow execution. NeedsexecutionId.retry_execution: Retry a failed workflow execution. NeedsexecutionId.delete_workflow: Permanently delete a workflow from n8n. NeedsworkflowId.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. Needsaction.manage_tags: Create, update, delete, or list tags used to organize workflows and credentials. Needsaction.transfer_resource: Transfer a workflow or credential to a different project. NeedsresourceType,resourceIdanddestinationProjectId.delete_credential: Permanently delete a credential from n8n. NeedscredentialId.manage_variables: Create, update, delete, or list variables stored in your n8n instance. Needsaction.
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_webhookworkflow_changes: Detects when workflows are created, updated, activated, or deactivated by polling the n8n instance.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use n8n there
- Tool permissions: tool filters and what employees see
- n8n on metorial.com: the integration overview