connect_db
Establish a direct connection to a PostgreSQL database on the MCP PostgreSQL Server. Use this tool when default connections fail or when specific database access is required.
Instructions
Connect to PostgreSQL database. NOTE: Default connection exists - only use when requested or if other commands fail
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | Yes | Database name | |
host | Yes | Database host | |
password | Yes | Database password | |
port | No | Database port (default: 5432) | |
user | Yes | Database user |