Как я написал линтер для Model Context Protocol (MCP) и нашел баги в официальных серверах AnthropicЕсли вы пишете MCP-серверы для Claude Desktop или Cursor, то знаете, как легко поймать неочевидный баг: • Случайный console.log() в stdout ломает JSON-RPC протокол и наглухо вешает клиент. • Если у опасного инструмента (удаление БД/файлов) нет аннотации destructiveHint, агент выполнит его без подтверждения пользователя. • В описания инструментов можно зашить Prompt Injection, который заставит модель слить контекст. Написал mcp-linter (без единой сторонней зависимости, чистый Node.js/TS): — 34 правила проверки протокола и безопасности — Оценка здоровья сервера от A+ до F (0-100) — Генератор автоисправлений (–fix) — Экспорт в SARIF v2.1.0 для GitHub Security и готовый GitHub Action Попробовать в одну строку: npx mcp-linter – npx -y @modelcontextprotocol /server-memory Репозиторий: https://github.com/bakhtiyor-aminzoda/mcp-doctor Обезопасить себяhttps://habr.com/ru/articles/1102086/#open_sou...
Related
Writing is thinking. It's one of the reasons I started blogging again and has helped me immensely. Can't recommend it st...
Writing is thinking. It's one of the reasons I started blogging again and has helped me immensely. Can't recommend it strongly enough.AI is still ok for proofreading and mundane ta...
Dew Drop - November 10, 2026 (#4789)https://www.alvinashcraft.com/2026/11/10/dew-drop-november-10-2026-4789/#dotnet #web...
Dew Drop - November 10, 2026 (#4789)https://www.alvinashcraft.com/2026/11/10/dew-drop-november-10-2026-4789/#dotnet #webdev #ai #csharp #windowsdev #cloud #appdev #visualstudio #gi...
"In defense of the human code review"I briefly posted a version of this earlier, but I've retitled, reframed and updated...
"In defense of the human code review"I briefly posted a version of this earlier, but I've retitled, reframed and updated it.It's about the increasing pressures to speed up or repla...