Fork of zed-extensions/postgres-context-server
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zed-zippy[bot] e553e176cb
Update CI workflows to 3183c04 (#22)
This PR updates the CI workflow files from the main Zed repository
based on the commit
zed-industries/zed@3183c04515

The update includes a new version of the extension CLI which adds
validation for semantic token rules for languages

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
2026-03-25 18:55:26 +00:00
.github/workflows Update CI workflows to 3183c04 (#22) 2026-03-25 18:55:26 +00:00
configuration Switch to new version of extension API 2025-05-03 10:34:41 +02:00
src Upgrade zed-extension-api, remove windows workaround 2025-09-29 12:44:12 -07:00
.gitignore Initial commit 2024-11-08 17:20:39 -08:00
Cargo.lock Upgrade zed-extension-api, remove windows workaround 2025-09-29 12:44:12 -07:00
Cargo.toml Upgrade zed-extension-api, remove windows workaround 2025-09-29 12:44:12 -07:00
extension.toml Upgrade zed-extension-api, remove windows workaround 2025-09-29 12:44:12 -07:00
LICENSE Create LICENSE 2025-09-30 11:55:49 -04:00
README.md Update README 2024-11-21 11:23:18 -05:00

Zed Postgres Context Server

This extension provides a Model Context Server for Postgres, for use with the Zed AI assistant.

It adds a /pg-schema slash command to the Assistant Panel.

Configuration

To use the extension, you will need to point the context server at a Postgres database by setting the database_url in your Zed settings.json:

{
  "context_servers": {
    "postgres-context-server": {
      "settings": {
        "database_url": "postgresql://myuser:mypassword@localhost:5432/mydatabase"
      }
    }
  }
}

Usage

  • /pg-schema <table-name>: Retrieve the schema for the table with the given name.
  • /pg-schema all-tables: Retrieve the schemas for all tables in the database.