Files
mcp-ue/.mcp.json
Pierre-Marie Charavel 77c972977a Fix search_source: pass env vars via mcp.json interpolation, search Plugins/, cap at 40 total lines
- .mcp.json: pass UE_ENGINE_ROOT and UE_DOCS_PATH via ${VAR} interpolation so the
  MCP server subprocess inherits them without hardcoding paths
- search_source: search both Engine/Source/ and Engine/Plugins/ (path_hint applied
  under both); switch from -m 40 (per-file cap) to streaming Popen with a true
  40-line total cap; fix UE_ENGINE_ROOT to point at Engine/ not the repo root
- Update README and CLAUDE.md to reflect the above

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 18:11:46 -05:00

13 lines
224 B
JSON

{
"mcpServers": {
"ue-docs": {
"command": "python",
"args": ["ue_mcp_server.py"],
"env": {
"UE_ENGINE_ROOT": "${UE_ENGINE_ROOT}",
"UE_DOCS_PATH": "${UE_DOCS_PATH}"
}
}
}
}