CV

codingwithcalvin/vs-mcpserver

Developer toolsОфициальный

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

87 stars 25 forks Качество 74 Тренд 29MIT

codingwithcalvin/vs-mcpserver - кандидат на сервер MCP, импортированный из https://github.com/codingwithcalvin/vs-mcpserver.

Обзор

codingwithcalvin/vs-mcpserver - кандидат на сервер MCP, импортированный из https://github.com/codingwithcalvin/vs-mcpserver.

Обзор (машинный перевод)

VS MCP сервер

Пусть ИИ-помощники, такие как Клод, управляют Visual Studio с помощью протокола Model Context.

###Что это такое?

VS MCP Server предоставляет функции Visual Studio через протокол Model Context Protocol (MCP), позволяя помощникам ИИ, таким как Клод, программно взаимодействовать с вашей IDE. Откройте файлы, прочитайте код, создайте проекты и многое другое - все это через естественный разговор!

Feature Особенности

s Инструменты решения

| Инструмент | Описание [скрыто] [скрыто] [скрыто] [скрыто] project_info Получить подробную информацию о проекте [[Т1]] Перечислите все проекты в решении [[Т2]]Закрыть текущее решение [[Т3]] Получить информацию о текущем решении | solution_open | Откройте файл решения | | [[Т5]] | Получить текущий стартап-проект | startup_project_set | Настройка стартап-проекта для отладки |

Инструменты для документов

| Инструмент | Описание [скрыто] [скрыто] [скрыто] [скрыто] [[Т7]] Получить активный документ document_cleanup | Очистка кода выполнения на документе | [9][править править код] [10] Перечислите все открытые документы [[Т11]] Откройте файл в редакторе

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

VS MCP Server

Let AI assistants like Claude control Visual Studio through the Model Context Protocol!


🤔 What is this?

VS MCP Server exposes Visual Studio features through the Model Context Protocol (MCP), enabling AI assistants like Claude to interact with your IDE programmatically. Open files, read code, build projects, and more - all through natural conversation!

✨ Features

📂 Solution Tools

Tool Description
project_info Get detailed project information
project_list List all projects in the solution
solution_close Close the current solution
solution_info Get information about the current solution
solution_open Open a solution file
startup_project_get Get the current startup project
startup_project_set Set the startup project for debugging

📝 Document Tools

Tool Description
document_active Get the active document
document_cleanup Run code cleanup on a document
document_close Close a document
document_list List all open documents
document_open Open a file in the editor
document_read Read document contents
document_save Saves an open document
document_write Write to a document
file_create Create a file on disk and open it in the editor
folder_create Create a folder on disk

✏️ Editor Tools

Tool Description
editor_find Search within documents
editor_goto_line Navigate to a specific line
editor_insert Insert text at cursor position
editor_replace Find and replace text
selection_get Get the current text selection
selection_set Set the selection range

🔨 Build Tools

Tool Description
build_cancel Cancel a running build
build_configuration_get Get the active and available build configuration/platform pairs
build_configuration_set Change the active build configuration and platform
build_project Build a specific project
build_solution Build the entire solution
build_status Get current build status
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "visualstudio": { "type": "http", "url": "http://localhost:5050" } } }