1. What It Is and When to Use It (and When Not To)
If you have spent the last year glueing Large Language Models (LLMs) to internal databases and SaaS APIs, you know the pain of maintaining bespoke wrappers for every single tool and model combination.
MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems, hosted by the Linux Foundation [M1]. Instead of writing custom integration code for every AI interface your staff use, you write an MCP server once, and any MCP-capable host can speak to it [M1, M3]. It has moved well past the experimental phase: the mcp Python SDK alone logged 329.8M downloads last month (as of 19 Nov 2026), even if its Google Trends average for "MCP server" (24–28 over 12 months worldwide) still trails practical workflow tools like n8n (53–60) [M9].
At the protocol level, an AI application acts as a "host" [M3]. The host creates one client per MCP server, and each client maintains one dedicated connection to that server [M3]. Through this connection, the server exposes three primary primitives to the AI: tools (actions the model can invoke), resources (data the model can read), and prompts (reusable interaction templates) [M3]. The client can also support elicitation, where the server asks the client for input [M2, M3]. Optional extensions in the current 2026-07-28 specification include Tasks, Skills over MCP, and MCP Apps [M2].
When to use it:
- You want to give AI assistants or workflow engines controlled access to internal systems using a single, standardized interface [M1].
- You are building internal developer or analyst helpers that run locally on workstations and need safe, subprocess-isolated access to local tools via
stdio[M4, M6]. - You are exposing an internal service to multiple AI clients across the network via Streamable HTTP, guarded by OAuth 2.1 authorization [M4, M5].
When not to use it:
- You just need deterministic, point-to-point system automation without an LLM making decisions in the middle. Use standard APIs or normal workflow nodes in n8n for that.
- Your team wants to pull random, unvetted community servers straight onto corporate laptops without reviewing what privileges those local processes inherit [M6].
- You are trying to pass a user's upstream bearer token straight through an AI proxy to a downstream API without issuing a proper, audience-restricted token for the MCP server itself—a pattern the specification explicitly forbids [M6].
THE REST OF THIS GUIDE IS FOR PRO MEMBERS
Keep reading with Pro, C$10 a month.
You've read the free part. Pro opens the rest of this guide and every other guide in the library, with PDF downloads.
- 2. Reference Architecture for a Mid-Size Org
- 3. Prerequisites Checklist
- 4. Step-by-Step Deployment (Production-Minded)
- 5. Security Hardening Checklist
- 6. Governance: Mapping to the Four-Tier Risk Model
- 7. Operations: Updates, Backups, Monitoring, Capacity
- 8. Common Pitfalls
- 9. "Your First Week" Plan
Sources
Every fact in this guide comes from the official documentation below, checked on 19 Nov 2026. A code like [N4] in the text links to its source here.
- N1 n8n docs: hosting options
docs.n8n.io/hosting - N2, N3, N10 n8n docs: Docker installation (versions, updates, tunnel warning)
docs.n8n.io/hosting/installation/docker - N4, N5, N6, N7 n8n docs: production requirements (ports, database, encryption key, reverse proxy)
docs.n8n.io/deploy/host-n8n/install-options/production-requirements - N8 n8n docs: security environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/security - N9 n8n docs: nodes environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/nodes - N11 n8n docs: Community edition features
docs.n8n.io/deploy/host-n8n/community-edition-features - N12 n8n docs: queue mode environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/queue-mode - N13, N14 n8n docs: advanced AI, and the n8n pricing page
docs.n8n.io/advanced-ai · n8n.io/pricing - O1 Ollama: download page and FAQ
ollama.com/download · docs.ollama.com/faq - O2 Ollama docs: GPU support
docs.ollama.com/gpu - O3, O4, O5, O6, O10 Ollama docs: FAQ (context length, network, model storage, tuning, local-only mode)
docs.ollama.com/faq - O7 Ollama docs: API and OpenAI compatibility
docs.ollama.com/api · docs.ollama.com/openai - O8 Ollama docs: Modelfile and importing models
docs.ollama.com/modelfile · docs.ollama.com/import - O9 Ollama on GitHub (MIT licence)
github.com/ollama/ollama - O11 Ollama latest release on GitHub
github.com/ollama/ollama/releases/latest - M1 Model Context Protocol: home page
modelcontextprotocol.io - M2, M3 MCP docs: architecture, and the 2026-07-28 specification
modelcontextprotocol.io/docs/learn/architecture - M4 MCP specification: transports
modelcontextprotocol.io/specification/latest/basic/transports - M5 MCP specification: authorization
modelcontextprotocol.io/specification/latest/basic/authorization - M6 MCP specification: security best practices
modelcontextprotocol.io/specification/latest/basic/security_best_practices - M7 MCP on GitHub: official SDKs
github.com/modelcontextprotocol - M8 MCP on GitHub: the official MCP Registry
github.com/modelcontextprotocol/registry - M9 Demand data: pypistats for the mcp package (Google Trends comparisons run 19 Nov 2026)
pypistats.org/packages/mcp