Skip to content
MCP server

SafeSelect MCP

Read-only PostgreSQL and MongoDB access for coding agents; credentials stay out of chat

Runs locally

SafeSelect MCP is a free MCP server for databases. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.9.0
Listing updated

Similar MCP servers

Install

In Claude Desktop → Settings → Extensions

https://github.com/antonillos/safeselect/releases/download/v0.9.0/safeselect-v0.9.0-aarch64-apple-darwin.mcpb

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

Claude Desktop setup guide

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

About SafeSelect MCP

SafeSelect gives an agent enough database context to debug a problem, understand a schema or look at a query plan, without handing it write tools. It checks each request against project policy first, keeps its read-only tool surface even when the credentials allow writes, and bounds results with row limits and timeouts. Query text is hashed in audit records.

Setup starts from connections you already have: import from DBeaver exports, Docker Compose or MongoDB Compass, including SSH-backed ones. Passwords stay in macOS Keychain or environment variables. It runs locally over stdio with no network listener and needs Java 17 or newer for database commands.

The README is candid about limits: the boundary covers its own tools, not an agent's shell or other servers, so use least-privilege users and development or sanitised data. Supported clients include Codex, OpenCode, Claude Code, Cursor, Windsurf, GitHub Copilot and Gemini CLI.

What it does

Read-only tools
Write tools are not exposed.
Policy checks
Rules, row limits and timeouts per project.
Connection import
From DBeaver, Compose or Compass.
Secret handling
Passwords in Keychain or environment variables.
Local stdio
No MCP network listener.
Security tests
Suites check writes are rejected against real databases.

Good for

  • Inspect a Postgres schema while debugging
  • Check an order record without write risk
  • List MongoDB collections before reading
  • Reuse a DBeaver connection

Pricing

Free

Installed via Homebrew or release bundle; no price listed

SafeSelect MCP FAQ

Does SafeSelect MCP need Java?

Yes, Java 17 or newer.

Where are passwords stored?

macOS Keychain or environment variables.

Is SafeSelect MCP safe against all writes?

Only its own tools; an agent's shell remains outside.

Which agents install automatically?

Codex, OpenCode, Claude Code, Cursor, Windsurf, Copilot and Gemini CLI.

Is SafeSelect MCP free?

Yes. SafeSelect MCP is free to use.

What are the best alternatives to SafeSelect MCP?

The closest alternatives to SafeSelect MCP are REA, AiSOC, x64dbg-mcp-server, redamon and Treasure Map.

Where this comes from

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

How AIPoweredBot checks servers