ontoloji.orgOpen Reference Hub
Protocols & Standards13 min read·Updated: 2026-12-03·Türkçe sürüm →

MCP 2026-07-28 Specification Reference: Stateless HTTP, Tasks, Events, Apps & Elicitation

Normative engineering guide to the fifth Model Context Protocol release: stateless HTTP request/response, OAuth 2.0/OIDC auth hardening, SEP-2663 Tasks, SEP-3415 Events, MCP Apps, and Elicitation rules.

Executive Summary — Key Takeaways
  • 01MCP 2026-07-28 replaces stateful bidirectional session affinity with a stateless HTTP request/response core, production OAuth 2.0/OIDC alignment (Entra, Okta), and private MCP tunnels.
  • 02MCP Tasks (io.modelcontextprotocol/tasks, SEP-2663) enforces per-request _meta capability gating; protocol-level tool errors (isError: true) MUST finish in completed, never failed.
  • 03MCP Events (io.modelcontextprotocol/events, SEP-3415 Beta) introduces parameterized subscriptions over events/poll, events/stream, and whsec_-signed events/subscribe; receiving an event never grants authority to act.
  • 04MCP Apps (ui://, text/html;profile=mcp-app) mandates cross-origin sandboxed iframes with restrictive default-src 'none' CSP, while Elicitation strictly forbids requesting passwords or tokens in form mode.

1. Stateless HTTP Core, Enterprise OAuth 2.0/OIDC & Private MCP Tunnels

The 2026-07-28 revision—the fifth published specification of the Model Context Protocol—eliminates the operational bottlenecks that previously complicated large-scale enterprise rollouts: sticky stateful sessions, monolithic protocol upgrades, and bespoke identity workarounds.

By moving from a stateful bidirectional transport to a stateless request/response HTTP workload, MCP servers deploy cleanly on serverless and edge runtimes without session-affinity routing. Server-initiated mid-call prompts are replaced on 2026-07-28 connections by an InputRequiredResult returned directly inside the call response.

  • Production OAuth 2.0 & OIDC Alignment: Native alignment with Microsoft Entra ID and Okta enables zero-touch org-wide provisioning where administrators authorize a connector once and employees inherit access via IdP groups.
  • Versioned Extensions Framework: Capabilities such as interactive UIs (io.modelcontextprotocol/ui), durable jobs (io.modelcontextprotocol/tasks), and upstream triggers (io.modelcontextprotocol/events) evolve independently without breaking core clients.
  • Private MCP Tunnels & OpenTelemetry Spans: Internal MCP servers behind corporate firewalls connect without opening inbound ports, propagating W3C traceparent context across tool invocations for SIEM and audit pipelines.

2. Durable Async Execution (MCP Tasks) vs. Unattended Triggers (MCP Events)

Enterprise ERP reconciliations, multi-plant MRP runs, and statutory XML validations routinely exceed standard HTTP timeouts. MCP splits asynchronous work cleanly into two extensions: Tasks (SEP-2663) for long-running operations initiated by the caller, and Events (SEP-3415 Beta) for upstream state changes when no user is present.

  • Per-Request Opt-In & Tenant Isolation: Despite overview summaries saying clients "opt in once," the normative Tasks spec forbids returning CreateTaskResult unless the capability is present on that specific request, and omits tasks/list so callers cannot enumerate another user's tasks.
  • Webhook Hardening in MCP Events: events/subscribe requires an authenticated principal, https callbacks without HTTP redirects, whsec_ base64 secrets (24–64 random bytes), payloads under 256 KiB, and SSRF destination IP checks.
  • Untrusted Event Payloads: Upstream event payloads can carry indirect prompt injections; servers should emit minimal triage identifiers and require normal RBAC-checked MCP tool calls for any follow-up action.
Normative Wire Contracts for MCP Tasks (SEP-2663) and MCP Events (SEP-3415)
MCP Tasks (tools/call -> CreateTaskResult):
  Per-request gate: client MUST pass io.modelcontextprotocol/tasks in request _meta
  States: working | input_required | completed | failed | cancelled (cooperative)
  Spec catch: tool execution errors (isError: true) MUST return status "completed"
  Streamable HTTP routing: Mcp-Name: <taskId> | Missing capability error: -32021

MCP Events (io.modelcontextprotocol/events):
  Discovery: events/list -> { name, inputSchema, payloadSchema, delivery[] }
  Delivery: events/poll | events/stream (heartbeatMs) | events/subscribe (whsec_ HMAC)
  Occurrence: { eventId, name, timestamp, data, cursor } -> deduplicate by eventId

3. MCP Apps Sandboxed Views & Elicitation Credential Rules

MCP Apps (io.modelcontextprotocol/ui) links tools via _meta.ui.resourceUri to ui:// HTML resources served as text/html;profile=mcp-app. Host and view communicate over postMessage using 15 ui/* JSON-RPC methods, passing structuredContent to the UI without polluting the LLM's token context.

MCP Elicitation (elicitation: {form: {}, url: {}}) lets a server pause mid-call to ask a human for missing parameters—a flow with strict normative security boundaries that implementers frequently misread.

  • Mandatory Cross-Origin Sandbox & Restrictive CSP: Hosts MUST isolate Views in a distinct origin with default-src 'none' whenever _meta.ui.csp is omitted, and MUST reject app tools/call requests unless the target tool's visibility includes "app".
  • Form-Mode Secret Prohibition: Servers MUST NOT request passwords, API keys, access tokens, or payment details via form-mode elicitation; sensitive flows MUST use URL mode, and servers MUST NOT use URL mode to authenticate users to themselves.
  • Headless Cancellation Discipline: Non-interactive and background agent runs automatically cancel tasks that emit elicitation/create, so enterprise MCP servers must treat cancellation and Decline vs. Esc (cancel) as first-class state transitions.
Protocol vs. Ontology Boundary

MCP 2026-07-28 standardizes transport, identity federation, and async lifecycles, but by design cannot enforce domain invariants. Pair stateless MCP servers with an enterprise ontology to govern row-level permissions, canonical joins, and human write gates.

Glossary Concepts Referenced in This Guide

Open License (CC BY 4.0) · Cite This Page

Free to reference in engineering docs, ADRs, articles, and course syllabi with attribution.

[MCP 2026-07-28 Specification Reference: Stateless HTTP, Tasks, Events, Apps & Elicitation — Ontoloji.org](https://ontoloji.org/en/guides/mcp-2026-07-28-stateless-http-tasks-events-apps-and-elicitation)

More Guides in This Series

Core Architecture
How AI Uses an Ontology
9 min read
Agent Engineering
Agent Harness vs. Ontology
8 min read
Data Engineering
ERP, CRM & MES Patterns
10 min read
Strategy & Governance
30-Day Ontology Strategy
7 min read
ERP Integration
ERP Ontology Integration Guide
11 min read
ERP Data Engineering
Logo Tiger, Nebim V3 & Turkish Unicode Traps
14 min read
Agent Governance
Adversarial Verification, Permissions & Compaction
13 min read
Verification Engineering
Absence-Aware Gates & Ratio Reconstruction
13 min read
Provenance & Governance
Draft vs. Normative Provenance Hygiene
12 min read
SAP & Protocol Architecture
SAP BTP, Cloud Connector & ORD Ontology
11 min read
ERP Write-Safety
Logo REST, Nebim Integrator & UBL-TR Safety
12 min read
Platform Architecture Comparison
Cortex, Genie, dbt & Cube vs. Ontology
12 min read
Systems Engineering & Forensics
ERP Integrator Anti-Patterns & Forensics
13 min read
Platform Architecture Comparison
Fabric IQ, D365 MCP & SAP Joule vs. Ontology
12 min read
Retrieval & RAG Architecture
PageIndex Vectorless Tree RAG vs. Vector DBs
11 min read
Platform Architecture Comparison
Atlan, Stardog & Neo4j vs. Ontology
12 min read
Statutory & Financial Governance
GİB UBL-TR, VUK/TMS 29 & KVKK Ontology
13 min read
Agent Memory & Ontology Architecture
Cognee & Zep Graphiti vs. Ontology
11 min read
Protocol & Multi-Agent Architecture
MCP vs. OpenAPI & Specialist Agents
12 min read
Agent Architecture & Governance
Agent Harness Engineering Rubric
12 min read
Agent Architecture & Governance
Multi-Agent Task Boards & Mailboxes
12 min read
Verification & Security
Generate-Evaluate-Repair & Observers
12 min read
Verification & Security
NSA MCP Security & CIMD vs. DCR
13 min read
Agent Architecture & Governance
OpenTelemetry for AI Agents & MCP
11 min read