pgbot 是一款大小为 5.9 MB 的只读 PostgreSQL 工具,面向人类与 AI 代理设计 1。作为只读工具,pgbot 永远不会写入数据库 1。它提供数据库健康、查询性能、索引与存储等分析 1。
pgbot 支持通过 Model Context Protocol (MCP) 在 stdio 上作为 AI 代理工具调用 1。该工具暴露了 inspect(完整 JSON 结果)和 unused_indexes 等确定性工具 1。pgbot 支持直连公共数据库,或在 Docker、Kubernetes 及私有服务器等私有环境中运行,确保不暴露数据库 1。此外,它支持 Supabase、Neon、RDS、PlanetScale 等托管 PostgreSQL 及公共数据库 1。
A newly introduced utility named pgbot is a 5.9 MB read-only PostgreSQL tool designed for both humans and AI agents 1. The tool provides analytics on database health, query performance, indexes, and storage 1. It operates strictly as a read-only mechanism and will never write to the database 1. Users can connect directly to public databases or run pgbot locally in private environments such as Docker, Kubernetes, and private servers to ensure the database is not exposed 1. Additionally, it supports managed PostgreSQL services like Supabase, Neon, RDS, and PlanetScale, as well as public databases 1.
pgbot can be used as a read-only tool for AI agents via the Model Context Protocol (MCP) over stdio 1. It exposes deterministic tools, including "inspect," which returns complete JSON results, and "unused_indexes" 1.
评论
还没有评论,欢迎留下第一条。