Claude/add key features docs jl dvc#2540
Open
mrenee1 wants to merge 2 commits intomodelcontextprotocol:mainfrom
Open
Claude/add key features docs jl dvc#2540mrenee1 wants to merge 2 commits intomodelcontextprotocol:mainfrom
mrenee1 wants to merge 2 commits intomodelcontextprotocol:mainfrom
Conversation
…and visualizations Implements three key features for building research agent workflows on top of the MCP Python SDK: 1. Collaborative Planning: the `research` tool accepts `collaborative_planning=True`. Before executing any work, the agent drafts a research plan via LLM sampling and presents it to the user through the existing elicitation mechanism. Research only proceeds after explicit approval. 2. MCP Support: the server connects to remote MCP servers at startup (configured via the `MCP_SERVERS` JSON env var). Tools from all connected servers are aggregated through `ClientSessionGroup` and their outputs are incorporated into the research context. A companion `list_mcp_tools` tool exposes what is available. 3. Visualizations: when `visualization="auto"` is set, the agent extracts labelled numeric metrics from the research summary (e.g. "Market size: $4.5B") and returns a pure-Python SVG bar chart as a base64-encoded `ImageContent` block — no external charting library required. Also adds docs/research-agent.md documenting all three features with usage examples, configuration instructions, and an architecture overview. https://claude.ai/code/session_01Dm5TVRPucJPKTThQsBycjK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context