# Securealy

Securealy scores a site the way an attacker and a visitor would see it, flagging leaked keys and misconfigured backends with a letter grade.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: securealy
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/securealy/securealy/tree/HEAD/packages/mcp
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/securealy

## What it does

Securealy runs checks across TLS and security headers, secret keys leaked into client-side JavaScript bundles, cookie and CORS settings, SPF/DKIM/DMARC records, plus the state of Supabase and Stripe when they're wired into the project. Each run produces a letter grade broken down into blockers, failures, warnings and passes, with a link explaining each finding.

Three modes are available. The passive one works on any URL and mirrors what a regular browser sees — the home page, robots.txt, sitemap.xml. The verified mode needs proof of domain ownership through a DNS record, meta tag or file on the site, and adds checks for exposed `.env` and `.git` files, admin routes, and Supabase tables readable by the anon key. The local mode runs on the user's own machine with their own credentials and sends nothing out except the result the user chooses to share.

The MCP server needs environment variables matching whichever service it's checking: `SUPABASE_URL` and `SUPABASE_SERVICE_KEY` for Supabase, `STRIPE_SECRET_KEY` for Stripe, `VERCEL_TOKEN` for Vercel. Every run logs an entry to `.securealy/history.json` with the grade and failed checks, without the secret values themselves.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `SUPABASE_URL`, `SUPABASE_SERVICE_KEY`, `SUPABASE_MGMT_TOKEN`, `SUPABASE_PROJECT_REF`, `STRIPE_SECRET_KEY`, `VERCEL_TOKEN`, `VERCEL_PROJECT_ID`, `SECUREALY_VERCEL_DECRYPT`, `SECUREALY_SUPABASE_HOST_OVERRIDE`, `SECUREALY_SCAN_ROOTS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env SUPABASE_URL=<SUPABASE_URL> --env SUPABASE_SERVICE_KEY=<SUPABASE_SERVICE_KEY> --env SUPABASE_MGMT_TOKEN=<SUPABASE_MGMT_TOKEN> --env SUPABASE_PROJECT_REF=<SUPABASE_PROJECT_REF> --env STRIPE_SECRET_KEY=<STRIPE_SECRET_KEY> --transport stdio mcp -- npx -y securealy-mcp
```
Replace <…> with your own values. 7 more environment variables are in the server README

### Codex

**Platform CLI**
```bash
codex mcp add mcp --env SUPABASE_URL=<SUPABASE_URL> --env SUPABASE_SERVICE_KEY=<SUPABASE_SERVICE_KEY> --env SUPABASE_MGMT_TOKEN=<SUPABASE_MGMT_TOKEN> --env SUPABASE_PROJECT_REF=<SUPABASE_PROJECT_REF> --env STRIPE_SECRET_KEY=<STRIPE_SECRET_KEY> -- npx -y securealy-mcp
```
Replace <…> with your own values. 7 more environment variables are in the server README

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "securealy-mcp"
            ],
            "env": {
                "SUPABASE_URL": "<SUPABASE_URL>",
                "SUPABASE_SERVICE_KEY": "<SUPABASE_SERVICE_KEY>",
                "SUPABASE_MGMT_TOKEN": "<SUPABASE_MGMT_TOKEN>",
                "SUPABASE_PROJECT_REF": "<SUPABASE_PROJECT_REF>",
                "STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. 7 more environment variables are in the server README

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "securealy-mcp"
            ],
            "env": {
                "SUPABASE_URL": "<SUPABASE_URL>",
                "SUPABASE_SERVICE_KEY": "<SUPABASE_SERVICE_KEY>",
                "SUPABASE_MGMT_TOKEN": "<SUPABASE_MGMT_TOKEN>",
                "SUPABASE_PROJECT_REF": "<SUPABASE_PROJECT_REF>",
                "STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. 7 more environment variables are in the server README

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e SUPABASE_URL=<SUPABASE_URL> -e SUPABASE_SERVICE_KEY=<SUPABASE_SERVICE_KEY> -e SUPABASE_MGMT_TOKEN=<SUPABASE_MGMT_TOKEN> -e SUPABASE_PROJECT_REF=<SUPABASE_PROJECT_REF> -e STRIPE_SECRET_KEY=<STRIPE_SECRET_KEY> mcp npx -y securealy-mcp
```
Replace <…> with your own values. 7 more environment variables are in the server README

## When to use it
- grade a site's security before putting it in front of real users
- catch a secret key accidentally bundled into client-side JavaScript
- check Supabase for tables exposed to the anon key
- verify Stripe keys and webhook wiring match the live environment
- grade an app that isn't deployed yet by pointing it at localhost

## Example prompts
- Run Securealy against my app and list every blocker
- Check my Vercel environment variables and Stripe key through Securealy
- Run the full local scan with check-rls and scan-repo

## Similar
- [VibeRaven (local)](https://affpapa.org/en/nevibecode/mcp/viberaven-local.md) — MCP server · ★ 65 repo stars
- [vibe-security](https://affpapa.org/en/nevibecode/skills/vibe-security.md) — skill · 3900 installs
- [platform-and-release-tools](https://affpapa.org/en/nevibecode/plugins/platform-and-release-tools.md) — plugin · ★ 96 repo stars
- [replica-deploy](https://affpapa.org/en/nevibecode/skills/replica-deploy.md) — skill · 1600 installs
- [project-tooling](https://affpapa.org/en/nevibecode/skills/project-tooling.md) — skill · 277 installs
- [nextjs15-supabase-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/nextjs15-supabase-cursorrules-prompt-file.md) — rule · ★ 41178 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
