Agent♥︎Age
Catalog

SafeSelect MCP

Official

by antonillos · Rust

Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.

SafeSelect MCP Server (io.github.antonillos/safeselect)

SafeSelect provides fail-closed, read-only access to PostgreSQL and MongoDB for AI agents via the Model Context Protocol (MCP). It is designed to support debugging with real database context while preventing data mutation by placing local, project-scoped policy between the agent and the database.

🛠️ Key Features

  • Fail-closed behavior
  • Read-only PostgreSQL access
  • Read-only MongoDB access
  • MCP integration for agent-to-database access

🚀 Use Cases

  • Debugging and inspecting real database context for coding agents
  • Running agents with credentials that might allow writes, without exposing write tools

⚡ Developer Benefits

  • Lets agents “look” at data for debugging
  • Keeps write capabilities from being available to the agent

⚠️ Limitations

  • Access is explicitly read-only (no mutation)

Topics

ai-agentsclimcppostgresqlrustsecuritysqlmongodbnosqlread-onlydatabase