If you change ide-lsp-mcp.port, update the MCP server URL to match the configured port.
Notes for MCP Clients
listOpenProjects accepts an optional projectPath; when provided, it returns workspaces whose opened project folders are inside that path.
Pagination is available on large result sets such as references, implementations, diagnostics, and file search.
Debug Panel
Set ide-lsp-mcp.enableDebug to true to show the MCP debug panel in the debug sidebar.
The panel records tool name, arguments, result summary, duration, and success state for up to 500 entries.
Double-click a log entry to open the full request and response in a read-only virtual document.
The listOpenProjects tool runs only on the MCP server side and will not appear in the debug panel.
Commands
Command
Description
IDE-LSP-MCP: Show Status
Show the current MCP server connection status
IDE-LSP-MCP: Reconnect
Reconnect to the MCP server and start it if needed
IDE-LSP-MCP: Restart MCP Server
Restart the standalone MCP server after confirmation
IDE-LSP-MCP: Clear Debug Log
Clear all entries from the debug panel
Settings
Setting
Type
Default
Description
ide-lsp-mcp.port
number
53221
MCP server port
ide-lsp-mcp.autoStart
boolean
true
Auto-start server on launch
ide-lsp-mcp.pageSize
number
50
Page size
ide-lsp-mcp.contextLines
number
2
Number of surrounding context lines to include in location results (2n+1 total lines)
ide-lsp-mcp.enableDebug
boolean
false
Enable debug panel
ide-lsp-mcp.enableCors
boolean
false
Enable CORS for MCP server
ide-lsp-mcp.diagnosticsTimeout
number
5000
Timeout for waiting diagnostics to be produced
ide-lsp-mcp.nearestSymbolsCount
number
3
Number of nearest matching symbol suggestions returned on symbol validation failure
ide-lsp-mcp.maxStructLines
number
200
Maximum output lines for file or symbol structure in auto mode
Behavior Notes
getFileStruct and getSymbolStruct support maxDepth; negative values use auto mode and respect ide-lsp-mcp.maxStructLines.
Symbol-aware tools validate symbolName and can return suggested positions if the target symbol has moved.
getDiagnostics can temporarily activate a file when a language server only publishes diagnostics for the foreground editor; waiting is controlled by ide-lsp-mcp.diagnosticsTimeout.