docs: fix MCP dependency for docs server setup - #2234
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
✅ Deploy Preview for adk-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Technical review report
Verification performedThe fix is correct and necessary. As of today, Root cause chain, all confirmed against upstream source:
With the PR's command, the server resolves Other checks:
🟢 Low risk items
|
joefernandez
left a comment
There was a problem hiding this comment.
Thanks for the update!
* docs: fix MCP dependency for docs server setup * Apply suggestion from @joefernandez * Update coding-with-ai.md --------- Co-authored-by: Joe Fernandez <931947+joefernandez@users.noreply.github.com>
Fixes #2219.
Add
--with "mcp<2"to the Antigravity, Claude Code, and Cursor setup examples, and explain the compatibility constraint.mcpdoc0.0.10 allows MCP 2.x to be installed but still imports the MCP 1.x FastMCP API, causing startup to fail.Validation
mkdocs build --strictpassed with output directed outside the checkout.initializeandtools/list, includinglist_doc_sourcesandfetch_docs.git diff --checkpassed.