
sehejjain/language-server-mcp-bridge
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A universal VS Code extension that bridges any Language Server Protocol (LSP) capabilities to MCP tools and GitHub Copilot Language Model Tools, enabling intelligent code navigation and analysis...
개요
A Visual Studio Code extension that exposes capabilities as Model Context Protocol (MCP) tools and . This universal extension works with any programming language that has an active language server in VSCode. I created this because I work on an incredibly large C++ project (with clangd) and Copilot is not able find objects efficiently. Or install directly in VS Code: Press Ctrl+Shift+X, search for "LSP MCP Bridge", and click Install Here's a quick example of how the extension enhances GitHub Copilot's understanding of a C++ codebase. A small excerpt of the C++ project used in the demo. Copilot's response enriched with precise definitions, references, and hover info provided by the LSP-MCP bridge. Copilot queries the registered LSP tools (workspace/document symbols, references) to find the symbol and its implementation. This extension bridges the gap between any existing language server's capabilities and MCP clients + GitHub Copilot, enabling AI models and tools to:
README
원문 README의 일부입니다. 원문 보기.
Language Server tools for Copilot
A Visual Studio Code extension that exposes any Language Server Protocol (LSP) capabilities as Model Context Protocol (MCP) tools and GitHub Copilot Language Model Tools. This universal extension works with any programming language that has an active language server in VSCode.
I created this because I work on an incredibly large C++ project (with clangd) and Copilot is not able find objects efficiently.
✨ Demo
Here’s a quick example of how the extension enhances GitHub Copilot’s understanding of a C++ codebase.
🎯 Purpose
This extension bridges the gap between any existing language server’s capabilities and MCP clients + GitHub Copilot, enabling AI models and tools to:
- Navigate codebases intelligently across any programming language
- Provide context-aware code suggestions and analysis
- Answer questions about code structure and functionality
- Assist with code refactoring and analysis
- Automatically enhance GitHub Copilot with deep language server insights
🚀 Features
Language Model Tools for GitHub Copilot (10 Tools)
The extension exposes comprehensive LSP capabilities as GitHub Copilot tools that can be used automatically:
lsp_definition- Find symbol definitionslsp_references- Find all references to a symbollsp_hover- Get symbol information and documentation
설치
npx @vscode/vsce package