aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorAlexandre Perez <alexandreperez@meta.com>2025-10-10 09:55:09 -0700
committerGitHub <noreply@github.com>2025-10-10 09:55:09 -0700
commit6ed18d85258b90a40cb3bc832195c38860c0c3e8 (patch)
tree5503e57aaf834c8bf6a3341e746874a74c43b3b9 /lldb/source/Plugins/ScriptInterpreter/Python
parent10021c737a3565183d13eabbd29fc3254e4b30c4 (diff)
downloadllvm-6ed18d85258b90a40cb3bc832195c38860c0c3e8.zip
llvm-6ed18d85258b90a40cb3bc832195c38860c0c3e8.tar.gz
llvm-6ed18d85258b90a40cb3bc832195c38860c0c3e8.tar.bz2
[lldb][mcp] Get the running MCP server connection information (#162752)
Currently AFAICT we don't have a way to get the MCP server socket after it started. So this change introduces a new `protocol-server` subcommand that allows us to query the location of a running server: ``` (lldb) protocol-server start MCP listen://localhost:0 MCP server started with connection listeners: connection://[::1]:36051, connection://[127.0.0.1]:36051 (lldb) protocol-server get MCP MCP server connection listeners: connection://[::1]:36051, connection://[127.0.0.1]:36051 (lldb) protocol-server stop MCP (lldb) protocol-server get MCP error: MCP server is not running ```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions