Skip to content
MCP server

Rls Check

Explains in Arabic which Supabase tables anyone can read or change, from a read-only query

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API
Runs
Locally
Version
0.1.2
Listing updated
today

Similar MCP servers

About Rls Check

Rls Check is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Findings arrive table by table, labelled exposed, check it, locked or safe, with an Arabic explanation aimed at non-technical founders and a link to a lesson on each fix. It never reads a row: the query inspects RLS state, policies, grants and column names only, and the server holds no connection details.

The flow is split in two. rls_check_query returns the SQL for you to run in your own Supabase SQL Editor, or for an agent to run through the official Supabase MCP, and rls_check_explain turns the result into the explanation. Personal columns are recognised by name, such as email, phone or user_id, and the README says the tool is the same analyser as the browser version on the maker's site.

It does not replace a test: after using it, sign in with two accounts and confirm each sees only its own rows. A command-line mode exits with 1 when a table is exposed, so it can run in CI, and it is also packaged as a Claude skill. MIT licensed.

Install

Run in a terminal

claude mcp add rls-check -- npx -y muhandis-rls-check

Add to claude_desktop_config.json

{
  "mcpServers": {
    "rls-check": {
      "command": "npx",
      "args": [
        "-y",
        "muhandis-rls-check"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "rls-check": {
      "command": "npx",
      "args": [
        "-y",
        "muhandis-rls-check"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "rls-check": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "muhandis-rls-check"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "rls-check": {
      "command": "npx",
      "args": [
        "-y",
        "muhandis-rls-check"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "rls-check": {
      "command": "npx",
      "args": [
        "-y",
        "muhandis-rls-check"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

rls_check_query
Returns the read-only SQL query to run in your Supabase SQL Editor.
rls_check_explain
Explains the query result table by table in Arabic.

What it does

Arabic explanations
Plain-language findings with English status labels.
Four-level verdicts
exposed, check it, locked or safe for each table.
No data access
Reads table descriptions only and needs no key or password.
CI exit code
The CLI exits with 1 if any table is exposed.
Skill version
Also available as a Claude skill with a Python analyser.

Good for

  • Audit a new Supabase project before launch
  • Explain RLS gaps to a non-technical founder in Arabic
  • Fail a CI step when a table is exposed

Pricing

Open source

MIT licence; free

Rls Check FAQ

Does it connect to my database?

No. You run the query yourself, or an agent runs it through the Supabase MCP; the server holds no connection details.

Does it read my customers' data?

No. It reads RLS state, policies, grants and column names, never rows.

What replaces a manual test?

Nothing does; the README says to sign in with two accounts and confirm each sees only its own rows.

How do I add it?

Use npx -y muhandis-rls-check mcp in your MCP client config.

Is Rls Check free?

Yes. Rls Check is open source, so you can use and self-host it for free.

How do I add Rls Check to Claude Code?

Run this command in your terminal: claude mcp add rls-check -- npx -y muhandis-rls-check

What are the best alternatives to Rls Check?

The closest alternatives to Rls Check are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers