Inject MCP server instructions into system prompt
- McpClient: collect instructions from MCP initialize handshake
- McpServerConfig: add 'instructions' field for Navi-side overlay
- McpManager.get_instructions(): merge server + config instructions
- ContextBuilder: new _mcp_context_msg() injects MCP server
  descriptions into every LLM context as a system message
- Agent passes mcp_manager to ContextBuilder
- mcp_servers.json: add overlay instructions for gnexus-book

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b449fb4 commit 6bcff1391cd81bed9e82baa51d3a9a2ade470d80
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 11 May
Showing 6 changed files
View
mcp_servers.json
View
navi/core/agent.py
View
navi/core/context_builder.py
View
navi/mcp/client.py
View
navi/mcp/config.py
View
navi/mcp/manager.py