summaryrefslogtreecommitdiff
path: root/lldb/source/Protocol/MCP/MCPError.cpp
AgeCommit message (Collapse)Author
2025-10-03[lldb] Adding A new Binding helper for JSONTransport. (#159160)John Harrison
This adds a new Binding helper class to allow mapping of incoming and outgoing requests / events to specific handlers. This should make it easier to create new protocol implementations and allow us to create a relay in the lldb-mcp binary.
2025-08-12[lldb] Adjusting the base MCP protocol types per the spec. (#153297)John Harrison
* This adjusts the `Request`/`Response` types to have an `id` that is either a string or a number. * Merges 'Error' into 'Response' to have a single response type that represents both errors and results. * Adjusts the `Error.data` field to by any JSON value. * Adds `operator==` support to the base protocol types and simplifies the tests.
2025-08-05[lldb] Move the generic MCP code into Protocol/MCP (NFC) (#152188)Jonas Devlieghere
This moves all the generic MCP code into the new ProtocolMCP library so it can be shared between the MCP implementation in LLDB (built on the private API) and lldb-mcp (built on the public API). This PR doesn't include the actual MCP server. The reason is that the transport mechanism will be different between the LLDB implementation (using sockets) and the lldb-mcp implementation (using stdio). The goal s to abstract away that difference by making the server use JSONTransport (again) but I'm saving that for a separate PR.