Skip to content

docs: update MCP Apps build guide examples to the v2 TypeScript SDK #3049

Description

@claude

Where was this agreed?

Requested by maintainer David Soria Parra as part of preparing the modelcontextprotocol.io documentation for the 2026-07-28 specification release.

Description

The TypeScript SDK v2 (2.0.0-beta.2, published as split @modelcontextprotocol/{client,server,core,node,express,hono,server-legacy} packages) and the Python SDK v2 (2.0.0b1 on PyPI) are both targeted for stable release alongside the 2026-07-28 spec release. This page's examples are written against the v1 SDKs and need the updates below at or after v2 GA.

Files to update:

  • docs/extensions/apps/build.mdx — install @modelcontextprotocol/ext-apps @modelcontextprotocol/server @modelcontextprotocol/node; import McpServer from @modelcontextprotocol/server; StreamableHTTPServerTransportNodeStreamableHTTPServerTransport from @modelcontextprotocol/node (import and constructor); Node 18 → Node 20 prerequisite

Part of the 2026-07-28 release documentation tracking (milestone: 2026-07-28 Specification Release).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationrc-high-priorityRelated to an upcoming specification release and needs to be addressed with a high priority.trackingTracks agreed-upon work (from SEP, WG, or maintainer sync)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions