Claude Code pg aiguide Prompt/postgres-database-migration
How to: Claude Code pg aiguide postgres-database-migration
Add pg aiguide to Claude Code
-
01
Run this in your project directory.
claude mcp add --transport http pg-aiguide https://mcp.tigerdata.com/docs
-
02
Restart your session so the server is picked up.
-
03
postgres-database-migration is surfaced as a slash command — type / and it is in the list. Unlike a tool, you invoke it deliberately — Claude Code will not call it for you.
-
04
If it does not appear, check that pg aiguide is connected and that you are looking at its prompts rather than its tools.
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs
Set these first
pg aiguide will not start until these are set, so it never reaches Claude Code.
-
OPENAI_API_KEY -
PGHOST -
PGPORT -
PGUSER -
PGPASSWORD -
PGDATABASE -
DB_SCHEMA
Same prompt, other clients
Read from the server itself, by connecting to it and calling prompts/list on 24 September 2026.
A listing does not declare its prompts, so asking is the only way to know them, and this
is what the server actually offers rather than what its listing claims. Names only are
stored; connect the server for each prompt's arguments.