MCP PostgreSQL Server

by antonorlov
Verified

connect_db

Connect to a PostgreSQL database via the MCP PostgreSQL Server, enabling AI models to interact with databases for queries, table manipulation, and schema inspection. Use only when default connection fails.

Instructions

Connect to PostgreSQL database. NOTE: Default connection exists - only use when requested or if other commands fail

Input Schema

NameRequiredDescriptionDefault
databaseYesDatabase name
hostYesDatabase host
passwordYesDatabase password
portNoDatabase port (default: 5432)
userYesDatabase user

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "Database name", "type": "string" }, "host": { "description": "Database host", "type": "string" }, "password": { "description": "Database password", "type": "string" }, "port": { "description": "Database port (default: 5432)", "type": "number" }, "user": { "description": "Database user", "type": "string" } }, "required": [ "host", "user", "password", "database" ], "type": "object" }

You must be authenticated.

Other Tools from MCP PostgreSQL Server

Related Tools

ID: 14ye5puu55