{"id":15755,"date":"2026-11-16T14:47:52","date_gmt":"2026-11-16T09:17:52","guid":{"rendered":"https:\/\/www.xicom.biz\/blog\/?p=15755"},"modified":"2026-11-16T14:47:54","modified_gmt":"2026-11-16T09:17:54","slug":"mcp-architecture","status":"publish","type":"post","link":"https:\/\/www.xicom.biz\/blog\/mcp-architecture\/","title":{"rendered":"MCP Architecture Explained: How The Model Context Protocol Works"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#f5f5f5\"><strong><em>Quick Answer<br><\/em><\/strong>MCP architecture is a client-server design with three roles. The host is the AI application, such as an IDE or chat assistant. Inside it, one MCP client connects to each MCP server. Servers expose three primitives: tools the model can call, resources that provide context, and prompts that structure interactions. Messages use JSON-RPC 2.0 over stdio for local servers or Streamable HTTP for remote ones.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Every AI agent eventually hits the same wall: the data and tools it needs live in other systems. MCP architecture is the standard way across that wall. Instead of writing a separate integration between every AI application and every system, the Model Context Protocol defines one interface: a system is wrapped once as an MCP server, and any compatible AI application can use it. This guide walks through how MCP architecture is put together, follows a real request from question to answer, compares the deployment patterns teams actually use, and covers the security decisions that matter most.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_The_Model_Context_Protocol_Exists\"><\/span>Why The Model Context Protocol Exists<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-1024x576.webp\" alt=\"MCP Architecture\" class=\"wp-image-15757\" srcset=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-1024x576.webp 1024w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-300x169.webp 300w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-768x432.webp 768w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-150x84.webp 150w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server-1536x864.webp 1536w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-host-client-server.webp 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Picture a company with five AI applications (a coding assistant, a support agent, an internal chatbot and two analytics tools) and eight systems they need to reach. Without a standard, that is up to forty separate integrations, each with its own authentication, error handling and maintenance. Add a new system and every application needs another one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MCP architecture turns that grid into a hub, which is the whole point of the Model Context Protocol. Each system is exposed once as an MCP server, each application speaks MCP once, and any application can use any server. The <a href=\"https:\/\/modelcontextprotocol.io\/specification\/latest\" target=\"_blank\" rel=\"nofollow noopener\">official specification<\/a> borrows the idea from the Language Server Protocol, which did the same for code editors and programming languages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The approach caught on quickly. Anthropic released MCP in 2024 and in December 2025 <a href=\"https:\/\/www.anthropic.com\/news\/donating-the-model-context-protocol-and-establishing-of-the-agentic-ai-foundation\" target=\"_blank\" rel=\"nofollow noopener\">donated it to the Agentic AI Foundation<\/a> under the Linux Foundation, co-founded with Block and OpenAI. ChatGPT, Cursor, Gemini, Microsoft Copilot and Visual Studio Code were among the products listed as supporting it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One boundary is worth stating early: MCP only standardizes how context and actions are exchanged. Which model you use, how the agent plans and how it manages memory stay with the application and the <a href=\"https:\/\/www.xicom.biz\/blog\/ai-agent-frameworks\/\">AI agent framework<\/a> underneath it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Three_Building_Blocks_Of_MCP_Architecture\"><\/span>The Three Building Blocks Of MCP Architecture<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p><!-- IMAGE 1: mcp-architecture-host-client-server.webp | Alt: MCP architecture: a host application with one MCP client for each local and remote MCP server --><\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Host_Where_The_Model_And_The_User_Live\"><\/span>The Host: Where The Model And The User Live<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The host is the AI application the person actually uses: Claude Desktop, Visual Studio Code, or a custom support agent your team built. It runs the model, holds the conversation, and decides what the user must approve. Because consent lives here, the host is also where most safety decisions are made.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_MCP_Client_One_Connection_Per_Server\"><\/span>The MCP Client: One Connection Per Server<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inside the host sits one MCP client for every MCP server it connects to. A host using four servers runs four clients. The <a href=\"https:\/\/modelcontextprotocol.io\/docs\/learn\/architecture\" target=\"_blank\" rel=\"nofollow noopener\">architecture overview<\/a> shows Visual Studio Code creating a new client object each time a server is added. This one-to-one design keeps servers isolated: a server only ever sees what its own client sends it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_MCP_Server_Where_Your_Systems_Plug_In\"><\/span>The MCP Server: Where Your Systems Plug In<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An MCP server is a program that exposes capabilities from a system, such as a file share, a database or a CRM. The word says nothing about location. A local MCP server is usually a small process the host starts on the same machine; a remote MCP server is a web service many clients reach over the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Underneath these roles, MCP has two layers. The data layer defines the JSON-RPC 2.0 messages themselves, and the transport layer defines how they travel and how requests are authorized. Because the layers are separate, the same server logic can run locally or remotely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Inside_An_MCP_Server_Designing_Tools_Resources_And_Prompts\"><\/span>Inside An MCP Server: Designing Tools, Resources And Prompts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The clearest way to understand the three server primitives is to design a server. Take an HR system that employees want to use through an internal assistant.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Resources<\/strong> hold read-only context the application loads when relevant: the leave policy, the holiday calendar, the employee&#8217;s own profile. Nothing in a resource can change state.<\/li>\n\n\n\n<li><strong>Tools<\/strong> are actions the model may decide to take: <code>check_leave_balance<\/code>, <code>submit_leave_request<\/code>. Each needs a precise name, a description the model can understand and a strict input schema, because the model picks tools by reading those descriptions.<\/li>\n\n\n\n<li><strong>Prompts<\/strong> are reusable workflows a user chooses on purpose, such as &#8220;Plan my leave for next month&#8221;, which bundles the right instructions and examples.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The most common design mistake is making everything a tool. If the model only needs to read the leave policy, a resource is cheaper and safer. Keep tools for actions and keep each one narrow; <code>submit_leave_request<\/code> is far easier to secure than a general <code>update_hr_record<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The client can help the server too. Through <strong>elicitation<\/strong>, a server can pause a request to ask the user for missing details or a confirmation, for example before submitting a leave request. Two older client features, sampling and roots, are <a href=\"https:\/\/modelcontextprotocol.io\/specification\/2026-07-28\/deprecated\" target=\"_blank\" rel=\"nofollow noopener\">deprecated in the 2026-07-28 revision<\/a>; new servers should call model APIs directly and receive folders through tool parameters or configuration instead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Following_One_Request_Through_MCP_A_Worked_Example\"><\/span>Following One Request Through MCP: A Worked Example<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-1024x576.webp\" alt=\"MCP Architecture Request Flow\" class=\"wp-image-15756\" srcset=\"https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-1024x576.webp 1024w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-300x169.webp 300w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-768x432.webp 768w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-1536x864.webp 1536w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow-150x84.webp 150w, https:\/\/www.xicom.biz\/blog\/wp-content\/uploads\/2026\/11\/mcp-architecture-request-flow.webp 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">An employee types: &#8220;Can I take Friday off?&#8221; Here is what happens inside the MCP architecture.<\/p>\n\n\n<p><!-- IMAGE 2: mcp-architecture-request-flow.webp | Alt: MCP request flow: user, host, MCP client and MCP server exchanging a tool call step by step --><\/p>\n\n\n<ol class=\"wp-block-list\">\n<li><strong>The host receives the question<\/strong> and knows, from earlier discovery, which tools the HR server offers. Discovery uses <code>server\/discover<\/code> and <code>tools\/list<\/code>, and the results can be cached.<\/li>\n\n\n\n<li><strong>The model chooses a tool.<\/strong> Given the question and the tool list, it asks to call <code>check_leave_balance<\/code> for this employee.<\/li>\n\n\n\n<li><strong>The host checks consent<\/strong> against its rules, and the MCP client sends <code>tools\/call<\/code> to the HR server.<\/li>\n\n\n\n<li><strong>The server does the work<\/strong>, validating the arguments and querying the HR system under the employee&#8217;s own permissions.<\/li>\n\n\n\n<li><strong>The result comes back<\/strong> as content blocks, and the model sees there are three days left.<\/li>\n\n\n\n<li><strong>The model answers<\/strong>, and offers to submit the request. If the employee agrees, the server can use elicitation to confirm the date before calling <code>submit_leave_request<\/code>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Behind the scenes, the call in step 3 is a short message that names the tool and passes its arguments. Under the current specification, each of these messages also carries its own protocol version and capabilities, which is what makes MCP stateless.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Changed_When_MCP_Became_Stateless\"><\/span>What Changed When MCP Became Stateless<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Older explanations of MCP architecture start with an <code>initialize<\/code> handshake that opens a session. The <a href=\"https:\/\/modelcontextprotocol.io\/specification\/2026-07-28\/changelog\" target=\"_blank\" rel=\"nofollow noopener\">2026-07-28 changelog<\/a> removed that handshake, protocol-level sessions and the <code>Mcp-Session-Id<\/code> header. Each request is now self-contained, servers advertise what they support through <code>server\/discover<\/code>, and when a server needs more input it returns an input-required result that the client answers by retrying the request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The practical effect is that a remote MCP server can sit behind a load balancer and scale like any stateless web API. Servers that need state across calls mint their own handles, such as a draft request ID, and receive them back as ordinary tool arguments. If you work with an SDK, confirm it supports the current revision.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Local_Or_Remote_Choosing_A_Transport\"><\/span>Local Or Remote: Choosing A Transport<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MCP defines two standard transports, and the choice usually comes down to three questions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Who will use the server?<\/strong> If it is one person on their own machine, such as a developer working with local files, stdio is the natural fit: the host starts the server as a subprocess and they talk over standard input and output. If many people or agents need it, use Streamable HTTP, where each message is an HTTP POST to a single endpoint and replies come back as JSON or a stream of events.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Where does the data live?<\/strong> Local files and tools point to stdio. Business systems, SaaS platforms and shared databases point to a remote server over Streamable HTTP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How will you authenticate?<\/strong> Stdio servers take credentials from their local environment. Remote servers should use the OAuth-based flow in the MCP authorization specification, covered in the security section below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Two practical notes: the older HTTP with SSE transport is deprecated, so new remote servers should not use it; and if a local server must use HTTP, bind it to localhost and still require a token, because other software on the same machine can reach an open port.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Three_MCP_Architecture_Patterns_In_Practice\"><\/span>Three MCP Architecture Patterns In Practice<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Teams rarely deploy a single server in isolation. These three patterns cover most real deployments, and many organizations move through them in order.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Pattern_1_Local_Servers_On_Each_Machine\"><\/span>Pattern 1: Local Servers On Each Machine<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Developers run a handful of stdio servers for files, Git and local databases inside their IDE or desktop assistant. It is quick to set up and needs no infrastructure. The weakness is control: each person installs their own servers, so there is little visibility into what code is running or which credentials it holds.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Pattern_2_Shared_Remote_Servers\"><\/span>Pattern 2: Shared Remote Servers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Each important business system gets one remote MCP server, run by the team that owns the system. Every approved AI application connects to it over Streamable HTTP with OAuth. This is the pattern most companies grow into, because one well-secured server serves every agent, and access can be managed centrally.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Pattern_3_A_Gateway_In_Front_Of_Many_Servers\"><\/span>Pattern 3: A Gateway In Front Of Many Servers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As the number of servers grows, some organizations add a gateway: a single entry point that sits between hosts and many MCP servers. It applies one set of authentication rules, allowlists which servers and tools each application may use, logs every call and can filter tool descriptions before they reach the model. The cost is one more component in the path, which adds latency and must be highly available. Because MCP requests can carry OpenTelemetry trace context, a gateway also makes it easy to follow calls in the same traces you use for <a href=\"https:\/\/www.xicom.biz\/blog\/ai-agent-observability\/\">AI agent observability<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Securing_MCP_Architecture\"><\/span>Securing MCP Architecture<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MCP connects a model directly to real systems, and the specification is explicit that the protocol cannot enforce safety by itself. Hosts must get user consent before invoking tools, and tool descriptions should be treated as untrusted unless they come from a trusted server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For remote servers, the <a href=\"https:\/\/modelcontextprotocol.io\/specification\/2026-07-28\/basic\/authorization\" target=\"_blank\" rel=\"nofollow noopener\">MCP authorization specification<\/a> builds on OAuth 2.1. The MCP server acts as a resource server and points clients to its authorization server through Protected Resource Metadata. Clients request tokens for that specific server, and the server must reject any token issued for something else and must never pass client tokens through to downstream APIs. The spec also recommends starting with a minimal set of scopes and asking for more only when a privileged tool is first used, so a leaked token unlocks as little as possible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Five_Attacks_To_Design_Against\"><\/span>Five Attacks To Design Against<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tool poisoning.<\/strong> Hidden instructions in a tool description steer the model, for example to read private files and send them elsewhere. <a href=\"https:\/\/invariantlabs.ai\/blog\/mcp-security-notification-tool-poisoning-attacks\" target=\"_blank\" rel=\"nofollow noopener\">Invariant Labs documented this attack<\/a> along with the next two. Install servers only from trusted sources and review their descriptions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rug pulls.<\/strong> A server quietly changes a tool description after users approved it. Pin server versions and alert when descriptions change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tool shadowing.<\/strong> One malicious server&#8217;s description changes how the agent uses a different, trusted tool. Avoid mixing untrusted servers with sensitive ones in the same session.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Confused deputy.<\/strong> A proxy server that uses one shared client ID with a third-party API can be tricked into handing an attacker an authorization code. The spec&#8217;s <a href=\"https:\/\/modelcontextprotocol.io\/docs\/2026-07-28\/tutorials\/security\/security_best_practices\" target=\"_blank\" rel=\"nofollow noopener\">security best practices<\/a> require per-client consent and exact redirect URI checks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Local server compromise.<\/strong> A malicious install command or package runs with the user&#8217;s own privileges. Show the full command before installing and sandbox local servers where possible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The common thread is trust: every MCP server you connect is code and text your agent will act on. Review servers like any third-party dependency and back them with the same least-privilege limits you apply through <a href=\"https:\/\/www.xicom.biz\/blog\/ai-agent-guardrails\/\">AI agent guardrails<\/a>.<\/p>\n\n\n\n<section class=\"inquireBlock text-center mt-3\"><div class=\"capTxt new\">Planning to connect your systems to AI agents?<\/div><div class=\"smallTxt new mt-0 mb-3\">Talk to Xicom&#8217;s AI engineers about MCP server design, authorization and security.<\/div><div class=\"contact-bttn\"><a href=\"https:\/\/www.xicom.biz\/contact\/\">Let\u2019s Connect Now<\/a><\/div><\/section>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Five_Common_Misconceptions_About_MCP\"><\/span>Five Common Misconceptions About MCP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;MCP replaces function calling.&#8221;<\/strong> It builds on it. The host turns each MCP tool into a function definition the model can call. MCP standardizes where tools come from and how they are invoked; function calling is still how the model asks to use them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;MCP replaces RAG.&#8221;<\/strong> RAG retrieves relevant documents for the model to read; MCP connects the model to systems and actions. They combine well: a retrieval system can be exposed as an MCP server, with search as a tool and documents as resources, so one <a href=\"https:\/\/www.xicom.biz\/blog\/production-rag-architecture\/\">production RAG architecture<\/a> can serve every assistant in the company.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;An MCP server has to be a remote service.&#8221;<\/strong> Many useful servers run locally over stdio. Remote is right for shared systems, not for everything.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;If it speaks MCP, it is safe.&#8221;<\/strong> The protocol defines messages, not trust. Authorization, scopes, consent and server vetting are all decisions you make.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;More tools make a smarter agent.&#8221;<\/strong> The opposite is often true. A model choosing among dozens of similar tools picks the wrong one more often, and every tool is more attack surface. Expose the few tools a use case needs, and give each a clear, distinct description.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Should_You_Build_Your_Own_MCP_Server\"><\/span>Should You Build Your Own MCP Server?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the vendor of a system already publishes a maintained MCP server, start there. Build your own when an internal system has no server, when several teams or products need the same integration, when you need controls an off-the-shelf server lacks, such as your own audit logging or data masking, or when you want customers to connect their AI tools to your platform. If one agent only needs a couple of simple functions, plain function calling is usually enough.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which systems to expose first, and with what permissions, shapes what every future agent can do, so it is often settled as part of an <a href=\"https:\/\/www.xicom.biz\/ai-consulting-services\/\">AI consulting<\/a> roadmap rather than ticket by ticket.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Xicom_Approaches_MCP_Architecture\"><\/span>How Xicom Approaches MCP Architecture<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We begin with the systems, not the protocol. With the client, we decide which systems agents genuinely need, what each should expose as a tool, resource or prompt, and which deployment pattern fits their stage, whether that is a few shared remote servers or a gateway in front of many. Servers are built stateless, authorize every request with narrowly scoped tokens, act under the end user&#8217;s own permissions and log every call with trace context, then are tested against the current specification and the hosts the client actually uses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MCP servers usually sit inside a broader <a href=\"https:\/\/www.xicom.biz\/ai-development-services\/\">custom AI development<\/a> effort that includes the agents and applications using them. With more than 20 years of enterprise software delivery and ISO\/IEC 27001 certification for information security, we treat each MCP server as production infrastructure from the first version.<\/p>\n\n\n<p><!-- XICOM EXAMPLE: add one line on a real project where Xicom built or integrated an MCP server, or leave this out. --><\/p>\n\n\n<p class=\"wp-block-paragraph\">To expose your own systems to AI agents, see our <a href=\"https:\/\/www.xicom.biz\/mcp-server-development-services\/\">MCP server development<\/a> services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MCP architecture replaces a tangle of one-off integrations with a single protocol: a host that owns the model and the user, one MCP client per server, and servers that expose tools, resources and prompts over stdio or Streamable HTTP. The current stateless design lets remote servers scale like ordinary web services, and the deployment usually grows from local servers to shared remote servers and, at scale, a gateway. What the protocol does not do is decide what to trust. Design primitives carefully, keep tools few and scopes narrow, vet every server you connect, and MCP becomes a stable foundation for every agent you add.<\/p>\n\n\n\n<section class=\"inquireBlock text-center mt-3\"><div class=\"capTxt new\">Need an MCP server for your systems?<\/div><div class=\"smallTxt new mt-0 mb-3\">Get an MCP architecture review covering primitives, deployment patterns, authorization and security from Xicom&#8217;s AI team.<\/div><div class=\"contact-bttn\"><a href=\"https:\/\/www.xicom.biz\/contact\/\">Let\u2019s Connect Now<\/a><\/div><\/section>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQs\"><\/span>FAQs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1763040000001\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"What_is_MCP_architecture\"><\/span>What is MCP architecture?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>MCP architecture is the client-server design of the Model Context Protocol. A host application, such as an IDE or AI assistant, runs one MCP client for each MCP server it connects to. Servers expose tools, resources and prompts, and the two sides exchange JSON-RPC messages over stdio or Streamable HTTP.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1763040000002\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"What_is_the_difference_between_an_MCP_client_and_an_MCP_server\"><\/span>What is the difference between an MCP client and an MCP server?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>An MCP client is a connector inside the host application that keeps a dedicated connection to one server and passes its tools and data to the host. An MCP server is the program that exposes those capabilities, such as a file share, database or CRM, running locally or remotely.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1763040000003\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Should_an_MCP_server_use_stdio_or_Streamable_HTTP\"><\/span>Should an MCP server use stdio or Streamable HTTP?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use stdio when the server runs on the same machine as the host and serves one person, such as a local developer tool. Use Streamable HTTP when the server runs remotely and serves many users or agents. The older HTTP with SSE transport is deprecated, so new servers should not use it.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1763040000004\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"What_is_an_MCP_gateway\"><\/span>What is an MCP gateway?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>An MCP gateway is a single entry point placed between AI applications and many MCP servers. It applies shared authentication, controls which servers and tools each application may use, logs every call and can filter tool descriptions. It adds a component to the request path, so it must be fast and highly available.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1763040000005\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Is_MCP_architecture_secure\"><\/span>Is MCP architecture secure?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>MCP architecture can be secure, but the protocol cannot enforce safety by itself. Remote servers should use OAuth 2.1 with tokens issued only for that server and minimal scopes. Hosts must ask for consent before tool calls, and teams should install servers only from trusted sources, because tool descriptions can be poisoned.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1763040000006\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Do_MCP_servers_still_use_the_initialize_handshake\"><\/span>Do MCP servers still use the initialize handshake?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Not in the current specification. The 2026-07-28 revision made MCP stateless: every request carries its protocol version and capabilities, and servers advertise what they support through server\/discover. SDKs can still talk to older servers that use the handshake, so check that your SDK supports the current revision.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"Quick AnswerMCP architecture is a client-server design with three roles. The host is the AI application, such as an IDE or chat assistant. Inside it, one MCP client connects to each MCP server. Servers expose three primitives: tools the model can call, resources that provide context, and prompts that structure interactions. Messages use JSON-RPC 2.0","protected":false},"author":9,"featured_media":15782,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[454],"tags":[1305,1306,1304],"class_list":["post-15755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","tag-mcp-architecture","tag-mcp-architecture-explained","tag-model-context-protocol"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/posts\/15755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/comments?post=15755"}],"version-history":[{"count":3,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/posts\/15755\/revisions"}],"predecessor-version":[{"id":15760,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/posts\/15755\/revisions\/15760"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/media\/15782"}],"wp:attachment":[{"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/media?parent=15755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/categories?post=15755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xicom.biz\/blog\/wp-json\/wp\/v2\/tags?post=15755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}