No-Code
For Developer
Follow the instructions below to integrate Postgres MCP server to your AI application using our API or SDK.Prerequisites
1. Create a Postgres MCP Server
Use the following endpoint to create a new remote Postgres MCP server instance:Request
Response
serverUrl specifies the endpoint of the Postgres MCP server, which allows you to interact with PostgreSQL databases.
instanceId is used for authentication and identification of your server instance.
2. Configure Postgres Connection
To connect to your PostgreSQL database, you need to configure the MCP server with your database credentials. They are usually in the form ofpostgresql://<user>:<password>@<host>:<port>/<database_name>
.
Setting up Postgres Connection
Response
Explore MCP Server Tools
Tools Information
Tools Information
Tool Name | Description |
---|---|
query | Run a read-only SQL query against a PostgreSQL database |
For more details about tool input schema, use the list_tool API.