
tjx666/vscode-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
tjx666/vscode-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/tjx666/vscode-mcp.
Обзор
tjx666/vscode-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/tjx666/vscode-mcp.
Обзор (машинный перевод)
Подключите VSCode с MCP (Протокол контекста модели) для улучшения возможностей ассистента ИИ
Мотивация дизайна • Доступные инструменты • Установка • CLI • Архитектура • Лицензия
Обзор
VSCode MCP — это комплексное монорепо-решение, которое позволяет клиентам MCP (Model Context Protocol) получать доступ к богатой контекстной информации VSCode в реальном времени. Этот проект преодолевает разрыв между AI-ассистентами и вашей средой разработки, обеспечивая точный анализ кода, диагностику и интеллектуальную навигацию по коду.
Мотивация в дизайне
VSCode MCP Bridge в первую очередь обслуживает AI-IDE (такие как Cursor) и AI-кодинг-агентов, помогая им более эффективно разрабатывать и анализировать код.
Традиционные агенты кодирования ИИ часто требуют выполнения трудоёмких команд при проверке изменений кода:
tsc --noEmit- проверка типов TypeScripteslint .- Проверка стиля кодаnpm run build- Создание проектов
Эти команды работают медленно в крупных проектах, что серьёзно снижает эффективность разработки ИИ. VSCode MCP Bridge предоставляет информацию LSP (Language Server Protocol) в реальном времени, позволяя агентам ИИ:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
VSCode MCP
Connect VSCode with MCP (Model Context Protocol) for enhanced AI assistant capabilities
Design Motivation • Available Tools • Installation • CLI • Architecture • License
Overview
VSCode MCP is a comprehensive monorepo solution that enables MCP (Model Context Protocol) clients to access rich VSCode context information in real-time. This project bridges the gap between AI assistants and your development environment, providing accurate code analysis, diagnostics, and intelligent code navigation.
Design Motivation
VSCode MCP Bridge primarily serves AI IDEs (like Cursor) and AI coding agents, helping them develop and analyze code more efficiently.
Traditional AI coding agents often need to execute time-consuming commands when validating code modifications:
tsc --noEmit- TypeScript type checkingeslint .- Code style checkingnpm run build- Project building
These commands run slowly in large projects, severely impacting AI development efficiency. VSCode MCP Bridge provides real-time LSP (Language Server Protocol) information, allowing AI agents to:
- Get fast diagnostics (
get-diagnostics) - Replace time-consuming type checking and lint commands - Access comprehensive LSP information (
get-symbol-lsp-info) - Get definition, hover, signatures, and type info in one call - Navigate code efficiently (
get-references) - Understand code structure and dependencies with usage context - Safe file operations - Rename symbols across files with automatic import updates
Core Advantages
- Real-time: Leverage VSCode’s LSP for real-time code state without executing slow commands
- Accuracy: Precise analysis based on language servers, more reliable than static analysis
- Efficiency: Significantly reduce AI coding agent wait times
- Integration: Deep integration with VSCode ecosystem, supporting multiple languages and extensions
Available Tools
VSCode MCP provides the following tools through the MCP protocol:
Установка
npx @vscode-mcp/vscode-mcp-server@latestКонфигурация
{
"mcpServers": {
"vscode-mcp": {
"command": "npx",
"args": ["@vscode-mcp/vscode-mcp-server@latest"]
}
}
}