From 1a8d216ceaff0a63128a6d606b4c1162a178f705 Mon Sep 17 00:00:00 2001 From: armistace Date: Mon, 28 Jul 2025 15:12:56 +1000 Subject: [PATCH] add postgres --- mcpo_config.yaml | 5 +++++ requirements.txt | 1 + 2 files changed, 6 insertions(+) diff --git a/mcpo_config.yaml b/mcpo_config.yaml index 0f93208..424a619 100644 --- a/mcpo_config.yaml +++ b/mcpo_config.yaml @@ -9,3 +9,8 @@ mcpServers: url: "https://homeassistant.aridgwayweb.com/mcp_server/sse" headers: Authorization: !ENV ${HOMEASSISTANT_TOKEN} + postgres: + command: "uv" + args: ["run", "postgres-mcp", "--access-mode=unrestricted"] + env: + "DATABASE_URI": !ENV ${POSTGRES_URI} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index df16a19..9e6668c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ mcpo pyyaml python-dotenv pyaml_env +postgres-mcp \ No newline at end of file