Pgsandbox
未认领Agent-facing MCP for disposable Postgres experimentation databases
安装
cargo install --path . --force更多Databases服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
27 个工具中显示 27 个
文档中列出的工具 (27)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
cleanup_expired
Delete expired metadata-owned sandboxes, or dry-run the selection.
clone_database
Clone an existing source database into a new sandbox with pgdump/pgrestore, optionally installing target extensions and skipping source-only extension entries.
create_database
Create one isolated sandbox database and role, optionally installing requested extensions.
create_sandbox_from_template
Restore a template into a new tracked sandbox.
create_schema_snapshot
Store a named local schema checkpoint.
create_template_from_sandbox
Export a sandbox to a reusable local template artifact.
delete_database
Delete a metadata-owned sandbox database and role.
delete_schema_snapshot
Delete a local schema snapshot artifact.
delete_template
Delete a template dump and metadata.
describe_schema
Return relation, column, constraint, index, view, materialized view, foreign table, and extension metadata.
diff_schema_snapshot
Compare a stored snapshot with the current schema.
doctor
Return MCP-safe diagnostics and profile health.
ensure_postgres
Install missing local Postgres server binaries with a supported package manager when available, then start a managed local profile.
explain_query
Return EXPLAIN (FORMAT JSON) for one safe plannable statement.
get_connection_string
Return redacted direct/container connection variants by default, or raw credentials when explicitly requested.
list_databases
List active metadata-owned sandboxes.
list_extensions
List available extensions for a profile and installed extensions for an existing sandbox.
list_profiles
List configured profiles and discovered local Postgres versions.
list_schema_snapshots
List named schema checkpoints for a sandbox.
list_templates
List local template artifacts for a profile.
prepare_for_repo
Write secret-free repo workflow metadata to .pgsandbox/project.json.
run_repo_command
Run an explicit repo command with sandbox DB env vars.
run_sql
Run SQL against a sandbox with bounded result rows.
schema_diff
Compare a previous digest with the current schema.
schema_digest
Return a compact checksummed schema summary.
seed_database
Run an explicit seed command against a sandbox.
validate_schema_change
Capture before/after schema digests around a repo command.