https://github.com/hokein created 
https://github.com/llvm/llvm-project/pull/176878

Per 
https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_configuration-structure,
 the `mcp.json` has the `"servers": {}` as main section.

>From 25ac7f5b6845e8f2cc7dedef279bcd22010f3d28 Mon Sep 17 00:00:00 2001
From: Haojian Wu <[email protected]>
Date: Tue, 20 Jan 2026 10:22:03 +0100
Subject: [PATCH] [lldb] Fix the mcp configuration in the mcp.md

---
 lldb/docs/use/mcp.md | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/lldb/docs/use/mcp.md b/lldb/docs/use/mcp.md
index b7474246b54f3..9a9db0e7eb260 100644
--- a/lldb/docs/use/mcp.md
+++ b/lldb/docs/use/mcp.md
@@ -59,17 +59,15 @@ Configuration example for [Claude 
Code](https://modelcontextprotocol.io/quicksta
 }
 ```
 
-Configuration example for [Visual Studio 
Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers):
+Configuration example (`mcp.json`) for [Visual Studio 
Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers):
 
 ```json
 {
-  "mcp": {
-    "servers": {
-      "lldb": {
-        "type": "stdio",
-        "command": "/usr/bin/nc",
-        "args": ["localhost", "59999"]
-      }
+  "servers": {
+    "lldb": {
+      "type": "stdio",
+      "command": "/usr/bin/nc",
+      "args": ["localhost", "59999"]
     }
   }
 }

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to