mcpbeat Sign in

Code Guard MCP Server

local only

Code Guard MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 44 installs a week from npm. Last commit 17 Sep 2026.

Security scan for AI-generated code: injection, SSRF, secrets, weak crypto, unsafe deserialization.

Installs per day peak 20 · avg 8 · +36% w/w
a month agotoday
44
Installs / week
npm · @mlawsonking/code-guard-mcp
0
Stars
0 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
JavaScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] core/tools/_schema.js:1, [пакет] core/engines/code.js:1, [пакет] core/tools/code.js:1 и ещё 17
этот файл ставится пользователю, но в репозитории его нет
    const r = spawnSync(comspec, ['/d', '/s', '/c', line], {
    out.innerHTML = head + "\n\n" + JSON.stringify(j,null,2);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add code-guard-mcp -- npx -y @mlawsonking/code-guard-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-guard-mcp": {
      "args": [
        "-y",
        "@mlawsonking/code-guard-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-guard-mcp]
command = "npx"
args = ["-y", "@mlawsonking/code-guard-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-guard-mcp": {
      "args": [
        "-y",
        "@mlawsonking/code-guard-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "code-guard-mcp": {
      "args": [
        "-y",
        "@mlawsonking/code-guard-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Code Guard MCP

same job, measured the same way
GuardianShield
by sparkvibe-io

AI security layer: code scanning, PII detection, prompt injection, secrets, CVEs

82 installs/wk local only
MCP Codeaudit
by infoinlet-marketplace

Security audit for AI agents — scan code/diffs for leaked secrets, check deps via OSV.

23 installs/wk local only
CodeInspectus
by synvoya

Local-first MCP security scanner and CLI for AI-generated applications.

142 installs/wk local only
Skylos
by duriantaco

Dead code, security, secrets detection and code quality for Python, TypeScript, Go.

18 479 installs/wk local only
Python Code Validator
by jkanselaar

Validates AI-generated Python: syntax, lint, security scan and deterministic repair.

3 tools answering
Codequiry
by codequiry

Source code plagiarism, peer similarity, and AI-generated-code detection for AI agents.

answering
Judges Panel
by kevinrabun

45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.

629 installs/wk local only
nittim
by nittim

Production-safety audits for AI-generated code, with a fix for every finding.

15 tools answering

Code Guard MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Guard MCP?
Code Guard MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @mlawsonking/code-guard-mcp was installed 44 times last week.
How do I connect Code Guard MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @mlawsonking/code-guard-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Code Guard MCP?
The npm package @mlawsonking/code-guard-mcp was installed 44 times in the last week. Week over week that is +36%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Guard MCP open source?
Yes — it is published under the MIT licence, written in JavaScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.