From f378dc9d6b8f74d34b4dfd3b65cf564c689bdb95 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 23 Oct 2026 09:49:49 -0400 Subject: Add a loopback MCP server for the running viewer (#44) The server is off by default and listens on 127.0.0.1. It can see and act in the logged-in session, including inventory, object contents, script editing, mesh and material upload, and animated mesh. --- indra/newview/llimview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llimview.cpp') diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 8b76ea9db0..ec5fb06a40 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -29,6 +29,7 @@ #include "llviewerprecompiledheaders.h" #include "llimview.h" +#include "llviewermcp.h" #include "llavatarnamecache.h" // IDEVO #include "llchatservicehistory.h" @@ -3260,6 +3261,7 @@ void LLIMMgr::addMessage( std::string_view display_name, const LLSD& original_text) { + LLViewerMCP::noteChat("im", from, target_id, msg); LLUUID other_participant_id = target_id; std::string message_display_name = (display_name.empty()) ? from : std::string(display_name); -- cgit v1.3