~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
PR — remove the MCP (ReAct) search strategy
Component deleted in this PR (see the PR diff / git show <sha>:<path> for the
full pre-deletion code — this file only summarises what was novel). Tracked by
issue #4548.
Component: MCPSearchStrategy
- Files deleted:
src/local_deep_research/advanced_search_system/strategies/mcp_strategy.py(1876 LOC) — the strategy itself.src/local_deep_research/mcp/client.py(486 LOC) — the MCP client (MCPClient/MCPClientManager/run_async), whose only consumer wasMCPSearchStrategy.src/local_deep_research/mcp/server.py(LDR-as-an-MCP- provider, FastMCP) is unrelated and survives.
- Reachability: factory keys
mcp/agentic(agenticwas a pure alias), thesearch.search_strategydropdown, and its own tests. Never the default (the default islanggraph-agent).mcp.servers(default[]) was its only setting. - Closest reachable successor:
LangGraphAgentStrategy(advanced_search_system/strategies/langgraph_agent_strategy.py, factory keylanggraph-agent). The factory now routes themcp/agenticaliases to it with a deprecation warning, and migration0014rewrites persisted references.
Useful ideas from the pre-deletion version
- ReAct tool-calling loop over external MCP servers — connected to
user-configured stdio MCP servers (
mcp.servers), discovered their tools at runtime, and let the LLM call them in a Reason+Act loop. This external-MCP- server tool integration is the genuinely unique capability;langgraph-agentonly exposes LDR's own search engines as tools, not arbitrary MCP servers. It is the one capability removal actually loses — tracked as a follow-up to re-home it onlanggraph-agentif demand appears. focused_research-as-a-tool — exposed LDR's focused-iteration research as a callable tool inside the agent loop. Not lost:langgraph-agent'sresearch_subtopictool already provides recursive sub-research (via parallel subagents)._mcp_scope_blockedegress gating — a fail-closed scope check that blocked MCP tool discovery and execution underSTRICT/PRIVATE_ONLY, because MCP tools run in stdio subprocesses whose egress the PEP audit hook cannot inspect. The same fail-closed pattern survives innotifications.managerandjournal_reputation_filter.
Why deletion was safe
langgraph-agent (the default) is a near functional superset for agentic
research over LDR's own engines — same specialized search tools, content fetch,
parallel subagents, and egress filtering. The only capability genuinely lost is
connecting to arbitrary external MCP servers as tool sources, which had an empty
default (mcp.servers = []) and no benchmark/test fixtures exercising it. All
scope-gating patterns survive in sibling modules.
Recovery path
Do not restore the files. If external-MCP-server tool support is revived, add it
as a tool-source adapter on LangGraphAgentStrategy (a dynamic MCP→LangChain
tool adapter plus a port of the fail-closed _mcp_scope_blocked egress gate)
rather than a parallel strategy + client.