cyberdroid2077/opsecforge-tools
OpsecForge MCP is a local MCP server (stdio) for AI coding agents such as Claude Code, Codex, and Cursor, designed to keep secrets out of the model context. The agent only needs to pass a file path or environment variable name; processing is done locally and only redacted or derived results are returned. The server makes no network requests and requires no account, API key, or telemetry; it requires Node.js 20 or later. Main tools include: redact_file (reads a local text file and redacts secrets), scan_secrets (scans files or the staging area before committing), redact_text (redacts existing text), verify_webhook (offline verification of GitHub, Stripe, or generic HMAC signatures), inspect_jwt (decodes a JWT and provides risk hints), file_checksum (computes SHA-256/SHA-512 checksums). The Claude Code plugin also provides a PreToolUse hook that intercepts calls that directly read sensitive files such as .env, *.pem, and *.key, along with skill hints. The project is MIT-licensed and reuses the same codebase as the opsecforge.com browser tool. Note: redaction is heuristic, the hook is a best-effort safeguard rather than a sandbox, Codex and Cursor have no corresponding hook, and tool arguments and results still pass through the model context.