Skip to main content
Glama

Postgres MCP Server

by wesleyyeung
install_service.sh551 B
#!/usr/bin/env bash set -euo pipefail SERVICE_NAME="postgres-mcp.service" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" UNIT_SRC="${SCRIPT_DIR}/systemd/${SERVICE_NAME}" if [[ ! -f "${UNIT_SRC}" ]]; then echo "Missing unit file at ${UNIT_SRC}" >&2 exit 1 fi echo "Installing ${SERVICE_NAME} to /etc/systemd/system (requires sudo)..." sudo install -m 644 "${UNIT_SRC}" "/etc/systemd/system/${SERVICE_NAME}" sudo systemctl daemon-reload sudo systemctl enable --now "${SERVICE_NAME}" sudo systemctl status "${SERVICE_NAME}" --no-pager

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/wesleyyeung/postgres-mcp'

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