Skip to main content
Glama
istvanilyes

MCP Demo App 2026-07-28

by istvanilyes

MCP 2026-07-28 protocol demo

A companion to ../transport-http, showing what changed in the 2026-07-28 MCP specification revision — the largest rewrite of the protocol since it launched. Uses the beta Python SDK (mcp==2.0.0b1).

Card

Demonstrates

1. server/discover

Replaces the initialize/notifications/initialized handshake

2. Stateless add call

No Mcp-Session-Id anywhere; required MCP-Protocol-Version/Mcp-Method/Mcp-Name headers; resultType: "complete"

3. book_table (MRTR)

Multi Round-Trip Requests: resultType: "input_required" + retry with inputResponses/requestState, replacing server-initiated elicitation/create

4. subscriptions/listen

Replaces GET+SSE and resources/subscribe; one opt-in POST stream, events tagged with a subscriptionId

5. tools/list

ttlMs / cacheScope cache hints (CacheableResult)

6. Legacy initialize

Proves the same server still answers a 2025-11-25 client (dual-mode SDK)

Related MCP server: MCPServerTransportDemo

Setup

uv sync

(mcp==2.0.0b1 is a pre-release; uv add was run with --prerelease=allow.)

Running

uv run main.py

Then open http://127.0.0.1:8000/.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal demonstration server showcasing MCP protocol capabilities including tools, resources, and prompts with basic examples like hello world functionality.
    7
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A demonstration project for building and testing Model Context Protocol (MCP) servers using the MCP inspector and client tools. It provides a practical implementation for exploring MCP transport mechanisms and server-client interactions.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Educational MCP server demonstrating the 2026-07-28 stateless protocol with raw Starlette, no SDK, featuring tools, request state handles, MRTR elicitation, and subscriptions.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A demo MCP server showcasing every MCP capability with fake logic, including tools, resources, prompts, progress, cancellation, elicitation, sampling, roots, and subscriptions, over Streamable HTTP, HTTP+SSE, and stdio transports.
    8
    MIT