Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ninja-mcp

Latest version: v2.0.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: angkira
16 Versions
1.4K Downloads

Scan summary

ninja-mcp was last scanned on 25 Nov 2026 at version 2.0.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 16 versions; the latest 3 were published on 25 Nov 2026.
  • Findings: No rules fired in version 2.0.2.
  • Downloads: 1,350 downloads.

Versions

16 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.2 LATEST 25 Nov 2026 No rules fired
2.0.1 25 Nov 2026 No rules fired
2.0.0 25 Nov 2026 No rules fired
1.9.2 12 Nov 2026 Not shown
1.9.1 11 Nov 2026 Not shown

No rules fired in 2.0.2

Findings

Findings for v2.0.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.0.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Ninja MCP

CI License: MIT Python

Ninja MCP is a set of MCP servers and a small command-line orchestrator for coding, research, and codebase analysis. The current package and release are 2.0.0.

What It Includes

  • Coder: simple tasks plus sequential and parallel execution plans.
  • Researcher: cited answers, deep research, source aggregation, and fact checks.
  • Secretary: codebase reports, file analysis, file search, doc summaries, and session tracking.
  • Agent: a CLI orchestrator for plan, analyze, delegate, review, and run.
  • Config TUI: Nord-themed setup, model selection, host-auth detection, and IDE registration.
  • Background execution: start a long run, get a job id, keep working, then fetch or cancel the result. Works in every MCP host via coder_submit_* / coder_job_status|result|cancel, with standard MCP Tasks for hosts that advertise the capability.

MCP protocol support

All four servers target MCP 2026-07-28 (mcp>=2.3.0) and keep serving older revisions from the same server object.

Server Transports Extensions advertised Task-enabled tools
ninja-coder stdio, SSE, Streamable HTTP Skills, Tasks 4
ninja-researcher stdio, SSE, Streamable HTTP Skills, Tasks 3
ninja-secretary stdio, SSE, Streamable HTTP Skills, Tasks, Files (opt-in) 2
ninja-agent stdio, SSE, Streamable HTTP Skills, Tasks 2

With --http one process serves legacy SSE at /sse + /messages and modern Streamable HTTP at /mcp on the same port (defaults 8100–8103). Skills (skills/list, skills/get) and the Tasks extension (tasks/get, tasks/cancel) are advertised to modern clients only; clients that do not declare io.modelcontextprotocol/tasks keep the synchronous tool surface.

Full request/response shapes, the capability matrix, and the elicitation and file-upload flows: MCP protocol 2026-07-28.

TUI Preview

The configuration app uses a Nord palette, a block-letter NINJA logo, keyboard navigation that works on RU and Latin layouts, and lazy model autocomplete.

The Docker installer asks for workspace, profiles, ports, build/start, and credentials in the same style. This preview is generated from the current installer flow; it is not a live container session.

Requirements

  • Python 3.11 or newer for a native install.
  • Docker Engine with Compose v2 for Docker mode.
  • An authenticated host CLI or provider credentials for the operator you use.

Quick Start

Make quickstart

From a checkout, make help lists the available wrappers. Normal users should run make install and choose Native installation or Docker container (isolated) in the first TUI question. Do not run make docker-up before that configuration exists; Docker targets use the TUI-generated ~/.config/ninja-mcp/docker/.env.

Goal Command Notes
Interactive install make install The normal Native/Docker TUI flow
Native guidance make install-native Prints native guidance; non-interactive native flow is ./install.sh --auto / --minimal
Internal Docker automation make install-headless Hidden NINJA_DOCKER_NONINTERACTIVE=1 backend; not public UX
Compose config make docker-config PROFILE=coder Resolves config only, does not start containers
Start services make docker-up PROFILE=coder Requires prior TUI-generated config
Stop services make docker-down PROFILE=coder Non-destructive stop
Quality checks make check CI-aligned lint, format, typecheck, and tests
Release validation make release-check Builds locally; never publishes
Local release make release VERSION=2.0.0 Bump, gate, build, tag, push, publish to PyPI
Release dry-run make release-dry-run VERSION=2.0.0 Print the release plan without mutating

The Make targets are thin wrappers around install.sh, uv, and Docker Compose. IMAGE, PROFILE, COMPOSE_PROJECT_NAME, and CONFIG_DIR can be overridden as Make variables. make docker-clean is explicit and removes Compose volumes.

Native TUI

The bootstrap installer opens the setup flow. It can install the package and then configure the native runtime:

curl -fsSL https://raw.githubusercontent.com/angkira/ninja-cli-mcp/main/install.sh | bash

For an existing checkout or an already installed package:

ninja-mcp config install
# Equivalent entry point:
ninja-config install

The main TUI is also available with ninja-mcp config or ninja-config configure. Non-secret settings are written to ~/.ninja-mcp.env; API keys are kept in an AES-256-GCM encrypted store with the OS keychain as the primary backend — never in .env or the environment. See docs/SECRETS.md.

Deployment target

Use Docker when host isolation is more important than host CLI integration:

Run ./install.sh and select Native installation or Docker container (isolated) as the first TUI question. Docker then asks for workspace, profiles, unique localhost ports, build/start, and credentials.

The interactive TUI flow asks for an absolute workspace path (missing directories are created automatically), one or more Compose profiles, unique localhost ports, whether to build and start, and whether to pass API credentials. The headless backend instead requires an existing absolute workspace directory. It creates a project under ~/.config/ninja-mcp/docker and installs the ninja-mcp-docker wrapper in ~/.local/bin.

For internal automation only, the hidden backend accepts environment overrides:

NINJA_DOCKER_WORKSPACE="$PWD" \
NINJA_DOCKER_PROFILES=coder,agent \
NINJA_DOCKER_CODER_PORT=18100 \
NINJA_DOCKER_AGENT_PORT=18103 \
NINJA_DOCKER_NONINTERACTIVE=1 ./install.sh

The wrapper supports start, stop, status, logs, and config:

ninja-mcp-docker start
ninja-mcp-docker status
ninja-mcp-docker logs
ninja-mcp-docker stop

See Docker Quickstart for profiles, volumes, runtime secrets, and troubleshooting.

Unified CLI

Run ninja-mcp <command> --help for command-specific options.

Command Purpose Example
config Launch or manage native configuration ninja-mcp config install
config install Run the initial TUI installer ninja-mcp config install --skip-keys
config configure Open the ongoing configuration manager ninja-mcp config configure
config models Configure models with provider/model picker ninja-mcp config models
init Install MCP servers into a host config ninja-mcp init detect
init <host> Configure Claude Code, Codex, Cursor, Junie, Antigravity, or generic MCP ninja-mcp init claude-code --direct
daemon Manage persistent HTTP/SSE module processes ninja-mcp daemon status
agent Analyze, review, run-and-diagnose, pipeline, distill-logs ninja-mcp agent run-and-diagnose --command "pytest"
update Update an installed checkout/package ninja-mcp update
version Print the installed version ninja-mcp version

The standalone server entry points remain available: ninja-coder, ninja-researcher, ninja-secretary, and ninja-agent.

Agent CLI

The agent CLI emits readable output by default and JSON with --json:

ninja-mcp agent analyze --repo-root . --focus auth
ninja-mcp agent review --repo-root . --files src/auth.py tests/test_auth.py
ninja-mcp agent run-and-diagnose --command "pytest tests/" --repo-root .
ninja-mcp agent pipeline --step "uv sync" --step "ruff check" --step "pytest" --repo-root .
ninja-mcp agent distill-logs --module coder --lines 100
ninja-mcp agent exec-command --command "git status" --repo-root .

run-and-diagnose executes diagnostic and test commands with automated outcome distillation, failure extraction, and ANSI stripping. pipeline executes an ordered sequence of commands in a single round-trip with fail-fast enforcement. distill-logs aggregates and clusters repetitive log lines into actionable tracebacks and frequency summaries.

Coder Routing and Safety

Task type is part of the execution policy:

Task Public route Default isolation
Quick/simple coder_simple_task In place, with an automatic safety commit
Complex sequential coder_execute_plan_sequential Detached ninja/* worktree
Complex parallel coder_execute_plan_parallel Detached ninja/* worktree

Parallel complexity is explicit: simple is suitable for independent small work, while complex uses the heavier plan/worktree path. Long-running work is protected by an inactivity-first watchdog, not only a wall-clock deadline. Defaults are 90 seconds for quick tasks and 180 seconds for sequential and parallel tasks. Override with NINJA_INACTIVITY_TIMEOUT, or the per-type NINJA_INACTIVITY_TIMEOUT_QUICK, ..._SEQUENTIAL, and ..._PARALLEL variables.

See Automatic Safety for recovery, worktree controls, and legacy paths that intentionally remain in place.

Provider Authentication

Ninja does not require a new API key when the selected coding CLI is already authenticated on the host. Supported operators: opencode, aider, claude, codex, agy (Antigravity), and junie.

  • claude uses the host Claude Code session (sonnet/opus/haiku aliases).
  • codex uses the ChatGPT login from the Codex CLI.
  • agy (Antigravity) runs locally with its own auth; models are listed live with agy models.
  • junie uses JetBrains Account authentication and the junie binary.
  • opencode uses its own provider configuration and authentication, and exposes a dynamic provider sub-selection (Anthropic, OpenAI, Google, Z.AI, OpenRouter, …).

Junie uses a flat model id and runs commands shaped like:

junie --model deepseek-v4-flash --output-format text -p . \
  --skip-update-check --task "Review the authentication flow"

The TUI detects Junie and offers its static host-auth model list without a network probe. API-backed operators such as Aider still need the credentials required by that operator. Docker intentionally does not copy host $HOME, host CLI credentials, or docker.sock; use runtime API variables or a protected runtime env file instead.

MCP Host Setup

Detect supported hosts and install their configuration with the unified CLI:

ninja-mcp init detect
ninja-mcp init claude-code --direct
ninja-mcp init codex
ninja-mcp init junie
ninja-mcp init generic

Use --dry-run to preview a supported config change. See Editor Integrations and Installation Modes.

Documentation

  • Docker Quickstart
  • MCP protocol 2026-07-28 (transports, skills, tasks, elicitation)
  • Background execution (MCP Tasks extension + submit/poll)
  • Automatic Safety
  • CLI Strategies and operators
  • Model selection
  • TUI installer notes
  • Configuration
  • Running daemons under systemd --user
  • MCP architecture
  • Coder architecture
  • Researcher
  • Secretary
  • Changelog
  • Security
  • Contributing

Development

uv sync --all-extras
uv run pytest tests/ -q
uv run ruff check src
uv run mypy src

Ninja MCP is released under the MIT License.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases ninja-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229