In short.
This n8n documentation page gives existing n8n users commands and settings for connecting AI assistants and coding tools to their workflows. It covers Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code, Windsurf, Lovable and Google ADK agents. Depending on the client, it uses interface steps, CLI commands or configuration examples. The main catch is that it only covers connecting. Enabling MCP access and choosing an authentication method are on a linked page, token creation is not explained, and the tool list is on a separate reference page. None of those pages are covered here. Every client points at one server address ending in /mcp-server/http and signs in with OAuth (which the page recommends) or a bearer token. The options differ by client: several are shown with OAuth or one-click setup only. The page gives no pricing or licence terms. None of the commands or configurations have been run, so they are described as documented, not as confirmed to work.
Researched and written by an AI model and checked by a second AI model. How it works
Scope: the complete text of one n8n documentation page, [https://docs.n8n.io/connect/connect-to-n8n-mcp-server/mcp-client-examples.md], captured on 15 November 2026. Pages it links to are excluded: the main Connect to n8n MCP server page, the MCP server tools reference, the documentation index at [https://docs.n8n.io/llms.txt] and Google's ADK guide. The page shows no licence or copyright notice, so reuse terms for its text and snippets are unknown. Licences for the software its examples run or import are not supplied. None of the commands, configurations or code samples have been run, and no client has been connected to an n8n instance. Their behaviour, compatibility with current client versions, plan availability and costs are therefore unassessed.
The overview
What this resource is
The resource is one page of n8n's documentation, titled MCP client connection examples, at [https://docs.n8n.io/connect/connect-to-n8n-mcp-server/mcp-client-examples.md]. It is the Markdown version of a docs page and belongs to n8n's documentation on connecting to the n8n MCP server. The page does not define MCP. It assumes the reader already knows what an MCP client and server are.
The page describes itself as copy-paste connection commands and configuration for Lovable, Claude Desktop, Claude Code, Codex, Gemini CLI, Cursor, VS Code, Windsurf and Google ADK agents. It is a reference page, not software, a library or a plugin. The publisher is n8n, through its documentation site. Individual authors are not named, and the page shows no publication or update date.
Overall assessment
Judged on its own content, this is a focused, practical reference. It combines interface steps, CLI commands and configuration examples, depending on the client. Lovable, for example, gets interface steps only, while Claude Code gets both a CLI command and a claude.json entry. Every section that includes a snippet repeats the same placeholder guidance, so a reader can jump straight to their own client.
It is narrow in scope. It does not explain MCP, how to enable MCP access on an n8n instance, how to generate a token, or what tools the server offers. It links to other n8n pages for enabling access, authentication, the tools reference and troubleshooting, and those pages are not covered here. It works well as a lookup page once n8n's side is set up, but it is not a standalone tutorial. None of the snippets have been run, so whether they work is unconfirmed.
Who it is for
The page suits people who run or use an n8n instance, either on n8n Cloud or self-hosted, and want an AI assistant or agent to work with n8n workflows. That includes developers using terminal agents (Claude Code, Codex CLI, Gemini CLI), editor users (Cursor, VS Code, Windsurf), desktop or web assistant users (Claude Desktop, Lovable), and Python developers building agents with Google ADK.
You need an n8n instance with MCP access enabled. The page does not say which n8n user roles or permissions are needed to enable MCP access, open the Connect a client dialog or approve client access. For some clients the OAuth and one-click instructions are only a few steps, which makes them the shorter routes. The manual routes assume you can edit JSON, TOML or Python files.
What it covers
What the page documents for each client:
Lovable: OAuth setup through workspace Settings > Integrations > MCP Servers, then a check that Lovable can query workflows that have MCP access enabled. The sample task is building a workflow UI that lists users and lets you delete them.
Claude Desktop: OAuth through Settings > Connectors > Add custom connector. There is also an API-key route: an entry in claude_desktop_config.json that runs supergateway through npx with a bearer-token header.
Claude Code: OAuth or API key, each with either a claude mcp add command or a claude.json entry. You finish OAuth with the /mcp command.
Codex CLI: OAuth with codex mcp add and codex mcp login n8n, or an API-key entry in ~/.codex/config.toml.
Gemini CLI: a gemini mcp add command or a ~/.gemini/settings.json entry, then OAuth through /mcp. No API-key version is shown.
Cursor: one-click setup from n8n's Connect a client dialog, or an entry in ~/.cursor/mcp.json (or the project's .cursor/mcp.json).
VS Code: one-click setup, or an entry in the workspace's .vscode/mcp.json.
Windsurf: an entry in ~/.codeium/windsurf/mcp_config.json, with access approved on the first connection.
Google ADK: a Python sample that uses McpToolset with StreamableHTTPServerParams and a bearer token.
The page also says the Connect a client dialog (available from n8n 2.33.0) offers one-click setup for Claude.ai, Cursor and VS Code, and step-by-step setup for Claude Code, Codex, Gemini CLI, ChatGPT and Windsurf.
Using it
Requirements
The page states two prerequisites: MCP access must be enabled on your n8n instance, and you must choose an authentication method. Both are explained on a linked page (Connect to n8n MCP server) that is not covered here, so those steps are not assessed.
Other requirements on the page: you need a reachable server URL in the form [https://<your-n8n-domain>/mcp-server/http]. Use http:// instead for an instance served over plain HTTP, such as a local install at [http://localhost:5678]. The page advises copying the full Server URL from n8n (Settings > Instance-level MCP > Connect a client > Server URL) so the prefix is right. The token routes need a generated MCP token, but this page does not say how to create one. The Connect a client dialog, including its one-click setup, is available from n8n 2.33.0. The page does not give a minimum n8n version for the other connection methods.
Commands and imports the examples rely on: the Claude Desktop token configuration names supergateway as the package it runs through npx. The Codex TOML sets experimental_use_rmcp_client = true, which the page says older Codex builds need and newer builds ignore. The Google ADK sample imports Agent, McpToolset and StreamableHTTPServerParams from google.adk modules and sets the model to gemini-2.5-pro. The page does not give installation steps, dependency versions or environment requirements for supergateway or the Google ADK sample, and it does not name the package to install for the google.adk modules. It also does not say which client versions are supported.
How it works
Every example connects an MCP client to the same HTTP endpoint on the n8n instance, at the path /mcp-server/http. The page stresses that this is not the address of the n8n editor, and that you should not paste the URL from your browser's address bar.
The page gives configuration and authorization steps for each client but does not explain how authentication works. For the OAuth routes it gives the step that finishes authorization in each client. That means approving access when the client redirects you to n8n or prompts you, running /mcp and selecting n8n in Claude Code or Gemini CLI, or running codex mcp login n8n. The token examples set an Authorization: Bearer header carrying an n8n MCP token. The page does not explain how authentication or sessions work behind the scenes.
Configuration formats differ by client, so much of the page is a map of those differences. Claude Code uses type http with a url, plus headers for the token route. Cursor uses type streamable-http. VS Code uses a top-level servers key with type http. Gemini CLI uses httpUrl. Windsurf uses serverUrl. Codex uses a TOML [mcp_servers.<name>] table with url and, for the token route, http_headers. The Claude Desktop token configuration invokes supergateway through npx without specifying a package version. It passes --streamableHttp, the server URL and the Authorization header as arguments. The page does not explain what supergateway does in this setup. For what the server does once connected, the page points to a separate MCP server tools reference, which is not covered here.
Setup
The general flow is: enable MCP access in n8n and choose OAuth or a token. Then open Connect a client in n8n to copy the Server URL, or use one-click setup for Claude.ai, Cursor or VS Code. Next, run the command or paste the configuration for your client, replacing <your-n8n-domain> (and <YOUR_N8N_MCP_TOKEN> where it appears). If you use OAuth, finish by completing the authorization step your client asks for. That is /mcp in Claude Code or Gemini CLI, codex mcp login n8n in Codex, or approving access when the client redirects you to n8n or prompts you. On the token routes, the token goes in an Authorization: Bearer header set in the command or configuration, and the page does not give those OAuth authorization steps for them.
For n8n Cloud the page gives the domain form your-instance.app.n8n.cloud, and for self-hosted instances it gives n8n.example.com as an example. You enter the domain without the https:// prefix because the snippets already include it. For instances served over plain HTTP, the page says to use http:// instead. In the Google ADK sample, the N8N_INSTANCE_URL variable holds the full base URL, prefix included.
For troubleshooting, the page points to a section on the main MCP server page, which is not covered here.
Worked example
Take Claude Code with OAuth as an example from the page. Run claude mcp add --transport http n8n followed by the server URL [https://<your-n8n-domain>/mcp-server/http], with your own domain filled in. The page also gives an equivalent claude.json entry with mcpServers.n8n set to type http and the same url. Then run /mcp inside Claude Code and select n8n to complete the OAuth authorization.
For the token route, the page's command is claude mcp add --transport http n8n-mcp, then the same server URL, then --header "Authorization: Bearer <YOUR_N8N_MCP_TOKEN>".
The Google ADK sample builds an Agent named n8n_agent with the model gemini-2.5-pro and the instruction 'Help users manage and execute workflows in n8n'. It attaches an McpToolset whose connection settings point at the instance's /mcp-server/http URL with a bearer header. The sample writes the token directly into a variable. Reading it from an environment variable or secret store would be safer. That is a general suggestion, not something the page says. None of these examples have been run. They are shown as the page documents them.
Assessment & evidence
Limitations and cautions
Scope: the page only covers connecting. It does include steps for approving client access, such as approving access when a client redirects to n8n, and it says Lovable can query workflows that have MCP access enabled. It does not list the server's tools, and it does not specify token scopes, token revocation or approval of individual actions. It also does not explain how tokens are generated.
Coverage is uneven. API-key options are shown only for Claude Desktop, Claude Code, Codex and Google ADK. Gemini CLI, Cursor, VS Code, Windsurf and Lovable are shown with OAuth or one-click setup only. The manual snippets for Windsurf, Cursor and VS Code include no token header.
Security points to weigh (these are observations, not statements from the page): the token examples put bearer tokens in plain-text config files or source code, and the page gives no advice on storing them. The Claude Desktop token configuration invokes supergateway through npx without specifying a package version. The page does not say how that package is downloaded, cached or updated, or what it depends on. Letting an AI client manage and execute workflows, as the ADK sample's instruction suggests, can have real side effects. Apart from enabling MCP access for workflows and approving client access, the page does not discuss how to limit that access.
Presentation: the Claude Desktop JSON snippet is a fragment without an outer object, and its args list is indented inconsistently. It is unverified whether the snippets still work with current client versions, and none of them have been run.
Reasoning behind this assessment
This assessment is based on the page's own text. It is the vendor's documentation, written to be copied. It combines interface steps, CLI commands and configuration examples depending on the client, and explains the placeholders wherever a snippet appears. That practical, client-by-client coverage is why it is rated a useful reference. The page is also consistent: every client points at the same /mcp-server/http endpoint, and the sections that offer both methods mark OAuth as recommended. The explicit warning not to paste the editor URL heads off a likely mistake.
Confidence is limited. None of the commands or configurations have been run, and no client has been connected to a live n8n instance. The linked pages on enabling MCP access, authentication, tools and troubleshooting are outside the selected scope. Cost, licence, plan availability and compatibility with current client versions remain unknown rather than guessed.
Alternatives and related material
The page points to two related n8n pages. The main Connect to n8n MCP server page [https://docs.n8n.io/connect/connect-to-n8n-mcp-server.md] covers enabling access, authentication and troubleshooting. The MCP server tools reference is at [https://docs.n8n.io/connect/connect-to-n8n-mcp-server/mcp-server-tools-reference.md]. The page also links Google's guide to connecting an ADK agent to n8n [https://google.github.io/adk-docs/tools/third-party/n8n/]. None of these pages are covered here.
Each client vendor's own MCP documentation is a natural place to look for client-side details. The page does not name or compare alternatives, and no comparison is made here. Within n8n, the page presents the Connect a client dialog as the built-in alternative to copying these snippets by hand. It says the dialog is available from n8n 2.33.0. That version applies to the dialog itself, not to every connection method.
Evidence base
This report draws on one source: the full Markdown text of n8n's MCP client connection examples page at [https://docs.n8n.io/connect/connect-to-n8n-mcp-server/mcp-client-examples.md]. The page's opening note says it belongs to a documentation set with an index at [https://docs.n8n.io/llms.txt]. That index and the other linked pages are not covered.
No other source informs this report. None of the commands, configurations or code samples have been run, and no client has been connected to an n8n instance. Any statement about what they do describes the page's documented behaviour.
Access & freshness
Costs
The page gives no prices. It does not say whether MCP access is available on every n8n plan, whether it is limited to certain Cloud tiers or self-hosted editions, or whether it has usage limits. It also says nothing about the cost of the AI clients it names (Lovable, Claude, Codex, Gemini, Cursor, Windsurf and others) or of the Gemini model used in the ADK sample. Treat all of these as unknown and check the current pricing pages of n8n and each vendor.
The captured page states no reading fee or other prices.
Rights and licence
The captured page shows no licence, copyright notice or reuse terms, so the rights to reuse, copy or redistribute its text and code snippets are unknown. The snippets are presented as copy-paste setup material for connecting to your own n8n instance, but the page does not give a licence for them. The page also links to Google's ADK documentation at [https://google.github.io/adk-docs/tools/third-party/n8n/], whose terms are not covered here.
The page also gives no licences for the software its examples run or import. That includes the supergateway package run through npx in the Claude Desktop token configuration and the google.adk modules imported by the Google ADK sample.
Freshness
The page was captured on 15 November 2026, and its text shows no publication or last-updated date. The only n8n version marker is that the Connect a client dialog is available from n8n 2.33.0. That applies to the dialog only, not to a plan or to every connection method. The Codex section also says older builds need the experimental_use_rmcp_client flag and newer builds ignore it, without naming versions. It is unverified whether the snippets still work with current versions of Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code, Windsurf and the other clients.
Suggested next steps
Before using the page, read n8n's main MCP server page to enable MCP access and choose an authentication method. If you want the Connect a client dialog or its one-click setup, check that your instance runs n8n 2.33.0 or later. The page does not tie that version to a plan or to the manual connection methods.
Prefer the OAuth route the page recommends. If you need a token, keep it out of source files, for example in an environment variable or secret store, and limit what the connected workflows can do. These are general precautions, not instructions from the page.
Copy the Server URL from n8n's Connect a client dialog rather than building it by hand, and check that it ends in /mcp-server/http. Try test workflows or a non-critical instance before letting an assistant manage or execute real ones. Before relying on the Claude Desktop token route, keep in mind that its configuration invokes supergateway through npx without specifying a package version, and that the page says nothing about that package's maintainer or licence.
The page does not state pricing or reuse terms, so check n8n and client pricing, and the page's reuse terms, before building anything that depends on them. Also confirm that the snippets match your client versions, since compatibility with current releases is unverified.
