# Soloknuckle [Verified owner] [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/z99wE/soloknuckle  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/soloknuckle

## Description
Local production-hygiene MCP server with a secret scanner, command firewall, mutation gate and flaky-test detection, returning machine-readable verdicts to Claude Code.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/z99wE/soloknuckle), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Run:

```sh
npx soloknuckle init
```

2. Install:

```sh
npm install -g soloknuckle
```

3. Install:

```sh
git clone https://github.com/z99wE/soloknuckle.git
```

## Documentation

## What Soloknuckle does

Soloknuckle adds local safety and quality gates around AI-assisted software development. Its MCP interface gives an agent structured results from checks that are easy to overlook when a model writes both implementation and tests. The project is designed for Node.js 20 or newer and runs without an API key.

Its checks cover several distinct risks:

- Secret exposure in staged files and diffs, including API keys, tokens, and PII.
- Destructive shell and version-control commands such as recursive removal, force pushes, unsafe permissions, shell-piped downloads, and SQL drops.
- Weak test suites that achieve line coverage without demonstrating useful behavior.
- Tests with missing assertions, hardcoded values, absent mocks, or real network calls.
- Calls whose arguments and return expectations do not match the underlying signature.
- Flaky patterns involving timers, randomness, dates, and network activity.

Additional project capabilities include AI-authorship telemetry, dependency supply-chain checks, AI commit quarantine, rollback automation, feature-flag control, SBOM generation, and compliance checks.

## How it works

The MCP tools call the same local engines used by the command-line and automation surfaces. Results are returned as machine-readable verdicts that an agent can act on. For example, a secret check reports whether the scan is clean and includes violations when it is not; command interception reports whether an operation was blocked and why.

Mutation testing changes code using operator, return, boundary, boolean, and string mutations, then checks whether the test suite detects those changes. The flaky-test detector looks for known sources of nondeterminism and can rerun tests to identify intermittent failures. Supply-chain checks combine behavioral dependency analysis with npm audit modes ranging from quick to deep.

The wider system can apply the same checks in the CLI, CI, git hooks, shell commands, IDE rules, and webhook-triggered rollback flows. Webhook handling supports signed inputs from Sentry, GitHub, and generic webhook sources.

## Setup and configuration

The project is intended to start with a single initialization command:

```bash
npx soloknuckle init
```

Initialization scaffolds project-level gates, including git hooks, agent instructions, and IDE rules. The checks run locally, use zero configuration for the basic setup, and do not require an API key. Node.js 20 or newer is required.

The command-line surface can also run strict checks directly:

```bash
npx soloknuckle check --strict
```

To inspect a shell operation before execution, use the interception command:

```bash
npx soloknuckle intercept rm -rf x
```

## Tools and capabilities

The MCP surface includes tools for secret scanning, command interception, scoring, and feature-flag control. The project describes nine MCP tools in total, including score and intercept operations. Feature flags are managed through a versioned `flags.json` file.

The broader hygiene engine provides mutation scoring, context-aware test validation, caller-contract checking, flaky-test detection, AI-versus-human telemetry, dependency supply-chain analysis, AI commit watching, signed-webhook rollback, SBOM creation, and an 11-check self-audit.

## Limitations and notes

Soloknuckle is focused on local production hygiene for AI-assisted development. Its enforcement depends on the agent or workflow invoking the relevant MCP tool or gate. The project reports bounded mutation work of up to 10 mutations and two reruns, with a stated target of less than two minutes of CI impact. It is open source under the ISC license.

_Full upstream README: https://allmcps.com/mcp/soloknuckle/readme_

