Skip to content

fix mcp right name in docs#845

Merged
benbrandt merged 1 commit intoagentclientprotocol:mainfrom
anaslimem:fix-docs
Mar 26, 2026
Merged

fix mcp right name in docs#845
benbrandt merged 1 commit intoagentclientprotocol:mainfrom
anaslimem:fix-docs

Conversation

@anaslimem
Copy link
Copy Markdown
Contributor

Summary

Fixes incorrect field name mcpmcpCapabilities in the initialization documentation example.

Changes

  • docs/protocol/initialization.mdx: Changed "mcp": to "mcpCapabilities": in the initialize response example (line 71)

Problem

The JSON example in the initialization documentation showed an incorrect field name:

"agentCapabilities": {
  "mcp": {        // Incorrect
    "http": true,
    "sse": true
  }
}

This was inconsistent with:

  • The JSON schema (schema/schema.json defines mcpCapabilities)
  • The Rust implementation (src/agent.rs defines mcp_capabilities field)
  • All other documentation examples (e.g., docs/protocol/session-setup.mdx)

@anaslimem anaslimem requested a review from a team as a code owner March 26, 2026 13:30
@benbrandt benbrandt enabled auto-merge (squash) March 26, 2026 15:15
@benbrandt benbrandt disabled auto-merge March 26, 2026 15:15
@benbrandt benbrandt enabled auto-merge (squash) March 26, 2026 15:16
@benbrandt benbrandt merged commit 4a8dcf3 into agentclientprotocol:main Mar 26, 2026
1 check passed
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.

2 participants