feat(librarian): add DeepWiki MCP integration for documentation lookup - #70
Conversation
- Add DeepWiki MCP server configuration (SSE type) to .mcp.json - Update librarian agent to use DeepWiki MCP for wiki/documentation search - Add DeepWiki to tool reference with usage examples - Include DeepWiki in parallel execution requirements for comprehensive research - Add DeepWiki to failure recovery section as alternative to Context7 MCP This enables the librarian agent to query AI-generated documentation for GitHub repositories, improving capability to understand repository architecture and component interactions. Closes #69
Summary of ChangesHello @amondnet, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the librarian agent's ability to perform comprehensive documentation research by integrating the DeepWiki MCP server. This new integration allows the agent to leverage AI-generated GitHub repository documentation, providing richer insights into codebase architecture and design, and improving overall research capabilities for various query types. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request successfully integrates the DeepWiki MCP server for documentation lookups within the librarian agent. The configuration and documentation updates are comprehensive, adding DeepWiki to various research types and failure recovery procedures. I have one suggestion to refine the documentation for TYPE A questions to better leverage the ask_question capability of DeepWiki, which seems more direct for conceptual queries.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #70 +/- ##
=======================================
Coverage 39.35% 39.35%
=======================================
Files 59 59
Lines 6489 6489
=======================================
Hits 2554 2554
Misses 3935 3935 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add DeepWiki limitations section for error handling guidance - Replace numbered tool comments with named identifiers [context7], [deepwiki], etc. - Improves maintainability when adding/removing tools
Apply gemini-code-assist suggestion: use deepwiki/ask_question instead of two-step read_wiki_structure/contents for conceptual questions.
Summary
Integrate DeepWiki MCP server into the librarian agent to enable documentation lookup capabilities through AI-generated GitHub repository documentation.
Changes
.mcp.jsonBenefits
References