[Lldb-commits] [lldb] [lldb] Fix the mcp configuration in the mcp.md (PR #176878)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 20 01:25:25 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Haojian Wu (hokein)
<details>
<summary>Changes</summary>
Per https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_configuration-structure, the `mcp.json` has the `"servers": {}` as main section.
---
Full diff: https://github.com/llvm/llvm-project/pull/176878.diff
1 Files Affected:
- (modified) lldb/docs/use/mcp.md (+6-8)
``````````diff
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"]
}
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/176878
More information about the lldb-commits
mailing list