Skip to main content
Glama
Maxim2324

MCP PostgreSQL Server

by Maxim2324

connect_db

Establish a connection to a PostgreSQL database by specifying host, user, password, and database name. Use when default connection fails or specific access is required.

Instructions

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

Input Schema

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

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Maxim2324/mcp-server-test'

If you have feedback or need assistance with the MCP directory API, please join our Discord server