# How do I connect a client to MCP and build a secure remote server? — start here: the findings that hold, the claims that do not, and where each is documented

> Da **Sinapsi** (Model Context Protocol (MCP)) · CC BY 4.0 · usata 0× con esito verificato

This page summarises what the rest of this wiki documents, as of November 2026, for developers building or securing MCP servers and clients: transports, authorization, the core primitives, registry and discovery, long-running tasks, UI extensions, and the limits. Each statement below is sourced and qualified on the page it links to; read that page before quoting a number.

## Takeaway

MCP has two transports in the 2025-11-25 specification (stdio and Streamable HTTP); the 2026-07-28 revision removes protocol-level sessions and introduces multi round-trip requests; a remote server that implements authorization must use OAuth 2.1 with PKCE and RFC 8707 resource indicators; and a registry listing proves who published a server, not that it is safe.

## The findings that hold

- **Two transports, chosen at deployment time.** The 2025-11-25 specification defines exactly two transports, stdio and Streamable HTTP, and tool logic does not change when you switch (https://modelcontextprotocol.io/specification/2025-11-25/basic/transports); see [[concept/transport-mechanisms]] and [[concept/architecture-overview]].
- **The 2026-07-28 revision is stateless.** The `Mcp-Session-Id` header and protocol-level session are removed, and client info and capabilities travel in request metadata on every request; the initialize/initialized handshake is removed too (https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/); see [[state-of-the-art/adoption-2026]] and [[concept/session-lifecycle-and-capability-negotiation]].
- **A stateless server asks questions by returning them.** "Servers MUST NOT initiate JSON-RPC requests"; the replacement is multi round-trip requests (MRTR), allowed on exactly three client requests (`prompts/get`, `resources/read`, `tools/call`), and `requestState` must be treated as attacker-controlled input (https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns); see [[concept/multi-round-trip-requests]].
- **Authorization on HTTP transports has hard requirements.** OAuth 2.1 is the baseline, PKCE is mandatory for all client types, MCP servers MUST implement Protected Resource Metadata (RFC 9728), and Resource Indicators (RFC 8707) are mandatory so a token is scoped to one server; servers MUST validate the token audience (https://modelcontextprotocol.io/specification/draft/basic/authorization); see [[concept/authorization-and-oauth]].
- **Long jobs use Tasks, not an open connection.** The Tasks extension returns a task ID at once; a task moves through `working`, optionally `input_required`, and ends in `completed`, `failed` or `cancelled`, and terminal states are irreversible (https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/tasks); see [[applicative/mcp-tasks-long-running-work]].
- **Publishing to the registry is automated and owner-centric.** Publish with the `mcp-publisher` CLI after proving control of a reverse-DNS namespace; there is no human review queue (https://modelcontextprotocol.info/tools/registry/publishing/), and the registry is in preview status (https://modelcontextprotocol.io/registry/about); see [[applicative/mcp-registry-and-discovery]].
- **Big tool catalogs hurt even with no attacker.** The official client guidance recommends switching to progressive discovery at a threshold given as a percentage of the context window, for example 1%-5% (https://modelcontextprotocol.io/docs/2026-07-28/develop/clients/client-best-practices); see [[limits/tool-catalog-context-bloat]].
- **Governance moved to a neutral body.** MCP was open-sourced on November 25, 2024 and donated to the Agentic AI Foundation, under the Linux Foundation, on December 9, 2025 (https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation); see [[history/anthropic-to-linux-foundation]] and [[history/origins-and-development]].

## What does not work, and numbers to distrust

- **"It's in the registry" is not a safety check.** Admission across official and third-party registries requires proof of GitHub repository or domain ownership only, with no code review, security audit or malware scanning; researchers analysed 67,057 servers across six registries (https://arxiv.org/abs/2510.16558); see [[limits/registry-trust-and-supply-chain-risks]].
- **A proxy server using its own privileges is a confused deputy.** The official documentation names the attack and requires per-client consent in proxy servers (https://modelcontextprotocol.io/docs/tutorials/security/security_best_practices); see [[limits/confused-deputy-and-permission-scopes]].
- **Tool descriptions and tool outputs are an attack surface.** Text a server puts in front of the model has no built-in separation from instructions; see [[limits/prompt-injection-and-tool-poisoning]].
- **The "78% of enterprise AI teams run MCP-backed agents in production" and "28% of Fortune 500" figures are unverified**: they trace to a single secondary source not checked against primary documentation. The figure the wiki treats as source-safe is Stacklok's 2026 survey: 41% of the broader respondent pool, and 45% of software-industry organizations, run MCP servers in some form of production; see [[state-of-the-art/adoption-2026]] and [[applicative/enterprise-integration-patterns]].
- **Tool-count and token-count switch points in circulation are not what the docs say**: the docs give a percentage of the context window, as a recommendation without RFC 2119 keywords; see [[limits/tool-catalog-context-bloat]].

## Concepts (7 pages)

- [[concept/what-is-mcp]] — What Is the Model Context Protocol (MCP): the open standard connecting AI models to tools and data
- [[concept/architecture-overview]] — MCP architecture: host, client, server and the JSON-RPC 2.0 wire format
- [[concept/transport-mechanisms]] — stdio for local servers, Streamable HTTP for remote ones
- [[concept/session-lifecycle-and-capability-negotiation]] — the handshake a client must get right, and the one being removed in 2026-07-28
- [[concept/multi-round-trip-requests]] — how a stateless server asks the client a question
- [[concept/tools-resources-prompts]] — core primitives: who is allowed to invoke what
- [[concept/authorization-and-oauth]] — OAuth 2.1, token scoping and the confused-deputy problem

## Building and deploying (6 pages)

- [[applicative/building-mcp-servers]] — SDKs, tool schemas, testing and deployment
- [[applicative/mcp-clients-and-hosts]] — Claude, Cursor, VS Code, ChatGPT, Gemini: what "any client" means
- [[applicative/mcp-registry-and-discovery]] — how to find, publish and vet a server
- [[applicative/mcp-tasks-long-running-work]] — batch jobs, CI pipelines and human approvals without blocking
- [[applicative/mcp-apps-ui-extensions]] — server-rendered UI extensions and their sandboxing
- [[applicative/enterprise-integration-patterns]] — the gateway layer and the build-vs-buy call

## Limits (4 pages)

- [[limits/prompt-injection-and-tool-poisoning]] — prompt injection and tool poisoning
- [[limits/confused-deputy-and-permission-scopes]] — confused deputy and overbroad permission scopes
- [[limits/registry-trust-and-supply-chain-risks]] — registry trust and supply chain risks
- [[limits/tool-catalog-context-bloat]] — how a client degrades under hundreds of tools

## Comparison (1 page)

- [[comparison/mcp-vs-function-calling]] — deciding whether a tool integration is worth turning into a server

## History (2 pages)

- [[history/origins-and-development]] — from internal frustration to public launch
- [[history/anthropic-to-linux-foundation]] — how MCP left vendor control

## State of the art (1 page)

- [[state-of-the-art/adoption-2026]] — MCP adoption and the July 2026 spec

## What is not known

- **Whether a large tool catalog degrades accuracy, and by how much.** The maintainers' statements are assertions, not published experiments; neither source shows an accuracy curve against tool count ([[limits/tool-catalog-context-bloat]]).
- **Enterprise adoption beyond the surveyed samples.** The widely repeated enterprise percentages are unverified ([[state-of-the-art/adoption-2026]]).
- **How the registry will look at general availability.** It is in preview, and breaking changes and data resets are possible before then ([[applicative/mcp-registry-and-discovery]]).

## Verified against

- https://modelcontextprotocol.io/specification/2025-11-25/basic/transports
- https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns
- https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/
- https://modelcontextprotocol.io/docs/2026-07-28/develop/clients/client-best-practices
- https://modelcontextprotocol.io/registry/about
- https://modelcontextprotocol.info/tools/registry/publishing/
- https://modelcontextprotocol.io/specification/draft/basic/authorization
- https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/tasks
- https://modelcontextprotocol.io/docs/tutorials/security/security_best_practices
- https://arxiv.org/abs/2510.16558
- https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation

---

Fonte: **Sinapsi** — memoria compositiva verificata, interrogabile dagli LLM.
Pagina: https://sinapsi.wiki/w/mcp/p/overview/
Interroga questo wiki dal vivo dal tuo assistente (MCP): https://sinapsi.wiki/mcp/w/mcp/
Licenza CC BY 4.0 — riuso con attribuzione a Sinapsi (https://sinapsi.wiki).
Crea il tuo wiki verificato, pubblico o privato per il team: https://sinapsi.wiki/

