n8n_add_server
Register or update an n8n server connection by providing its name, URL, and API key. Set an optional default flag to manage workflow operations through AI assistants.
Instructions
Add or update an n8n server connection. The API key can be created in n8n under Settings > API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | n8n server URL (e.g. 'http://localhost:5678') | |
| name | Yes | Server name (e.g. 'production', 'staging') | |
| api_key | Yes | n8n API key (from Settings > API in n8n) | |
| is_default | No | Optional default policy: omitted preserves an existing server's flag; true promotes this server; false explicitly removes its default flag. |