query_funnelRead only · 48 rowsA payment-provider incident explains 71% of the drop.
Official ChatGPT plugin
Install the official datamcp plugin, authorize with OAuth, and choose a scoped MCP link for PostgreSQL, MySQL, OpenAPI, or Agent Memory. Backend credentials stay out of ChatGPT.
query customer health · current monthI found 12 enterprise accounts with declining usage and an upcoming renewal. The top three share the same pattern: fewer active seats, no admin login in 14 days, and unresolved support tickets.
What actually happens
ChatGPT never opens a PostgreSQL connection. It calls the tools published by one MCP link, and datamcp checks that link before every operation.
datamcp discovers the schema and keeps the database credential behind the gateway.
Choose read-only, read-write, or custom table-level permissions for this app.
OAuth connects the ChatGPT app to that link, not to the entire workspace.
Approved tool calls run through datamcp and the result returns to the conversation.
Useful conversations
Each answer is grounded in the source and permissions attached to the selected MCP link.
query_funnelRead only · 48 rowsA payment-provider incident explains 71% of the drop.
query_accountsRead only · 12 rows12 accounts show declining usage and unresolved tickets.
create_taskWrite allowed · 3 recordsThree approved tasks were created through the connected API.
Install the official plugin
Create the source and permissions in datamcp first. Then install the public ChatGPT plugin, complete OAuth, and choose the MCP link it may use.
Open datamcp in ChatGPT →Use a dedicated database user with only the permissions this workflow requires.
Select the source and choose exactly what the ChatGPT plugin may read or change.
Open the public plugin listing, install it, authorize through OAuth, and select the MCP link.
Verify the useful path and confirm that the boundary blocks what it should.
The important boundary
Permissions exist at the database role and MCP-link layers. A write succeeds only when every required layer allows it.
Hosted app or direct access
Both paths can return data. Only one gives ChatGPT a reusable app boundary that can be changed or revoked independently.
Before you connect
No architecture theatre. These are the practical boundaries that matter when ChatGPT touches live data.
Yes. datamcp has a public ChatGPT plugin listing published by DataMCP LLC. Install it from the ChatGPT plugin directory, authorize your datamcp account through OAuth, and choose the scoped source and MCP link ChatGPT should use.
ChatGPT does not connect to a PostgreSQL socket directly. It connects to a remote MCP app that exposes database tools. datamcp provides that remote endpoint and handles PostgreSQL connectivity, authentication, permissions, and query execution.
No. Developer mode is the path for testing a private or unpublished MCP app. The approved datamcp plugin is installed from its public ChatGPT listing. Organization policy can still control whether apps may be installed or used.
No. ChatGPT authenticates to the datamcp endpoint through OAuth. The PostgreSQL connection string remains encrypted on datamcp and is not provided to ChatGPT or stored in the app configuration.
Yes. Use a read-only MCP link for analytics and exploration, or define a custom table-level policy. ChatGPT can only call database tools allowed by both the datamcp link and the underlying PostgreSQL role.
Only when the MCP link and workspace allow write actions. OpenAI currently describes full MCP write support as a beta feature for eligible workspaces, and ChatGPT may request confirmation before consequential actions.
Start with one link
Connect one PostgreSQL database and create one controlled remote MCP link free forever. Upgrade only when you need more sources or links.