[Lldb-commits] [lldb] [lldb] Adjust ProtocolServer connection defaults. (PR #155714)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 27 16:57:47 PDT 2025


================
@@ -14,11 +14,23 @@
 #include "lldb/Protocol/MCP/Resource.h"
 #include "lldb/Protocol/MCP/Tool.h"
 #include "lldb/Protocol/MCP/Transport.h"
+#include "lldb/lldb-types.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/Support/Error.h"
+#include "llvm/Support/JSON.h"
 
 namespace lldb_protocol::mcp {
 
+/// Metadata about this instance of lldb's MCP server for lldb-mcp to use to
+/// coordinate connecting an lldb-mcp client.
+struct ServerMetadata {
----------------
JDevlieghere wrote:

Not sure it's any better, but maybe ServerInfo would be more descriptive?

https://github.com/llvm/llvm-project/pull/155714


More information about the lldb-commits mailing list