[all-commits] [llvm/llvm-project] a9ea7c: [lldb] Adjust ProtocolServer connection defaults. ...

John Harrison via All-commits all-commits at lists.llvm.org
Fri Aug 29 16:18:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9ea7cf60c1ec0a85bc5d970e5205b612a70ae1c
      https://github.com/llvm/llvm-project/commit/a9ea7cf60c1ec0a85bc5d970e5205b612a70ae1c
  Author: John Harrison <harjohn at google.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M lldb/include/lldb/Host/HostInfoBase.h
    M lldb/include/lldb/Host/macosx/HostInfoMacOSX.h
    M lldb/include/lldb/Protocol/MCP/Server.h
    M lldb/source/API/SBHostOS.cpp
    M lldb/source/Commands/CommandObjectProtocolServer.cpp
    M lldb/source/Host/common/Editline.cpp
    M lldb/source/Host/common/HostInfoBase.cpp
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
    M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h
    M lldb/source/Protocol/MCP/Server.cpp
    M lldb/unittests/Editline/EditlineTest.cpp

  Log Message:
  -----------
  [lldb] Adjust ProtocolServer connection defaults. (#155714)

This adjusts the ProtocolServer command to default to create a new
connection listening on `localhost:0` and adds a new `ServerMetadata`
details to `~/.lldb/mcp/lldb-<pid>.json` to record information about the
current MCP server.

This can be consumed by the lldb-mcp binary to establish a connection
from an LLM client.

---------

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list