PJ

promptexecution/just-mcp

Deployment & DevOps

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

60 stars 10 forks Качество 76 Тренд 4MIT

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

Обзор

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

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

        • Способ, позволяющий LLM говорить просто * *

Готовый к производству MCP-сервер, который обеспечивает бесшовную интеграцию с Just command runner, позволяя помощникам ИИ обнаруживать, выполнять и интроспектировать рецепты Justfile через стандартизированный протокол MCP.

** Почему просто + MCP = Лучшее исполнение агента **

###Контекстно-сберегающая абстракция Если это не сразу очевидно, преимущество использования LLM Just vs. bash заключается в том, что запуск команд Just (через MCP) обеспечивает абстракцию сохранения контекста, где им не нужно тратить время на открытие / чтение контекстных файлов bash, скриптов Python или других артефактов сборки. LLM через MCP просто получает команду, параметры и подсказки — это в их памяти как «эти команды доступны вам».

###Устраняет кривую обучения Justfile* Больше не смотрите, как LLM выполняются, чтобы получить списки команд, неизбежно начинайте читать Justfile, затем попробуйте написать Justfile синтаксис (например, Makefile), испортите Justfile и создайте плохой опыт. Просто развивающийся синтаксис просто не имеет достаточно большого корпуса в пограничных моделях сегодня - нам нужны более популярные репо с Justfiles в наборе данных обучения.

###Safer Than Raw Bash Access

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

README

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

just-mcp

👋 A way to let LLMs speak Just

A production-ready MCP server that provides seamless integration with Just command runner, enabling AI assistants to discover, execute, and introspect Justfile recipes through the standardized MCP protocol.

🎯 Why Just + MCP = Better Agent Execution

Context-Saving Abstraction

If it isn’t immediately obvious, the benefit of having LLMs use Just vs. bash is that running Just commands (via MCP) provides a context-saving abstraction where they don’t need to waste context opening/reading bash files, Python scripts, or other build artifacts. The LLM via MCP simply gets the command, parameters, and hints - it’s in their memory as “these are commands available to you.”

Eliminates the Justfile Learning Curve

No more watching LLMs execute just -l to get command lists, inevitably start reading the justfile, then try to write justfile syntax (like it’s a Makefile), corrupt the justfile, and create a bad experience. Just’s evolving syntax simply doesn’t have a large enough corpus in frontier models today - we need more popular repos with justfiles in the training dataset.

Safer Than Raw Bash Access

Just-mcp is fundamentally safer than bash. If you read HackerNews, there’s a story at least once daily about operators whose LLMs start forgetting, hallucinating, and eventually breaking down - deleting files and doing nasty unwanted things. Giving LLMs unsupervised, unrestricted bash access without carefully monitoring context consumption is a recipe for disaster.

Using Justfile fixes that. Even if the LLM modifies its own justfile, the next context is memoized by the justfile (hopefully in an idempotent git repo). This abstraction shields the llm from the command line complexity where hallucinations or attention tracking the current working directory cause it to go over the rails and off the cliff.

Powerful Agent Execution Tool

Just-mcp is perfect for anybody doing agent execution:

  • Ultra-low overhead - probably better than every other tool
  • Human-friendly - justfiles are easy for humans and low overhead for LLMs
  • Quick and dirty - while some prefer full Python FastAPI servers, just-mcp is just easy-as
Открыть полный README на GitHub

Установка

npx -y just-mcp --stdio
Новичок в MCP? Начните с руководства на mcpskill.org →

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

{ "mcpServers": { "just-mcp": { "command": "npx", "args": ["-y", "just-mcp", "--stdio"] } } }