Just Runner Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Just Runner Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that exposes Just recipes as MCP tools, allowing AI assistants to discover and execute project commands defined in Justfiles.
Install and run the MCP server with npx:
# Install just command runner if not already installed
# See https://github.com/casey/just#installation
# Run the MCP server pointing to a directory with a Justfile
npx just-runner-mcp --justfile ./path/to/your/justfile
# Or run from current directory (will search for Justfile)
npx just-runner-mcp
# Test via MCP inspector web UI
npx -y @modelcontextprotocol/inspector -- npx -y just-runner-mcp --justfile tests/support/basic.justfileAdd to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"just-runner": {
"command": "npx",
"args": ["just-runner-mcp", "--justfile", "/path/to/your/project"]
}
}
}Just is a command runner that saves and runs project-specific commands in a justfile. It's an effective choice for exposing commands/scripts to AI assistants because:
The MCP server automatically parses Justfiles and generates MCP tools for each recipe. Each tool is named after the recipe and includes:
# above the recipe)For example, this justfile recipe:
# Compile Latex Document. FILEPATH must be an absolute path
compile-latex FILEPATH:
tectonic {{FILEPATH}}
# Compile Typst Document. FILEPATH must be an absolute path
compile-typst FILEPATH:
typst compile --format pdf {{FILEPATH}}
typst compile --format png {{FILEPATH}} "page-{0p}-of-{t}.png"Would expose the following tools to the MCP client:
{
"tools": [
{
"name": "compile-latex",
"description": "Run just recipe: compile-latex\nCompile Latex Document. FILEPATH must be an absolute path",
"inputSchema": {
"type": "object",
"properties": {
"FILEPATH": {
"type": "string",
"description": "Required"
}
},
"required": ["FILEPATH"]
}
},
{
"name": "compile-typst",
"description": "Run just recipe: compile-typst\nCompile Typst Document. FILEPATH must be an absolute path",
"inputSchema": {
"type": "object",
"properties": {
"FILEPATH": {
"type": "string",
"description": "Required"
}
},
"required": ["FILEPATH"]
}
}
]
}The MCP server supports several command-line options:
Usage: just-mcp [options]
Expose Justfile recipes as MCP tools
Options:
--justfile <path> Path to Justfile (default: "Justfile")
--just-binary <path> Path to just binary (default: "just")
--timeout <ms> Timeout for recipe execution in milliseconds (default: 30000)
--list-tools Print available tools and exit
--help Show help message
-h display help for commandThis section demonstrates a practical Justfile for a development project and the MCP tools it generates. Each recipe becomes a tool that AI assistants can discover and execute.
Here's a justfile for a typical development workflow:
# Install project dependencies
install:
npm install
# Start the development server
dev port="3000":
echo "Starting dev server on port {{port}}"
npm run dev -- --port {{port}}
# Run all tests
test:
npm test
# Deploy to staging environment
deploy-staging: build test
echo "Deploying to staging..."
./scripts/deploy.sh stagingWhen you run just-runner-mcp --list-tools, you get the following JSON response showing all available tools:
{
"tools": [
{
"name": "install",
"description": "Run just recipe: install\nInstall project dependencies",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
}
},
{
"name": "dev",
"description": "Run just recipe: dev\nStart the development server",
"inputSchema": {
"type": "object",
"properties": {
"port": {
"type": "string",
"description": "Parameter: port (default: 3000)"
}
},
"required": []
}
},
{
"name": "test",
"description": "Run just recipe: test\n",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
}
},
{
"name": "deploy-staging",
"description": "Run just recipe: deploy-staging\nDeploy to staging environment",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
}
}
]
}With these tools available, an AI assistant can help you with common development tasks like "install the dependencies", "start the dev server on port 8080", "run the tests", or "deploy to staging".
There are other approaches to integrating Just with MCP:
This repository (just-runner-mcp) takes a minimal approach, focusing specifically on exposing Just recipes as MCP tools for AI assistants to discover and execute.
# Run all tests
just test
# Run specific test file
just test tests/integration.test.tsThis project is licensed under the MIT License - see the LICENSE file for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.