# promptexecution/just-mcp [Health: Active]

**Category:** 👨‍💻 Code Execution  
**Repository:** https://github.com/promptexecution/just-mcp  
**GitHub Stars:** 60  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/promptexecution-just-mcp

## Description
Justfile integration that enables LLMs to execute any CLI or script commands with parameters safely and easily, with environment variable support and comprehensive testing.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What promptexecution/just-mcp MCP server does

promptexecution/just-mcp MCP server exposes a project’s Justfile through the Model Context Protocol. Just recipes provide named entry points for development, build, test, deployment, or other command-line workflows. An MCP-compatible assistant can discover those entry points, inspect their documented parameters, request execution, and check whether the Justfile is valid.

The interface is narrower than giving an agent unrestricted shell access: the agent operates through recipes defined by the project. However, the commands a recipe invokes still depend on the Justfile and the local environment. The project describes this pattern as a way to keep command details in the Justfile while presenting the agent with recipe names, arguments, and guidance.

## How it works

The server is implemented in Rust and uses the rmcp SDK with the MCP 2024-11-05 protocol. It parses the Justfile, handles recipe execution, validates the file, manages environment values, and returns structured results through MCP. Its standard operating mode is stdio, making it suitable for MCP clients that launch local servers as child processes.

The main tools are:

- `list_recipes` returns the recipes available in the Justfile.
- `run_recipe` executes a selected recipe and accepts optional arguments.
- `get_recipe_info` returns details such as recipe parameters and documentation.
- `validate_justfile` checks syntax and semantic correctness and reports errors.

## Setup and configuration

Install options include npm or npx, pip or uvx, Cargo, pkgx, and Docker. The repository also provides a source-build path using Rust. A basic local launch is `just-mcp --stdio`; use `--directory /path/to/project --stdio` when the Justfile is outside the current directory.

For Docker, the documented pattern mounts the project at `/workspace` and starts the image with `--stdio`. The same stdio command can be placed in an MCP client configuration. The README gives a Claude Desktop example using npx, uvx, a locally installed binary, or Docker.

Environment handling includes support for `.env` files and variable expansion.

## Tools and capabilities

The server supports recipe discovery, parameterized execution, recipe introspection, and Justfile validation. Execution results are captured and returned through the MCP interface. The implementation includes parser, executor, validator, environment, and MCP server modules.

The repository reports 33 passing tests across unit and integration coverage, including protocol checks, SDK integration, parsing, execution, validation, and environment behavior. The stated technology baseline is Rust 1.82 or newer, with Tokio for asynchronous execution and Serde for JSON serialization.

## Limitations and notes

promptexecution/just-mcp MCP server currently documents four core tools and does not yet provide the planned LSP-style completion system, advanced diagnostic suggestions, or virtual file system support for stdin, remote sources, and in-memory buffers. The README labels the project as 67% complete, with eight of twelve core tasks implemented.

The server exposes Just recipes rather than independently determining whether a command is appropriate. Review the project’s Justfile and the commands it invokes before allowing an agent to run recipes. The repository describes additional safety patterns such as logging, command inspection, validation, and idempotent execution as patterns that Just can support, not as separate MCP tools listed in the current interface.

promptexecution/just-mcp MCP server is focused on Justfile-backed workflows; it is not documented as a general-purpose file editor, shell session, or remote execution service.

_Full upstream README: https://allmcps.com/mcp/promptexecution-just-mcp/readme_

