
kooshi/sharptoolsmcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
kooshi/sharptoolsmcp — это кандидат-сервер MCP, импортированный из https://github.com/kooshi/sharptoolsmcp.
Обзор
kooshi/sharptoolsmcp — это кандидат-сервер MCP, импортированный из https://github.com/kooshi/sharptoolsmcp.
Обзор (машинный перевод)
SharpTools — это надёжный сервис, созданный для предоставления агентам ИИ расширенных возможностей для понимания, анализа и изменения кодовых баз C#. Он использует платформу .NET Compiler Platform (Roslyn) для глубокого статического анализа и точной обработки кода, выходя далеко за рамки простых текстовых операций.
SharpTools создан для того, чтобы предоставить ИИ те же инсайты и инструменты, на которые полагается человек-разработчик, что приводит к более интеллектуальной и надёжной помощи при работе с кодированием. Это фактически простой IDE, созданный для пользователя ИИ.
Благодаря комплексу пакета его практически можно использовать полностью автономно для редактирования существующих C#-решений. Если вы используете SSE-сервер и переадресируете маршрутизатор, думаю, возможно даже подключить к этому интерфейс веб-чата Клода и сделать его полноценным помощником по программированию.
Подсказки
Включённый Identity Prompt — это мой личный запрос помощника по программированию на C#, и он хорошо сочетается с этим набором. Вы можете использовать его как есть, изменить под свои предпочтения или полностью отказаться.
В VS Code установите его как copilot-instructions.md, чтобы он был включён в каждое взаимодействие.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
SharpTools: Roslyn Powered C# Analysis & Modification MCP Server
SharpTools is a robust service designed to empower AI agents with advanced capabilities for understanding, analyzing, and modifying C# codebases. It leverages the .NET Compiler Platform (Roslyn) to provide deep static analysis and precise code manipulation, going far beyond simple text-based operations.
SharpTools is designed to give AI the same insights and tools a human developer relies on, leading to more intelligent and reliable code assistance. It is effectively a simple IDE, made for an AI user.
Due to the comprehensive nature of the suite, it can almost be used completely standalone for editing existing C# solutions. If you use the SSE server and port forward your router, I think it’s even possible to have Claude’s web chat ui connect to this and have it act as a full coding assistant.
Prompts
The included Identity Prompt is my personal C# coding assistant prompt, and it works well in combination with this suite. You’re welcome to use it as is, modify it to match your preferences, or omit it entirely.
In VS Code, set it as your copilot-instructions.md to have it included in every interaction.
The Tool Use Prompt is fomulated specifically for Github Copilot’s Agent mode. It overrides specific sections within the Copilot Agent System Prompt so that it avoids the built in tools.
It is available as an MCP prompt as well, so within Copilot, you just need to type /mcp, and it should show up as an option.
Something similar will be necessary for other coding assistants to prevent them from using their own default editing tools.
I recommend crafting custom tool use prompts for each agent you use this with, based on their individual system prompts.
Note
This is a personal project, slapped together over a few weeks, and built in no small part by its own tools. It generally works well as it is, but the code is still fairly ugly, and some of the features are still quirky (like removing newlines before and after overwritten members).
I intend to maintain and improve it for as long as I am using it, and I welcome feedback and contributions as a part of that.
Features
- Dynamic Project Structure Mapping: Generates a “map” of the solution, detailing namespaces and types, with complexity-adjusted resolution.
- Contextual Navigation Aids: Provides simplified call graphs and dependency trees for local code understanding.
- Token Efficient Operation Designed to provide only the highest signal context at every step to keep your agent on track longer without being overwhelmed or requiring summarization.
- All indentation is omitted in returned code, saving roughly 10% of tokens without affecting performance on the smartest models.
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →