Environment Variables
Transport Modes
stdio (default)
Used for direct integration with AI clients like Claude Desktop. Communication happens via standard input/output.HTTP
Exposes the MCP server over HTTP for remote or networked access:Authorization: Bearer <key> header when MCP_API_KEY is set.
Read-Only Mode for Replica Instances
Enable read-only mode by default to prevent writes to replica instances:- Replica instances: Prevent writes to read replicas in replication setups
- Production safety: Ensure critical data isn’t accidentally modified
- Reporting/analytics: Run queries for dashboards without risk of data changes
- Multi-tenant environments: Provide read-only access to certain users