使用说明
PGMCP公司
PostgreSQL的MCP服务器。通过stdio公开工具:run_query、list_tables、describe_table、explain_query、run_migration。
构建
go build ./...
用法
export PGHOST=localhost PGUSER=postgres PGDATABASE=mydb
# refactor: handle errors
go run main.go
许可证
麻省理工学院
一个为PostgreSQL提供的服务器工具,提供查询执行、表列表、表描述、查询解释和迁移运行等功能。
PostgreSQL的MCP服务器。通过stdio公开工具:run_query、list_tables、describe_table、explain_query、run_migration。
go build ./...
export PGHOST=localhost PGUSER=postgres PGDATABASE=mydb
# refactor: handle errors
go run main.go
麻省理工学院