Back to Home
PromptExecution icon

just-mcp

by PromptExecution

Overview

Provides an MCP (Model Context Protocol) server for AI agents to discover, execute, and introspect Justfile recipes, enabling automated build and task management without direct shell access.

Installation

Run Command
npx just-mcp --stdio

Environment Variables

  • MCP_SERVER_NAME
  • MCP_SERVER_VERSION
  • MCP_LOG_LEVEL
  • MCP_CONFIG_PATH
  • MCP_DATA_DIR
  • MCP_TEMP_DIR
  • MCP_MAX_MESSAGE_SIZE
  • MCP_TIMEOUT_SECONDS
  • MCP_SERVER_CONFIG

Security Notes

The `executor.rs` module directly substitutes user-provided arguments (via the `run_recipe` tool) and Justfile variables into shell commands executed with `sh -c`. This design pattern is highly vulnerable to command injection, as malicious input in arguments or variables could execute arbitrary code on the host system. The claim of being 'Safer Than Raw Bash Access' is not supported by the current implementation which directly uses `sh -c` with interpolated user input.

Similar Servers

Stats

Interest Score46
Security Score3
Cost ClassLow
Avg Tokens500
Stars33
Forks5
Last Update2025-12-03

Tags

MCPJustfileBuild AutomationAI AgentRust