Dvalincode logo

Dvalincode

Deterministic local security scanning and governed code-repair verification through MCP, CLI, and GitHub Actions.

Install Dvalincode

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dvalincode": {
      "command": "npx",
      "args": [
        "-y",
        "dvalincode"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y dvalincode

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 24d ago.

Overview

The dvalincode MCP server exposes deterministic security scanning and fix verification for a local workspace without requiring a model or API key. It can scan built-in rules, inspect findings, run project checks, and produce independently verifiable fix records. Use it when an agent needs security feedback on its changes without modifying the workspace or relying on its own judgment. The server runs over standard MCP configuration and can be added to Claude Code, Cursor, or VS Code.

Use cases

  • Scan uncommitted agent changes for newly introduced security findings
  • Verify that a remediation removed a finding without adding another
  • Run project checks and capture their exit codes in a fix record
  • Retrieve a finding by fingerprint during a coding workflow

Key features

  • Deterministic local security scanning
  • Uncommitted-diff scanning
  • Independent fix verification
  • Project test execution during verification
  • Hash-checked JSON fix records
  • Built-in rules for common code security issues

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

20/24 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · dvalincode (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars119Stargazers on the source repository.
npm downloads681Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Dvalincode works

What dvalincode MCP server does

The dvalincode MCP server gives MCP-speaking coding agents access to local security checks and governed verification workflows. It operates on a project workspace and uses Dvalin’s built-in rules to detect issues such as injection, hardcoded secrets, cross-site scripting, eval, and unsafe shell usage. The default scan requires no account, model, API key, or remote service, and code remains on the machine running the server.

The dvalincode MCP server is intended to provide an independent check after an agent changes code. It does not ask the agent that made the change whether the repair worked. Instead, Dvalin can rescan the workspace, execute the project’s own checks, inspect process exit codes, and return evidence for the resulting verdict.

How it works

Start the MCP process with a workspace path. An MCP client sends scan or verification requests, and Dvalin evaluates the current files according to its security policy. Scans can cover the whole workspace or use diff: "uncommitted" to focus on changes the agent has just made. The latter is useful when a repository already contains findings that are outside the current task.

A verification workflow begins explicitly when an agent calls dvalin_begin_verification. The agent can then retrieve a specific issue by fingerprint and request an independent check. Dvalin records the initial and follow-up results, the checks it observed, the coverage status, and any newly introduced findings. A repair that removes one issue but introduces another is marked regressed rather than verified.

Fix records are small JSON artifacts that can be checked again from the file alone. Their hashes and verdicts are recomputed during verification, so edits made after issuance are detected. The record describes what was checked; it is not a general claim that the code is safe.

Setup and configuration

Run the server with the package runner and point it at the target workspace:

Terminal
claude mcp add dvalin -- npx -y dvalincode mcp-serve --workspace .

The repository also provides a configuration command for supported editor formats:

Terminal
npx dvalincode mcp-install cursor
npx dvalincode mcp-install vscode
npx dvalincode mcp-install claude-code

These commands write the appropriate configuration file and merge with existing entries. Cursor uses .cursor/mcp.json, VS Code uses .vscode/mcp.json, and Claude Code uses .mcp.json. The server itself needs no API key or model configuration for its built-in rules.

Tools and capabilities

The documented MCP operations include:

  • dvalin_scan: scan the workspace, optionally limiting results to uncommitted changes.
  • dvalin_begin_verification: create a local workflow for checking a repair.
  • dvalin_get_finding: retrieve a finding using its fingerprint.
  • dvalin_verify_findings: request an independent rescan and verification result.

The server does not edit the target workspace, run a model, or persist Dvalin state during a scan. It can inspect and execute the project checks needed for a verification record. Its results include whether scan coverage was complete, partial, or unknown, so an empty result can be distinguished from a fully covered clean run.

Limitations and notes

The built-in coding capability is a remediation executor, not the trust boundary for the verification result. The agent or person making a change is recorded, but is not consulted when Dvalin derives the verdict. Verification only establishes that the recorded findings and checks produced the stated evidence; it does not prove that the entire codebase is secure.

Optional scanner engines can be installed separately through the Dvalin CLI, but the default policy uses the built-in scanner. Suppressions require a reason and may include an owner and expiration date. The server is therefore most suitable when the workspace, its tests, and its security policy are available to the process running MCP.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dvalincode

dvalincode is an MCP server that connects an MCP client to a local project workspace and Dvalin’s deterministic security runtime. Its main tools scan code, begin a verification workflow, retrieve findings by fingerprint, and independently verify findings after a repair. It needs no model or API key for built-in scanning.

Run `claude mcp add dvalin -- npx -y dvalincode mcp-serve --workspace .` from the project context. You can also run `npx dvalincode mcp-install cursor`, `vscode`, or `claude-code` to write the corresponding client configuration.

Yes, dvalincode works with Cursor through its standard MCP configuration. Run `npx dvalincode mcp-install cursor` to create or update `.cursor/mcp.json`, or configure the server with the workspace path and `dvalin mcp-serve` command.

Yes, set the scan request’s `diff` value to `"uncommitted"`. The result focuses on code the agent just changed instead of reporting every existing finding in the repository.

No, the built-in security scan requires neither an API key nor a language model. It runs locally with Dvalin’s built-in rules, and the default scan does not send project code to a remote service.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDvalincode AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dvalincode?style=directory)](https://allmcps.com/mcp/dvalincode)
HTML Embed
<a href="https://allmcps.com/mcp/dvalincode"><img src="https://allmcps.com/api/badge/dvalincode?style=directory" alt="Dvalincode on AllMCPs" /></a>