← All integrations

n8n MCP server

202 operations0 webhooks

Manage an n8n instance: workflows, executions, credentials, data tables, tags, variables, projects, users, AI agents and instance settings (202 operations).

Try n8n with your agent

Connect n8n, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in n8n on my account, then run one read-only example and show me the result.

Runs once, when you ask

n8n tools and triggers

Tools are what your agent can do in n8n through Corsair's MCP server. Triggers are the n8n events a routine can start from.

Promotions

  • Environments.Add ProjectWrite

    Beta: Link a project to a promotion environment. Beta — breaking changes may still occur without major version bump. Links a team project to a project-scoped environment. A project can have one environment for each direction. A direction without a project environment uses the instance environment. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.addProject

  • Environments.ApplyDestructive

    Beta: Apply a package to the instance. Beta — breaking changes may still occur without major version bump. Checks the full package at the configured branch tip. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.apply

  • Environments.ConnectWrite

    Beta: Connect an environment. Beta — breaking changes may still occur without major version bump. Prepares the environment on the instance that handles the request. For a Git provider, this clones the configured branch into local storage. Safe to call repeatedly. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.connect

  • Environments.Continue ApplyDestructive

    Beta: Continue Apply after binding setup. Beta — breaking changes may still occur without major version bump. Rechecks the configured source and current target bindings. Send expectedSource with the environmentId, branchName, and full commitSha from the reviewed Apply result. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.continueApply

  • Environments.CreateWrite

    Beta: Create a promotion environment. Beta — breaking changes may still occur without major version bump. Creates an environment for one direction on an existing provider. The settings must match the direction. A GitLab remote URL must belong to the saved provider. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.create

  • Environments.DeleteDestructive

    Beta: Delete a promotion environment. Beta — breaking changes may still occur without major version bump. Deletes the environment with its project links and local checkout. Its provider is kept. Nothing in the Git repository changes. The open promotion reviews of the environment close in n8n. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.

    promotions.environments.delete

  • Environments.DisconnectWrite

    Beta: Remove an environment's local checkout. Beta — breaking changes may still occur without major version bump. Removes the local checkout on this instance, asks the other main instances to remove theirs, and keeps the environment, its credentials, and the trusted SSH host keys. Another operation on the same environment returns 423. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.disconnect

  • Environments.GetRead-only

    Beta: Retrieve a promotion environment. Beta — breaking changes may still occur without major version bump. Returns the environment with its provider summary and the state of its local checkout. Requires the promotions:readEnvironments API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.get

  • Environments.Get Change DetailsRead-only

    Beta: Read the content of resources in the whole-instance Apply preview. Beta — breaking changes may still occur without major version bump. Returns the content before and after the change for up to 50 resources of the whole-instance Apply preview. Send the commitSha and the resource key values from the preview. The branch side is read at that commit. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.

    promotions.environments.getChangeDetails

  • Environments.ListRead-only

    Beta: List promotion environments. Beta — breaking changes may still occur without major version bump. Returns a cursor-paginated list of environments. Filter by scope and direction for the instance environments, or by providerId to see which environments a provider edit affects. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.list

  • Environments.List ChangesRead-only

    Beta: Preview the Apply of the whole instance. Beta — breaking changes may still occur without major version bump. Shows what applying the branch tip of an instance Apply environment changes on this instance, for every project of the package. resources and dependencies have the same shape as the project change preview. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.

    promotions.environments.listChanges

  • Environments.List Missing ProjectsRead-only

    Beta: List package projects that are missing on this instance. Beta — breaking changes may still occur without major version bump. Reads the package at the Apply branch tip and returns its team projects whose IDs do not exist on this instance. Projects are matched by ID, not by name. An ID that a personal project uses counts as existing. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.

    promotions.environments.listMissingProjects

Connect n8n to Claude, ChatGPT or Cursor

  1. 1

    Connect n8n in Corsair

    Add your n8n API key once in Corsair. Corsair stores the credential encrypted and makes the n8n API calls for your agent, so it never goes into a prompt or a config file. Connect n8n

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs n8n. On a ChatGPT personal plan, connect n8n here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.

    Codex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, n8n's read and write operations run right away and its 57 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/n8n, add the n8n plugin, and connect with an API key. Then call methods like corsair.n8n.api.agents.archive() from your app. Corsair keeps each tenant isolated.

Yes. n8n requires an API key from your n8n account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.

Yes. One Corsair client can hit n8n, GitHub, Notion, Stripe, and the rest. Trigger n8n from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for manage an n8n instance: workflows, executions, credentials, data tables, tags, variables, projects, users, AI agents and instance settings (202 operations). Common builds include sync jobs, admin tooling, and agents that call n8n APIs from your backend.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per n8n API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/n8n in the open repo. When n8n ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your n8n data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store n8n data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put n8n on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 57 destructive n8n operations. You can change a link's mode at hub.corsair.dev/me.