Search

Guides / Agents · Governance

Connecting AI to your systems with MCP

Model Context Protocol, safely. What MCP servers are, the reference architecture, the security checklist and the governance tiers to apply before an AI tool touches your systems.

For CISOs, architectsAbout 18 min readSection 1 freeUnlocked on your plan

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].

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.

  1. N1 n8n docs: hosting options
    docs.n8n.io/hosting
  2. N2, N3, N10 n8n docs: Docker installation (versions, updates, tunnel warning)
    docs.n8n.io/hosting/installation/docker
  3. N4, N5, N6, N7 n8n docs: production requirements (ports, database, encryption key, reverse proxy)
    docs.n8n.io/deploy/host-n8n/install-options/production-requirements
  4. N8 n8n docs: security environment variables
    docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/security
  5. N9 n8n docs: nodes environment variables
    docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/nodes
  6. N11 n8n docs: Community edition features
    docs.n8n.io/deploy/host-n8n/community-edition-features
  7. N12 n8n docs: queue mode environment variables
    docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/queue-mode
  8. N13, N14 n8n docs: advanced AI, and the n8n pricing page
    docs.n8n.io/advanced-ai · n8n.io/pricing
  9. O1 Ollama: download page and FAQ
    ollama.com/download · docs.ollama.com/faq
  10. O2 Ollama docs: GPU support
    docs.ollama.com/gpu
  11. O3, O4, O5, O6, O10 Ollama docs: FAQ (context length, network, model storage, tuning, local-only mode)
    docs.ollama.com/faq
  12. O7 Ollama docs: API and OpenAI compatibility
    docs.ollama.com/api · docs.ollama.com/openai
  13. O8 Ollama docs: Modelfile and importing models
    docs.ollama.com/modelfile · docs.ollama.com/import
  14. O9 Ollama on GitHub (MIT licence)
    github.com/ollama/ollama
  15. O11 Ollama latest release on GitHub
    github.com/ollama/ollama/releases/latest
  16. M1 Model Context Protocol: home page
    modelcontextprotocol.io
  17. M2, M3 MCP docs: architecture, and the 2026-07-28 specification
    modelcontextprotocol.io/docs/learn/architecture
  18. M4 MCP specification: transports
    modelcontextprotocol.io/specification/latest/basic/transports
  19. M5 MCP specification: authorization
    modelcontextprotocol.io/specification/latest/basic/authorization
  20. M6 MCP specification: security best practices
    modelcontextprotocol.io/specification/latest/basic/security_best_practices
  21. M7 MCP on GitHub: official SDKs
    github.com/modelcontextprotocol
  22. M8 MCP on GitHub: the official MCP Registry
    github.com/modelcontextprotocol/registry
  23. M9 Demand data: pypistats for the mcp package (Google Trends comparisons run 19 Nov 2026)
    pypistats.org/packages/mcp