
How to add an MCP server to n8n
In n8n, the MCP Client Tool node lets an AI Agent call tools on an MCP server, and the MCP Server Trigger node exposes your workflows to other MCP clients.
- Local servers
- No
- no stdio
- Hosted servers
- Yes
- connects by URL
- Config
- In the app
- how servers are added
- Picks
- 8
- ranked
n8n works both ways. To use a server, add it to an AI Agent from the tools panel (the registry signs you in), or use the MCP Client Tool node with the server's endpoint. To expose n8n, add an MCP Server Trigger node and attach tool nodes or the Custom n8n Workflow Tool. n8n has no config file for this, and the Server Trigger does not support stdio.
Good for
- n8n builders who want an AI Agent to call tools on Notion, Linear or any MCP server
- Teams that want to expose a workflow as an MCP server for Claude or Cursor
- People who want one MCP tool call as a plain workflow step
- Self-hosters running n8n behind a reverse proxy or in queue mode
Install n8n
n8n
- 1
Open the AI Agent node and click Tool + to open the tools panel.
- 2
To use a registry server, search for it (such as Notion or Linear) or open MCP Servers, select it and sign in.
- 3
For any other server, add the MCP Client Tool node and enter the server endpoint.
- 4
Pick the authentication method: bearer, header, multiple headers or OAuth2.
- 5
Set Tools to Include to All, Selected or All Except.
Requires An n8n workflow with an AI Agent node.
You set this up on the canvas. To let other apps call your workflows, add an MCP Server Trigger node instead (see the steps below).
From the vendor's docs. Source.
At a glance
- Use a server (agent)
- MCP Client Tool node, or a registry server from the AI Agent tools panel
- Use a server (workflow step)
- MCP Client node, with Server Transport, MCP Endpoint URL and a Tool picker
- Client authentication
- Bearer, generic header, multiple headers or OAuth2
- Tool node endpoint field
- SSE Endpoint
- Server Trigger transports
- SSE and streamable HTTP; no stdio
- Server Trigger authentication
- None, bearer or header
- Whole instance as a server
- Settings > Instance-level MCP; the URL ends in /mcp-server/http
- Where to set up
- On the canvas, in the AI Agent tools panel or an MCP node
Use MCP servers in n8n and expose your workflows
- 1
Add a registry server to an AI Agent
Open the Tool + panel on an AI Agent node, search for the service or open MCP Servers, select it and sign in. n8n creates the MCP credential for you. Then set Tools to include.
- 2
Or add the MCP Client Tool node
Use this for servers not in the registry. Connect the node to your AI Agent, enter the server endpoint, pick Authentication and choose the tools to expose. For OAuth2, leave Use Dynamic Client Registration on unless the server does not support it.
- 3
Or call a tool as a workflow step
Add the MCP Client node. Set Server Transport and MCP Endpoint URL (for example
https://mcp.notion.com/mcp), then pick a Tool and fill the parameters in Manual or JSON input mode. - 4
Expose a workflow with the MCP Server Trigger
Add the MCP Server Trigger node, then attach tool nodes or a Custom n8n Workflow Tool. Set Authentication to None, Bearer or Header. Copy the Test URL while you build and the Production URL after you publish.
- 5
Connect Claude Desktop to it
Claude Desktop needs a proxy for the SSE address. Add this to its config, with your URL and token:
{ "mcpServers": { "n8n": { "command": "npx", "args": ["mcp-remote", "<MCP_URL>", "--header", "Authorization: Bearer ${AUTH_TOKEN}"], "env": { "AUTH_TOKEN": "<MCP_BEARER_TOKEN>" } } } } - 6
Or expose the whole instance
Turn on MCP access in Settings > Instance-level MCP, enable the workflows you want to share, and copy the Server URL from Connect a client. It ends in
/mcp-server/http. The Connect a client dialog is in n8n 2.33.0 and later.
Best MCP servers for n8n
Official hosted servers with an approved PlugWiki page, since n8n connects to servers by URL; ordered by GitHub stars, then weekly downloads.
- 1
Context7OfficialHosted or LocalAPI keyGives the assistant current library docs.
64,001 GitHub stars - 2
GitHub MCP ServerOfficialHosted or LocalOAuthPull requests, issues and code search beyond what git can do.
34,115 GitHub stars - 3
Stripe MCPOfficialHosted or LocalOAuthStripe's hosted server for payments, customers and refunds.
2,014 GitHub stars - 4
sentry-mcpOfficialHosted or LocalOAuthPulls Sentry errors into the assistant so it can find the cause.
952 GitHub stars - 5
ZapierOfficialHostedOAuthReaches thousands of apps through the actions you set up in Zapier.
452 GitHub stars - 6
Notion MCPOfficialHostedOAuthRead and edit specs and notes in Notion through its hosted server.
- 7
Exa MCP ServerOfficialHosted or LocalOAuthWeb search built for AI, hosted by Exa.
5.2K GitHub stars - 8Canva MCPOfficialHostedOAuth
Create and edit Canva designs after you sign in.
MCP servers that work in n8n
40 · official first, then servers with a page, then by stars
Context7OfficialHosted or LocalAPI keyUp-to-date docs for AI agents
64K GitHub stars
GitHub MCP ServerOfficialHosted or LocalOAuthGitHub's official MCP server. Lets an AI assistant read code, manage issues and pull requests, check Actions runs and security alerts. Hosted at api.githubcopilot.com/mcp or run locally with Docker or a Go binary.
34.1K GitHub stars
OpenWork MCP GatewayOfficialHostedOAuthYour OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
24.3K GitHub stars
apify-mcp-serverOfficialHosted or LocalOAuthExtract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
14K GitHub stars
Firecrawl MCP ServerOfficialHosted or LocalAPI keyFirecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
7.7K GitHub stars- Excalidraw MCPOfficialHosted or LocalNo sign-in
Official Excalidraw MCP App server: streams hand-drawn diagrams into the chat with interactive fullscreen editing. Hosted or local.
5.6K GitHub stars
Exa MCP ServerOfficialHosted or LocalOAuthConnect AI agents to Exa for web search, content fetching, and multi-step research.
5.2K GitHub stars
mcp-grafanaOfficialHosted or LocalAn MCP server giving access to Grafana dashboards, data and more.
3.6K GitHub stars
SupabaseOfficialHosted or LocalOAuthMCP server for interacting with the Supabase platform
3K GitHub stars
Perplexity MCP ServerOfficialHosted or LocalOAuthConnector for Perplexity API, to enable real-time, web-wide research.
2.6K GitHub stars
Solana MCP by VybeOfficialHostedOAuthSolana MCP developer toolkit: wallets, trades, markets, PnL, transfers, onchain, swaps & API tools.
2.2K GitHub stars
Azure DevOps (ADO)OfficialHostedOAuthThe MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
2.1K GitHub stars
anysearch-mcp-serverOfficialHostedAPI keyUnified real-time search MCP server supporting general web search, vertical domain search, parallel batch search, and full-page URL content extraction.
2.1K GitHub stars
Microsoft Learn MCPOfficialHostedNo sign-inOfficial Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
2K GitHub stars
MeiGen-AI-Design-MCPOfficialHosted or LocalOAuthDiscover inspiration and create images and videos with the latest AI models. Works with ChatGPT, Claude, Cursor, and other MCP clients.
1.8K GitHub stars
datagouv-mcpOfficialHostedNo sign-inOfficial data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
1.6K GitHub stars
TerraformOfficialHosted or LocalAPI keyGenerate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
1.6K GitHub stars- X MCP (X API)OfficialHosted or LocalOAuth
X's hosted MCP server for the X API at api.x.com/mcp: AI clients search posts, read users, trends and news, manage bookmarks and publish Articles through your X developer app, directly or via the xurl mcp bridge.
1.4K GitHub stars
Atlassian Rovo MCP ServerOfficialHostedOAuthConnect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
1.1K GitHub stars
Microsoft Work IQOfficialHosted or LocalOAuthMCP server for Microsoft 365 Copilot
1K GitHub stars
Show all 40Show fewer
Cloudflare API MCP ServerOfficialHostedOAuthMCP server for the Cloudflare API
1K GitHub stars
Jina AIOfficialHostedAPI keyJina AI's hosted MCP server: read web pages, search the web, arXiv and SSRN, and rerank text.
899 GitHub stars
mcp-server-neonOfficialHosted or LocalOAuthOfficial Neon MCP server for managing Neon projects and Lakebase Postgres databases.
659 GitHub stars- Resend MCP ServerOfficialHosted or LocalOAuth
Resend's official MCP server: send emails and manage Resend resources from AI clients, via the hosted endpoint or locally with npx resend-mcp.
578 GitHub stars
freee-mcpOfficialHosted or LocalOAuthModel Context Protocol (MCP) server for freee API integration
515 GitHub stars
ZapierOfficialHostedOAuthHosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
452 GitHub stars
monday.com MCPOfficialHosted or LocalOAuthmonday.com's official MCP server: hosted at mcp.monday.com with OAuth sign-in, or run locally from npm with an API token. Lets AI assistants read and update boards, items, docs, forms and dashboards.
436 GitHub stars
mcp_massiveOfficialHosted or LocalOAuthAn MCP server for Massive.com Financial Market Data
399 GitHub stars
AWS MCP ServerOfficialHosted or LocalOAuthA managed MCP server enabling AI agents to access AWS using docs, API calls, and SOP workflows.
366 GitHub stars
tableau-mcpOfficialHosted or LocalTableau's official MCP Server. Helping agents see and understand data.
363 GitHub stars
Postman MCP ServerOfficialHosted or LocalOAuthGive your AI agents trusted access to the full Postman platform.
325 GitHub stars
Comfy MCPOfficialHosted or LocalOAuthComfy Org's MCP server for ComfyUI: a hosted Comfy Cloud connection and a local server that drives your own ComfyUI
317 GitHub stars
MasterGo Magic MCPOfficialHosted or Localtoken in envMasterGo's own MCP server: lets AI coding tools read MasterGo design files (layout DSL, SVG icons, site metadata) to turn designs into code, and sync HTML back into designs.
286 GitHub stars
dataforseo-mcp-serverOfficialHosted or LocalOAuthCLI and MCP server for DataForSEO API — browse documentation and make authenticated API requests
256 GitHub stars
OpikOfficialHosted or LocalOAuthRead and score Opik traces, experiments, datasets and prompts from your AI assistant.
225 GitHub stars
alpha_vantage_mcpOfficialHosted or LocalOAuthReal-time financial market data: stocks, forex, crypto, commodities, and economic indicators
224 GitHub stars
render-mcp-serverOfficialHosted or LocalOAuthInteract with your Render resources via LLMs.
184 GitHub stars
@hostinger/mcpOfficialHosted or LocalOAuthMCP server for Hostinger API
167 GitHub stars
mcp-serverOfficialHosted or LocalOAuthBrowserStack's Official MCP Server
155 GitHub stars
mcp-serverOfficialHosted or LocalOAuthAI-powered design and management for Webflow Sites
140 GitHub stars
Common errors and fixes
MCP Server Trigger connections drop or events go missing in queue mode
Cause: The trigger needs one server instance for its long connections, and you run several webhook replicas.
Fix: Route all /mcp* requests to one dedicated webhook replica.
n8n Source
MCP endpoint breaks behind nginx
Cause: The proxy buffers or compresses the stream.
Fix: Turn off proxy buffering, gzip and chunked transfer encoding for the MCP location, and set Connection to an empty string.
n8n Source
claude.ai asks to sign in with Authentication set to None
Cause: claude.ai assumes every endpoint on your domain uses n8n user sign-in.
Fix: This is expected for claude.ai; sign in, or use another client.
n8n Source
OAuth fails with a mismatched or invalid redirect URI
Cause: The server's Dynamic Client Registration does not accept n8n's OAuth Redirect URL.
Fix: Allow the exact Redirect URL shown in the credential, or turn off Dynamic Client Registration and enter a client ID and secret.
n8n Source
Test URL stops working
Cause: n8n registers the test URL only while you listen for a test event or execute the workflow.
Fix: Select Listen for Test Event, or publish the workflow and use the Production URL.
n8n Source
A stdio server cannot be exposed
Cause: The MCP Server Trigger does not support stdio.
Fix: Use SSE or streamable HTTP, and add a proxy such as mcp-remote for stdio-only clients.
n8n Source
Verdict
n8n suits people who want an AI Agent to call MCP tools inside a workflow, or who want to publish a workflow as an MCP server. The main limit is that setup is on the canvas, not in a file, and the docs describe the Tool node by its SSE endpoint, so check how your server connects.
n8n suits people who want an AI Agent to call MCP tools inside a workflow, or who want to publish a workflow as an MCP server. The main limit is that setup is on the canvas, not in a file, and the docs describe the Tool node by its SSE endpoint, so check how your server connects.
Best for
- n8n users building agents with outside tools
- Teams exposing workflows to Claude or Cursor
Skip it if
- You need stdio servers on the n8n side
- You want MCP config kept in a file in git
Questions
How do I add an MCP server to n8n?
Open the tools panel on an AI Agent node. Pick a server from the MCP Servers registry and sign in, or add the MCP Client Tool node and enter the server endpoint.
Where is the n8n MCP config file?
You set servers up on the canvas, in the AI Agent tools panel or an MCP node. n8n stores the sign-in as a credential.
What is the difference between the MCP Client Tool and the MCP Client node?
The MCP Client Tool node gives tools to an AI Agent. The MCP Client node runs one MCP tool as a normal workflow step.
Does n8n support OAuth for MCP servers?
Yes. Use the MCP OAuth2 credential. Dynamic Client Registration is on by default, so you do not need to paste a client ID and secret unless the server lacks it.
Does n8n support stdio MCP servers?
The docs for the MCP Server Trigger say stdio is not supported. The MCP Client Tool docs name an SSE endpoint, and the MCP Client node has a Server Transport setting.
How do I make n8n an MCP server?
Add an MCP Server Trigger node and attach tool nodes or a Custom n8n Workflow Tool. To share the whole instance, turn on Settings > Instance-level MCP instead.
What is the n8n MCP server URL?
For the trigger node, copy the Test URL or Production URL from the node panel. For instance-level access, copy the Server URL from Connect a client; it ends in /mcp-server/http.
Can I limit which MCP tools the agent sees in n8n?
Yes. Set Tools to Include to All, Selected or All Except.
Why does claude.ai ask me to sign in to my n8n MCP server?
claude.ai asks you to sign in even when Authentication is set to None. The docs say claude.ai is the only known client that does this.
Information
updated Nov 2, 2026
- Transports
- SSE, Streamable HTTP
- MCP docs
- docs.n8n.io
Sources
Docs, issue trackers and discussions this page is built from.
Show all 6Hide
- MCP Client Tool · docs.n8n.io
- MCP servers · docs.n8n.io
- MCP Server Trigger · docs.n8n.io
- MCP Client · docs.n8n.io
- MCP credentials · docs.n8n.io
- Connect to n8n MCP server · docs.n8n.io