Merge pull request 'postgres_mcp' (#2) from postgres_mcp into master
Some checks failed
Build and Push Image / Build and push image (push) Failing after 1m0s

Reviewed-on: #2
This commit is contained in:
armistace 2025-07-28 15:23:10 +10:00
commit 73f2510c04
3 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,7 @@ jobs:
run: |
echo "GITEA_TOKEN=${{ secrets.GITEAMCPTOKEN }}" > .env
echo "HOMEASSISTANT_TOKEN=${{ secrets.HOMEASSISTANTMCPTOKEN }}" >> .env
echo "POSTGRES_URI"=${{ secrets.POSTGRES_URI }}" >> .env
- name: Build and push
uses: docker/build-push-action@v5

View File

@ -9,3 +9,8 @@ mcpServers:
url: "https://homeassistant.aridgwayweb.com/mcp_server/sse"
headers:
Authorization: !ENV ${HOMEASSISTANT_TOKEN}
postgres:
command: "postgres-mcp"
args: ["--access-mode=unrestricted"]
env:
"DATABASE_URI": !ENV ${POSTGRES_URI}

View File

@ -2,3 +2,4 @@ mcpo
pyyaml
python-dotenv
pyaml_env
postgres-mcp