opzyai
Checks for committed [.env](/mcp/integrations/dotenv) files or missing gitignore entries for .env.
Scans git history for secrets that were committed and later removed.
Detects hardcoded GitHub tokens and credentials.
Detects hardcoded OpenAI API keys in the source code.
Detects hardcoded Stripe API keys (excluding public keys like pk_*).
Detects hardcoded Supabase service-role keys (excluding anon keys).
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Opzyai MCP — local security check for AI coding agents
Source for @opzyai/mcp — an
MCP server that scans the project in your workspace for
the mistakes that ship secrets and vulnerabilities to production, entirely on your
machine. Ask your agent "is this safe to ship?" and get a Launch Readiness score with
a fix for every finding.
Built by Opzyai — security for apps built with AI tools like Cursor, Lovable, v0 and Bolt.
Install
# Claude Code
claude mcp add opzyai -- npx -y @opzyai/mcp// Cursor / generic MCP client
{
"mcpServers": {
"opzyai": { "command": "npx", "args": ["-y", "@opzyai/mcp"] }
}
}Related MCP server: agentguard
What it checks
One tool — security_check({ path?, offline? }) — runs four detectors:
Detector | Catches |
Working-tree secrets | API keys/tokens hardcoded in source (OpenAI, Anthropic, Stripe, Supabase service-role, AWS, GitHub, …) |
| env files committed or not gitignored |
Git-history secrets | credentials committed once and "removed" — still recoverable from history |
Dependency CVEs | known-vulnerable packages via OSV ( |
Detection is precision-first: an explicit allowlist keeps intentionally-public values
(Stripe pk_*, Supabase anon keys) from ever being flagged.
Privacy
Everything runs locally over stdio. The only network call is the OSV dependency check —
package names + versions only, never your code — and offline: true disables even
that.
Repository layout
This is the public source mirror of the local scanner; it is developed inside the private Opzyai monorepo and synced here on each release, byte-identical.
packages/
mcp-local/ @opzyai/mcp — the MCP server published to npm
detectors/ @appsec/detectors — shared secret-detection patterns + allowlist
core/ @appsec/core — trimmed shim (shared types only; the full package is server-side)Develop
pnpm install
pnpm typecheck && pnpm test # vitest, all packages
pnpm build # tsup → packages/mcp-local/dist/cli.jsRequires Node >= 20 and git on PATH (for the git-history detector's tests).
Related
Free URL scan (no account): paste your deployed URL at opzyai.com/scan — passive check for leaked client-bundle keys, exposed
.env/.git/source maps, missing headers.Hosted Pro MCP: deep scans of repos you own (dependency CVEs, SAST, git-history secrets) plus
propose_fix— the exact change for your agent to apply: opzyai.com/mcp.
License
MIT © Opzyai
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.
Deep security scans of repos you own from your editor: dependency CVEs, SAST, git-history secrets.
Code security scanner for founders and small teams: leaked secrets, missing RLS, injection, CVEs
Lets coding agents check their own code for leaked secrets, risky dependencies and AI-code mistakes
Related MCP Servers
- AlicenseNot gradedqualityFmaintenancePredeploy security scanner for AI-generated code. 80+ vulnerability patterns across secrets, auth, injection, config, Supabase, and logging. Runs locally, code never leaves your machine. Optional x402 witnessed attestation.96 npmApache 2.0
- AlicenseNot gradedqualityCmaintenanceProvides security checks for AI agents, including secret scanning, CVE lookup, and dependency vulnerability scanning, all running locally except for CVE lookups.MIT
- AlicenseAqualityBmaintenanceLocal security layer for coding agents: keeps secret values out of what Claude Code, Codex CLI, Cursor and OpenCode send to their model, and checks untrusted text for prompt injection. MIT, runs on your machine, no account.45MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI editors such as Cursor, Claude Code, Windsurf and VS Code to scan a project for common AI-introduced security mistakes — leaked keys, open Supabase/Firebase data, missing auth, unverified Stripe webhooks, SQL injection and more — and return findings with exact fix instructions. It also provides a guided prompt that walks an agent through fixing critical issues one by one and verifying each fix by re-scanning, without ever editing files or rotating keys itself.2MIT