[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F99MHXTS19PH4AJQC0B7EY":3,"skill-same:01M6F99MHXTS19PH4AJQC0B7EY":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":29,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M6F99MHXTS19PH4AJQC0B7EY","n8n-multi-instance",null,"Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-n8n-multi-instance\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"n8n multi instance","multi","n8n","instances","2026","blob","n8n mcp","tree","clients","critical","across","main","MCP","switch","community","credential","select","verify","Production","https","license","teams","github","2026-11-10 10:12:30",false,"---\nname: n8n-multi-instance\ndescription: Select, verify, and safely switch n8n MCP instances across production, staging, teams, or clients, especially before credential writes.\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002Fczlonkowski\u002Fn8n-skills\u002Ftree\u002Fmain\u002Fskills\u002Fn8n-multi-instance\nsource_repo: czlonkowski\u002Fn8n-skills\nsource_type: community\ndate_added: \"2026-07-21\"\nauthor: Romuald Czlonkowski\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002Fczlonkowski\u002Fn8n-skills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Working with multiple n8n instances over MCP\n\n## When to Use\n\nUse this skill whenever one MCP connection can target multiple n8n instances, before instance-specific reads or writes, and whenever results suggest the session is aimed at the wrong environment.\n\nResolve the target from the discovered name, ID and URL; switch using the schema-supported name, verify it with a read-only health check, and state the resolved environment before mutations. Require explicit confirmation for credential create\u002Fupdate\u002Fdelete operations, never print secret values, and stop on ambiguous targeting rather than guessing.\n\nWhen the `n8n_instances` tool is available, the user has **multi-instance mode** on: one MCP\nconnection can reach several n8n instances (e.g. `prod`, `staging`, or one per client\u002Fteam).\nEvery other n8n tool (`n8n_get_workflow`, `n8n_list_workflows`, `n8n_update_partial_workflow`,\n`n8n_manage_datatable`, `n8n_manage_credentials`, `n8n_executions`, `n8n_test_workflow`, …) runs\nagainst **whichever instance this session is currently targeting**. There is no per-call instance\nargument: you change the target only by switching. Target the wrong instance and a read returns the\nwrong data and a write lands in the wrong place — usually with **no error** (the one exception is an\nambiguous credential write, which fails closed; see below). So target deliberately.\n\nIf the tool is absent, multi-instance support is unknown. Verify the connected server and target using available read-only evidence before operating; do not infer single-instance access from a missing tool.\n\n## Golden rules\n\nSix rules. Each prevents a class of silent misroute.\n\n1. **Discover first.** Call `n8n_instances({mode:\"list\"})` before acting so you know the instance\n   names and which one is `current`.\n2. **Switch by name to your target** before doing work on a non-default instance:\n   `n8n_instances({mode:\"switch\", name:\"\u003Cinstance name>\"})`. The match is case-insensitive.\n3. **Switch in its own turn.** Never put a `switch` and a dependent operation in the **same\n   parallel tool-call batch**. Calls in one batch have no guaranteed order, so the dependent call\n   can be resolved against the *previous* instance before the switch's session state is visible.\n   Switch, let it return, *then* operate.\n4. **Verify before high-stakes ops.** Immediately before creating\u002Fupdating\u002Fdeleting **credentials**\n   (and before destructive workflow edits), confirm `current` is the instance you intend — primary\n   check is `n8n_instances({mode:\"list\"})`. The system fail-closes only the *ambiguous* credential\n   case (rule 6); an explicit switch to the **wrong** instance still writes there silently, so this\n   check is on you.\n5. **An unexpected `NOT_FOUND` may be a wrong-instance misroute, missing permission or deletion.** Don't\n   recreate the object. Re-check the current instance and retry (see Recovery).\n6. **On `INSTANCE_AMBIGUOUS`, switch on *this* session, then retry.** The system is refusing to\n   write a secret because this session never picked a target itself. Comply — run `switch` here to\n   confirm the instance, then retry the write. Don't work around it or retry blindly.\n\n## Core workflow\n\n```\n1. n8n_instances({mode:\"list\"})                      # see available[] + current + default\n2. n8n_instances({mode:\"switch\", name:\"prod\"})       # bind THIS session to \"prod\"\n   → returns { previous, current }; confirm current.name == \"prod\"\n3. (do your work) n8n_list_workflows \u002F n8n_get_workflow \u002F n8n_manage_datatable \u002F ...\n4. Before a credential write or a delete:\n   n8n_instances({mode:\"list\"})  → re-confirm current, THEN n8n_manage_credentials({action:\"create\", ...})\n```\n\nTo move to another instance, just `switch` again. The whole session follows the switch.\n\n## The `n8n_instances` tool\n\nTwo modes (`mode` is required and enum-validated):\n\n- `{mode:\"list\"}` → `{ current, default, available }`, no side effects.\n  - `current` and `default` are each one instance `{ id, name, url, isDefault }` (or `null`).\n  - `available` is every instance, each with an extra `isCurrent` boolean. Match by **`name`**;\n    never hard-code `id`.\n- `{mode:\"switch\", name:\"\u003Cname>\"}` → `{ previous, current }`, and binds this session to the named\n  instance. `name` is case-insensitive.\n\n### Error envelope (from the `n8n_instances` tool)\n\nEvery error returns `{ error: \"\u003CCODE>\", message, … }`. The ones you'll actually hit:\n\n| Code | When | What to do |\n|---|---|---|\n| `UNKNOWN_INSTANCE` | `name` matches no instance | Pick a name from the `available` list in the error payload and retry. |\n| `NAME_REQUIRED` | `switch` with no `name` | Re-call with a `name` (the error lists the valid ones in `available`). |\n| `MULTI_INSTANCE_DISABLED` | multi-instance mode is off | There's nothing to switch; use the n8n tools directly. The user can enable it at the n8n-mcp dashboard. |\n| `NO_SESSION` | the request has **neither** an MCP session id **nor** a credential id | A selection has nowhere to land. Reconnect \u002F initialize a session, then switch. |\n| `UNKNOWN_MODE` | `mode` wasn't `list`\u002F`switch` | Use `list` or `switch`. |\n| `INVALID_CONTEXT` | server-side metadata missing | A server bug, not your input — report it. |\n\n> Instance names can never be `default`, `current`, `list`, or `switch` (reserved), so you'll never\n> see an instance literally named after a mode or field.\n\n### `INSTANCE_AMBIGUOUS` (from the credential-write path, not the tool)\n\nA separate, higher-stakes error. It is **not** returned by `n8n_instances` — it's returned by the\nserver when you call `n8n_manage_credentials` to **create\u002Fupdate\u002Fdelete** a credential and the target\ninstance is ambiguous: this session never switched on its own but inherited a switch made elsewhere\n(a fan-out \u002F reconnect), pointing at a **non-default** instance. Rather than risk writing a secret to\nthe wrong instance, the server **blocks the write** (it never reaches n8n, no quota is charged) and\nreturns:\n\n```json\n{\n  \"error\": \"INSTANCE_AMBIGUOUS\",\n  \"message\": \"… the session issuing this request never switched there itself … Re-run n8n_instances({mode:\\\"switch\\\", name:\\\"…\\\"}) on this session to confirm the target …\",\n  \"lastSelected\": { \"id\": \"…\", \"name\": \"…\" },\n  \"default\":      { \"id\": \"…\", \"name\": \"…\" }\n}\n```\n\n**Fix:** decide which instance you actually want (`lastSelected` is the inherited switch, `default`\nis the account default), run `n8n_instances({mode:\"switch\", name:\"…\"})` on **this** session, then\nretry the write. See rule 6.\n\n## How targeting behaves (mental model)\n\n- A `switch` **binds this session** to the chosen instance. The binding **persists for the rest of\n  the session and survives reconnects, idle, and backend deploys** (~24h, the MCP session lifetime)\n  — you should not need to re-switch before every call.\n- Other sessions \u002F terminals are **independent**: switching here does not move them.\n- One session targets **one instance at a time**. There is no per-call instance argument; you\n  change the target only via `switch`.\n- **Reads and non-credential writes** route to the currently-selected instance, silently — a\n  misroute produces wrong data or a `NOT_FOUND`, not an error.\n- **Credential writes are the one guarded case.** They route the same way, except the server\n  fail-closes the *ambiguous* state (a session that never switched, recovered onto a non-default\n  instance) with `INSTANCE_AMBIGUOUS`. This is a safety net, not a substitute for rule 4: an\n  explicit switch to the wrong instance still writes there.\n- **If your selected instance is deleted** (the user removes it mid-session), the next call silently\n  falls back to your **default** instance — no error. So default's data appearing where you expected\n  another instance's can look like \"my data vanished.\" Re-list to see where you are.\n\n## Recovery playbook\n\n| Symptom | What it usually means | Do this |\n|---|---|---|\n| `INSTANCE_AMBIGUOUS` on a credential create\u002Fupdate\u002Fdelete | This session never switched itself; the system won't guess which instance to write the secret to | Run `n8n_instances({mode:\"switch\", name:\"\u003Ctarget>\"})` on this session (the error names `lastSelected` and `default` — pick the one you want), then retry the write. Never retry blindly. |\n| `NOT_FOUND` for a workflow\u002Fdatatable\u002Fcredential you **know exists** | You're pointed at the wrong instance — **not** that it was deleted | `n8n_instances({mode:\"list\"})` → check `current`. If it's not your target, `switch` and retry. **Do not recreate the object.** |\n| A read returns **empty or unfamiliar** data | Wrong-instance read, or a silent fallback to `default` after your instance was deleted | `n8n_instances({mode:\"list\"})`, confirm `current`, switch if needed, re-read before drawing conclusions. |\n| `UNKNOWN_INSTANCE` on `switch` | The `name` is wrong (typo, or you guessed) | Read the `available` names in the error and switch to one of those. Names are case-insensitive. |\n| `n8n_health_check` reports an `instanceName` you didn't expect | This session is on a different instance than you think | `switch` to the intended instance, then proceed. |\n| Repeated misroutes within one turn | You batched a `switch` with dependent work | Split them: `switch` alone, await the result, then operate one logical step at a time. |\n\nAfter any recovery switch, sanity-check with `n8n_instances({mode:\"list\"})` (read `current`) as the\nprimary signal. `n8n_health_check` also returns the resolved instance under `details.instanceName`,\nbut it can be absent on some paths (legacy\u002Fchat), so treat it as a secondary confirmation.\n\n## Credential operations (highest stakes)\n\nCredentials hold live secrets, and a misrouted credential write puts a secret on the **wrong\ninstance**. The server protects the **ambiguous** case automatically — if this session never picked\na target and inherited a switch to a non-default instance, the write fails closed with\n`INSTANCE_AMBIGUOUS` (rule 6) and never reaches n8n. But that net is narrow: a credential write on a\nsession that **did** switch goes through to whatever instance it switched to, with no second\nguess. So:\n\n- **Verify `current` immediately before** `n8n_manage_credentials` create\u002Fupdate\u002Fdelete — call\n  `n8n_instances({mode:\"list\"})` in the same short sequence, not 10 steps earlier where a later\n  switch could have moved you.\n- **On `INSTANCE_AMBIGUOUS`**, switch on this session to confirm the target, then retry — don't\n  work around it.\n- Credential **reads** (`action:\"list\"`\u002F`\"get\"`\u002F`\"getSchema\"`) are not gated and don't write a\n  secret, but a read off the wrong instance returns the wrong schema or list — so still verify\n  `current` if the result looks wrong.\n- For the `n8n_manage_credentials` tool itself (CRUD shapes, `getSchema` discovery, never inlining\n  secrets into text fields), see `n8n-mcp-tools-expert`.\n\n## Common multi-instance task: copy something between instances\n\nTo recreate a credential or workflow from instance A on instance B:\n\n```\n1. switch → A;  read the source (n8n_manage_credentials get \u002F n8n_get_workflow)\n2. switch → B   (its own call — never batched with the create below)\n3. n8n_instances({mode:\"list\"})  → confirm current == B\n4. create on B  (n8n_manage_credentials create \u002F n8n_create_workflow)\n```\n\nDo each instance's steps in its own turn; never overlap `switch → B` with the create-on-B call\n(rule 3), and switch explicitly on this session before the credential write so it isn't ambiguous\n(rules 4 and 6).\n\n## Quick reference\n\n- See instances + where you are: `n8n_instances({mode:\"list\"})` → `{ current, default, available }`\n- Change target: `n8n_instances({mode:\"switch\", name:\"\u003Cname>\"})` — its own turn, then operate\n- Confirm target: `current` from `list` (primary); `details.instanceName` from `n8n_health_check` (secondary, may be absent)\n- `UNKNOWN_INSTANCE` → switch to a name from the error's `available` list, then retry\n- `INSTANCE_AMBIGUOUS` (credential write) → `switch` on this session to confirm the target, then retry\n- Unexpected `NOT_FOUND` → verify the instance, switch, retry; **do not recreate**\n- Before credential writes → re-`list`, confirm `current`, then write (the fail-close only covers the ambiguous case)\n\n## Integration with other skills\n\n- **n8n-mcp-tools-expert** — owns `n8n_manage_credentials` (CRUD + `getSchema`) and the rule that\n  secrets go through the credential system, never text fields. This skill adds the \"which instance?\"\n  layer on top.\n- **using-n8n-mcp-skills** — the router; consult it for which skill owns a given build step.\n\n## Limitations\n\n- Instance discovery and switching depend on the connected n8n MCP server exposing multi-instance tools.\n- A successful switch does not authorize mutations or prove that the selected environment is appropriate for the task.\n- Unexpected empty or missing data may have causes other than misrouting; verify before changing targets.\n\nThe exact session lifetime, fallback, error envelope and credential guard behavior described here is server-version-specific. Verify the live schema and resolved target; never rely on a claimed server safety net without evidence. Serialize all operations sharing a mutable target session; a pre-write list check alone cannot prevent another concurrent switch. Credential reads may return redacted data, not exportable secrets; copying workflows does not copy their credentials or authorize production activation.\n","# Working with multiple n8n instances over MCP\n\n## When to Use\n\nUse this skill whenever one MCP connection can target multiple n8n instances, before instance-specific reads or writes, and whenever results suggest the session is aimed at the wrong environment.\n\nResolve the target from the discovered name, ID and URL; switch using the schema-supported name, verify it with a read-only health check, and state the resolved environment before mutations. Require explicit confirmation for credential create\u002Fupdate\u002Fdelete operations, never print secret values, and stop on ambiguous targeting rather than guessing.\n\nWhen the `n8n_instances` tool is available, the user has **multi-instance mode** on: one MCP\nconnection can reach several n8n instances (e.g. `prod`, `staging`, or one per client\u002Fteam).\nEvery other n8n tool (`n8n_get_workflow`, `n8n_list_workflows`, `n8n_update_partial_workflow`,\n`n8n_manage_datatable`, `n8n_manage_credentials`, `n8n_executions`, `n8n_test_workflow`, …) runs\nagainst **whichever instance this session is currently targeting**. There is no per-call instance\nargument: you change the target only by switching. Target the wrong instance and a read returns the\nwrong data and a write lands in the wrong place — usually with **no error** (the one exception is an\nambiguous credential write, which fails closed; see below). So target deliberately.\n\nIf the tool is absent, multi-instance support is unknown. Verify the connected server and target using available read-only evidence before operating; do not infer single-instance access from a missing tool.\n\n## Golden rules\n\nSix rules. Each prevents a class of silent misroute.\n\n1. **Discover first.** Call `n8n_instances({mode:\"list\"})` before acting so you know the instance\n   names and which one is `current`.\n2. **Switch by name to your target** before doing work on a non-default instance:\n   `n8n_instances({mode:\"switch\", name:\"\u003Cinstance name>\"})`. The match is case-insensitive.\n3. **Switch in its own turn.** Never put a `switch` and a dependent operation in the **same\n   parallel tool-call batch**. Calls in one batch have no guaranteed order, so the dependent call\n   can be resolved against the *previous* instance before the switch's session state is visible.\n   Switch, let it return, *then* operate.\n4. **Verify before high-stakes ops.** Immediately before creating\u002Fupdating\u002Fdeleting **credentials**\n   (and before destructive workflow edits), confirm `current` is the instance you intend — primary\n   check is `n8n_instances({mode:\"list\"})`. The system fail-closes only the *ambiguous* credential\n   case (rule 6); an explicit switch to the **wrong** instance still writes there silently, so this\n   check is on you.\n5. **An unexpected `NOT_FOUND` may be a wrong-instance misroute, missing permission or deletion.** Don't\n   recreate the object. Re-check the current instance and retry (see Recovery).\n6. **On `INSTANCE_AMBIGUOUS`, switch on *this* session, then retry.** The system is refusing to\n   write a secret because this session never picked a target itself. Comply — run `switch` here to\n   confirm the instance, then retry the write. Don't work around it or retry blindly.\n\n## Core workflow\n\n```\n1. n8n_instances({mode:\"list\"})                      # see available[] + current + default\n2. n8n_instances({mode:\"switch\", name:\"prod\"})       # bind THIS session to \"prod\"\n   → returns { previous, current }; confirm current.name == \"prod\"\n3. (do your work) n8n_list_workflows \u002F n8n_get_workflow \u002F n8n_manage_datatable \u002F ...\n4. Before a credential write or a delete:\n   n8n_instances({mode:\"list\"})  → re-confirm current, THEN n8n_manage_credentials({action:\"create\", ...})\n```\n\nTo move to another instance, just `switch` again. The whole session follows the switch.\n\n## The `n8n_instances` tool\n\nTwo modes (`mode` is required and enum-validated):\n\n- `{mode:\"list\"}` → `{ current, default, available }`, no side effects.\n  - `current` and `default` are each one instance `{ id, name, url, isDefault }` (or `null`).\n  - `available` is every instance, each with an extra `isCurrent` boolean. Match by **`name`**;\n    never hard-code `id`.\n- `{mode:\"switch\", name:\"\u003Cname>\"}` → `{ previous, current }`, and binds this session to the named\n  instance. `name` is case-insensitive.\n\n### Error envelope (from the `n8n_instances` tool)\n\nEvery error returns `{ error: \"\u003CCODE>\", message, … }`. The ones you'll actually hit:\n\n| Code | When | What to do |\n|---|---|---|\n| `UNKNOWN_INSTANCE` | `name` matches no instance | Pick a name from the `available` list in the error payload and retry. |\n| `NAME_REQUIRED` | `switch` with no `name` | Re-call with a `name` (the error lists the valid ones in `available`). |\n| `MULTI_INSTANCE_DISABLED` | multi-instance mode is off | There's nothing to switch; use the n8n tools directly. The user can enable it at the n8n-mcp dashboard. |\n| `NO_SESSION` | the request has **neither** an MCP session id **nor** a credential id | A selection has nowhere to land. Reconnect \u002F initialize a session, then switch. |\n| `UNKNOWN_MODE` | `mode` wasn't `list`\u002F`switch` | Use `list` or `switch`. |\n| `INVALID_CONTEXT` | server-side metadata missing | A server bug, not your input — report it. |\n\n> Instance names can never be `default`, `current`, `list`, or `switch` (reserved), so you'll never\n> see an instance literally named after a mode or field.\n\n### `INSTANCE_AMBIGUOUS` (from the credential-write path, not the tool)\n\nA separate, higher-stakes error. It is **not** returned by `n8n_instances` — it's returned by the\nserver when you call `n8n_manage_credentials` to **create\u002Fupdate\u002Fdelete** a credential and the target\ninstance is ambiguous: this session never switched on its own but inherited a switch made elsewhere\n(a fan-out \u002F reconnect), pointing at a **non-default** instance. Rather than risk writing a secret to\nthe wrong instance, the server **blocks the write** (it never reaches n8n, no quota is charged) and\nreturns:\n\n```json\n{\n  \"error\": \"INSTANCE_AMBIGUOUS\",\n  \"message\": \"… the session issuing this request never switched there itself … Re-run n8n_instances({mode:\\\"switch\\\", name:\\\"…\\\"}) on this session to confirm the target …\",\n  \"lastSelected\": { \"id\": \"…\", \"name\": \"…\" },\n  \"default\":      { \"id\": \"…\", \"name\": \"…\" }\n}\n```\n\n**Fix:** decide which instance you actually want (`lastSelected` is the inherited switch, `default`\nis the account default), run `n8n_instances({mode:\"switch\", name:\"…\"})` on **this** session, then\nretry the write. See rule 6.\n\n## How targeting behaves (mental model)\n\n- A `switch` **binds this session** to the chosen instance. The binding **persists for the rest of\n  the session and survives reconnects, idle, and backend deploys** (~24h, the MCP session lifetime)\n  — you should not need to re-switch before every call.\n- Other sessions \u002F terminals are **independent**: switching here does not move them.\n- One session targets **one instance at a time**. There is no per-call instance argument; you\n  change the target only via `switch`.\n- **Reads and non-credential writes** route to the currently-selected instance, silently — a\n  misroute produces wrong data or a `NOT_FOUND`, not an error.\n- **Credential writes are the one guarded case.** They route the same way, except the server\n  fail-closes the *ambiguous* state (a session that never switched, recovered onto a non-default\n  instance) with `INSTANCE_AMBIGUOUS`. This is a safety net, not a substitute for rule 4: an\n  explicit switch to the wrong instance still writes there.\n- **If your selected instance is deleted** (the user removes it mid-session), the next call silently\n  falls back to your **default** instance — no error. So default's data appearing where you expected\n  another instance's can look like \"my data vanished.\" Re-list to see where you are.\n\n## Recovery playbook\n\n| Symptom | What it usually means | Do this |\n|---|---|---|\n| `INSTANCE_AMBIGUOUS` on a credential create\u002Fupdate\u002Fdelete | This session never switched itself; the system won't guess which instance to write the secret to | Run `n8n_instances({mode:\"switch\", name:\"\u003Ctarget>\"})` on this session (the error names `lastSelected` and `default` — pick the one you want), then retry the write. Never retry blindly. |\n| `NOT_FOUND` for a workflow\u002Fdatatable\u002Fcredential you **know exists** | You're pointed at the wrong instance — **not** that it was deleted | `n8n_instances({mode:\"list\"})` → check `current`. If it's not your target, `switch` and retry. **Do not recreate the object.** |\n| A read returns **empty or unfamiliar** data | Wrong-instance read, or a silent fallback to `default` after your instance was deleted | `n8n_instances({mode:\"list\"})`, confirm `current`, switch if needed, re-read before drawing conclusions. |\n| `UNKNOWN_INSTANCE` on `switch` | The `name` is wrong (typo, or you guessed) | Read the `available` names in the error and switch to one of those. Names are case-insensitive. |\n| `n8n_health_check` reports an `instanceName` you didn't expect | This session is on a different instance than you think | `switch` to the intended instance, then proceed. |\n| Repeated misroutes within one turn | You batched a `switch` with dependent work | Split them: `switch` alone, await the result, then operate one logical step at a time. |\n\nAfter any recovery switch, sanity-check with `n8n_instances({mode:\"list\"})` (read `current`) as the\nprimary signal. `n8n_health_check` also returns the resolved instance under `details.instanceName`,\nbut it can be absent on some paths (legacy\u002Fchat), so treat it as a secondary confirmation.\n\n## Credential operations (highest stakes)\n\nCredentials hold live secrets, and a misrouted credential write puts a secret on the **wrong\ninstance**. The server protects the **ambiguous** case automatically — if this session never picked\na target and inherited a switch to a non-default instance, the write fails closed with\n`INSTANCE_AMBIGUOUS` (rule 6) and never reaches n8n. But that net is narrow: a credential write on a\nsession that **did** switch goes through to whatever instance it switched to, with no second\nguess. So:\n\n- **Verify `current` immediately before** `n8n_manage_credentials` create\u002Fupdate\u002Fdelete — call\n  `n8n_instances({mode:\"list\"})` in the same short sequence, not 10 steps earlier where a later\n  switch could have moved you.\n- **On `INSTANCE_AMBIGUOUS`**, switch on this session to confirm the target, then retry — don't\n  work around it.\n- Credential **reads** (`action:\"list\"`\u002F`\"get\"`\u002F`\"getSchema\"`) are not gated and don't write a\n  secret, but a read off the wrong instance returns the wrong schema or list — so still verify\n  `current` if the result looks wrong.\n- For the `n8n_manage_credentials` tool itself (CRUD shapes, `getSchema` discovery, never inlining\n  secrets into text fields), see `n8n-mcp-tools-expert`.\n\n## Common multi-instance task: copy something between instances\n\nTo recreate a credential or workflow from instance A on instance B:\n\n```\n1. switch → A;  read the source (n8n_manage_credentials get \u002F n8n_get_workflow)\n2. switch → B   (its own call — never batched with the create below)\n3. n8n_instances({mode:\"list\"})  → confirm current == B\n4. create on B  (n8n_manage_credentials create \u002F n8n_create_workflow)\n```\n\nDo each instance's steps in its own turn; never overlap `switch → B` with the create-on-B call\n(rule 3), and switch explicitly on this session before the credential write so it isn't ambiguous\n(rules 4 and 6).\n\n## Quick reference\n\n- See instances + where you are: `n8n_instances({mode:\"list\"})` → `{ current, default, available }`\n- Change target: `n8n_instances({mode:\"switch\", name:\"\u003Cname>\"})` — its own turn, then operate\n- Confirm target: `current` from `list` (primary); `details.instanceName` from `n8n_health_check` (secondary, may be absent)\n- `UNKNOWN_INSTANCE` → switch to a name from the error's `available` list, then retry\n- `INSTANCE_AMBIGUOUS` (credential write) → `switch` on this session to confirm the target, then retry\n- Unexpected `NOT_FOUND` → verify the instance, switch, retry; **do not recreate**\n- Before credential writes → re-`list`, confirm `current`, then write (the fail-close only covers the ambiguous case)\n\n## Integration with other skills\n\n- **n8n-mcp-tools-expert** — owns `n8n_manage_credentials` (CRUD + `getSchema`) and the rule that\n  secrets go through the credential system, never text fields. This skill adds the \"which instance?\"\n  layer on top.\n- **using-n8n-mcp-skills** — the router; consult it for which skill owns a given build step.\n\n## Limitations\n\n- Instance discovery and switching depend on the connected n8n MCP server exposing multi-instance tools.\n- A successful switch does not authorize mutations or prove that the selected environment is appropriate for the task.\n- Unexpected empty or missing data may have causes other than misrouting; verify before changing targets.\n\nThe exact session lifetime, fallback, error envelope and credential guard behavior described here is server-version-specific. Verify the live schema and resolved target; never rely on a claimed server safety net without evidence. Serialize all operations sharing a mutable target session; a pre-write list check alone cannot prevent another concurrent switch. Credential reads may return redacted data, not exportable secrets; copying workflows does not copy their credentials or authorize production activation.\n",{"name":5,"risk":27,"author":46,"source":47,"license":14,"date_added":48,"description":7,"source_repo":49,"source_type":32,"license_source":50},"Romuald Czlonkowski","https:\u002F\u002Fgithub.com\u002Fczlonkowski\u002Fn8n-skills\u002Ftree\u002Fmain\u002Fskills\u002Fn8n-multi-instance","2026-07-21","czlonkowski\u002Fn8n-skills","https:\u002F\u002Fgithub.com\u002Fczlonkowski\u002Fn8n-skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-n8n-multi-instance",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add boisenoise\u002Fskills-collections --skill n8n-multi-instance",{"tool":63,"command":64},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill n8n-multi-instance",{"tool":66,"command":67},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill n8n-multi-instance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-n8n-multi-instance\u002FSKILL.md",true,[],[72,81,89,98,106,114],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":80},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":97},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":97},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":97},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]