DEV Community

PyKevlar Labs
PyKevlar Labs

Posted on Originally published at pykevlar.com

I Gave Claude Code an MCP Server That Audits & Armors Python Binaries in 1 Second

Modern engineering teams use Claude Code, Cursor, and OpenAI Codex to write FastAPI services, CLI tools, and AI agents—yet still rely on brittle manual shell scripts when packaging releases for customers. With pykevlar-mcp (shipped directly inside pip install pykevlar), your coding agent can audit decompiler risk and emit sealed single-file executables automatically.

1. One-Command MCP Setup for Claude Code & Cursor

Install or upgrade pykevlar from PyPI—no Node.js wrapper or extra dependencies required:

pip install -U pykevlar
claude mcp add pykevlar -- pykevlar-mcp
Enter fullscreen mode Exit fullscreen mode

For Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "pykevlar": {
      "command": "pykevlar-mcp",
      "args": []
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

2. Exposed MCP Tools Inside Your Coding Agent

    - **`audit_python_exposure`:** Scans all `.py` modules in ~50ms, flags plaintext system prompts, SQL queries, and legacy `.spec` files vulnerable to `pyinstxtractor` + `PyLingual`, and outputs a tailored build command.
    - **`bundle_python_free`:** Runs Basic (Free `--no-armor`) standalone binary compilation—28.8× faster than PyInstaller.
    - **`build_protected_release`:** Compiles ChaCha20-sealed, native-C transpiled (`--enable-bcc`), Anti-LLM hardened (`--anti-llm`) production binaries (including Mac→Linux cross-targets on Team).
Enter fullscreen mode Exit fullscreen mode

You can also test your stack right in the browser with our Interactive Python Exposure Scanner.


Install PyKevlar + MCP Server in 10 seconds

Run pip install -U pykevlar && claude mcp add pykevlar -- pykevlar-mcp. Use code LAUNCH25 for 25% off Pro or Team.

Top comments (0)