Skip to content

docs(mcp-apps): document capability advertisement across protocols - #4061

Open
pjmsmithgoogle wants to merge 2 commits into
googleapis:mainfrom
pjmsmithgoogle:docs-mcp-apps-protocols
Open

pjmsmithgoogle wants to merge 2 commits into
googleapis:mainfrom
pjmsmithgoogle:docs-mcp-apps-protocols

Conversation

@pjmsmithgoogle

@pjmsmithgoogle pjmsmithgoogle commented Sep 16, 2026

Copy link
Copy Markdown

Description

Updates documentation note and capability negotiation details in docs/en/documentation/configuration/mcp-apps/_index.md:

  • Clarifies that modern protocol 2026-07-28 uses standard extensions capability exchange in ServerCapabilities and ClientCapabilities.
  • Explains that legacy protocols (2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25) convey UI metadata via _meta.ui on tools in tools/list and serve UI assets via resources/read.

PR Checklist

  • Make sure you reviewed
    CONTRIBUTING.md
  • Make sure to open an issue as a
    bug/issue
    before writing your code! That way we can discuss the change, evaluate
    designs, and agree on the general idea
  • Ensure you have manually reviewed the entire diff before requesting a
    review
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Make sure to add ! if this involve a breaking change

🛠️ Fixes #4055

…egacy protocols

Updates documentation note and capability negotiation details in docs/en/documentation/configuration/mcp-apps/_index.md:
- Clarifies that modern protocol 2026-07-28 uses standard extensions capability exchange in ServerCapabilities and ClientCapabilities.
- Explains that legacy protocols (2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25) convey UI metadata via _meta.ui on tools in tools/list and serve UI assets via resources/read.
@pjmsmithgoogle
pjmsmithgoogle requested a review from a team as a code owner September 16, 2026 21:30
Comment thread docs/en/documentation/configuration/mcp-apps/_index.md Outdated

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the MCP Apps documentation to clarify the capability negotiation and graceful degradation differences between modern and legacy protocol versions. The review feedback correctly identifies that the modern protocol transmits client capabilities dynamically within the '_meta' object under 'io.modelcontextprotocol/clientCapabilities' rather than using a root-level 'capabilities' object, and provides a corrected JSON example to ensure accuracy.

Comment thread docs/en/documentation/configuration/mcp-apps/_index.md Outdated
@pjmsmithgoogle

Copy link
Copy Markdown
Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the MCP Apps documentation to clarify protocol version differences and capability negotiation. Specifically, it details how the modern protocol (2026-07-28) utilizes dynamic client capability negotiation via request metadata, whereas legacy protocols directly expose UI metadata on tools and serve templates via resources. No review comments were provided, so there is no additional feedback to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backport MCP Apps support to older protocol versions

2 participants