Connect ChatGPT to PostgreSQL, Redis and MongoDB with LordBase
Doha I. · Published · Lire en français

Connect LordBase from the ChatGPT integration directory when available to your account, sign in to LordBase and choose read-only or read-and-manage access. Start by listing workspaces and databases, then check database health or backup status. LordBase enforces token scopes and workspace roles; passwords and connection strings are omitted from MCP results.
LordBase connects ChatGPT to the management operations of your hosted PostgreSQL, Redis and MongoDB databases through MCP. The integration can inspect resources, health, metrics and backups; management permissions enable additional actions. Your ChatGPT account and workspace must allow the integration.
Connect and choose access
Find LordBase in the ChatGPT integration directory. Depending on the interface, integrations may be called apps or plugins. Choose the connection action and sign in on the LordBase consent page. Check the assistant name and return host, then select Read only to begin.
If the listing is unavailable in your account, a custom MCP connection may be supported by your workspace. The server URL is https://api.lordbase.com/e/v1/mcp/. Follow OpenAI's custom MCP instructions; this alternative depends on account and administrator permissions and is not universally available.
The LordBase sign-in issues a scoped token for 30 days. You can revoke it in LordBase Settings. A valid LordBase plan, workspace access and plan capacity are separate from the assistant's subscription.
First read-only task
Try: “List my LordBase workspaces, then list the databases in the workspace I select. Do not change anything.”
Check the selected workspace before asking: “Check the health of this PostgreSQL database and explain the fields returned by the tool.” A useful answer cites the actual tool result, not a guessed diagnosis.
What was verified
On 2 December 2026, we called the connected LordBase MCP tools in the owner's account. This was a read-only protocol check, not a test of every ChatGPT plan or interface.
| Tool | Observed result | What it establishes |
|---|---|---|
list_workspaces, then list_databases |
Accessible resources returned, including all three engines | Resource discovery worked with the connected account |
check_health |
status:healthy, connection:true, accepting_connections:true |
This database accepted the health check at that moment |
get_query_analytics |
pg_stat_statements_enabled:false |
Query collection was unavailable on that database; zero counters do not prove no traffic |
list_backups |
Latest returned backup completed and not expired; other attempts included failures | Read the job status and errors; this does not prove a successful restore |
The anonymized observation record omits resource IDs, hosts and application data. These observations are not an availability guarantee.
Permissions and troubleshooting
Read-only access can still expose application data. LordBase checks scopes, workspace roles and limits on every operation. MCP results omit passwords and connection strings; retrieve application credentials in the dashboard.
Write queries, restores and pauses are marked as potentially destructive. The client's confirmation behavior depends on its policy; metadata is not a universal approval guarantee. Read-only token scopes are the server-enforced boundary.
If discovery fails, check connection expiry, workspace membership and active LordBase plan. If a tool is denied, check its scopes instead of retrying with unrelated credentials. If query analytics is unavailable, verify the PostgreSQL prerequisites before treating zeros as measurements.
Full setup and tool scopes · Claude setup · IDE setup · Start free.
