# capydatabase/mcp-server

Source: https://glimind.com/server/github%2Fcapydatabase%2Fmcp-server
Registry id: `github/capydatabase/mcp-server`
Status: unknown

## Tools (72)

- `acknowledge_alert`: Mark an alert as seen (idempotent).
- `claim_ephemeral_database`: Keep an ephemeral database: attach it to your organization as a normal project.
- `confirm_major_upgrade`: End the rollback window early, destroying the previous DB.
- `create_backup`: On-demand backup of the project DB.
- `create_ephemeral_database`: Create a throwaway database with no account or login.
- `create_kv_store`: Provision the project's K/V store (secret-bearing output).
- `create_preview_database`: Create a disposable preview/branch DB (empty or clone).
- `create_project`: Create a Postgres project and wait for provisioning.
- `create_restore_point`: Pin an existing backup key or a PITR timestamp before a risky change.
- `delete_preview_database`: Delete a preview and its role (destructive).
- `delete_restore_point`: Delete a restore point after the change is verified.
- `destroy_ephemeral_database`: Destroy an unclaimed ephemeral database early with its claim token.
- `disable_extension`: Disable an extension (DROP EXTENSION, no CASCADE).
- `enable_app_role`: Issue app_user, a login row-level security applies to.
- `enable_extension`: Enable an extension (CREATE EXTENSION IF NOT EXISTS).
- `execute_sql`: Run a SQL statement that changes data or schema (destructive).
- `explain_query`: The planner's plan for one statement (EXPLAIN without ANALYZE).
- `export_database`: Logical export (pg_dump custom-format archive) of the project DB.
- `extend_preview_ttl`: Extend a preview's TTL.
- `generate_types`: Generate TypeScript/Zod/Drizzle/Go/Python code from the live schema.
- `get_app_role`: Whether the project has the split-role runtime login app_user.
- `get_backup_schedule`: The scheduled backup: UTC time, active flag, retention.
- `get_connection_strings`: Pooled + direct URLs for a project (secret-bearing output).
- `get_ephemeral_database`: State, expiry and connection strings of an unclaimed ephemeral database.
- `get_export_download`: Short-lived download URL for a completed export.
- `get_index_hygiene`: Unused and redundant indexes with DROP INDEX CONCURRENTLY statements.
- `get_job`: Poll an async job until completed/failed.
- `get_kv_credentials`: K/V REST + RESP endpoints (token never returned).
- `get_kv_store`: One project's K/V store (state, capacity, eviction).
- `get_logs`: Recent database log entries with severity filter and tail cursor.
- `get_notification_preferences`: Which notification emails the organization gets and extra recipients.
- `get_observability`: Live metrics: connections, size, active/slow queries, alerts, wake latency.
- `get_preview_connection_strings`: Pooled + direct URLs for a preview (secret-bearing output).
- `get_project`: Get one project (state, plan, limits, environment, always_on).
- `get_recent_errors`: Recent ERROR/FATAL/PANIC lines grouped by SQLSTATE + message.
- `get_schema`: Complete schema document: tables, columns, keys, enums, extensions.
- `get_status_history`: Public per-region daily uptime and incidents.
- `get_table_rows`: Read rows from a table.
- `get_upgrade_status`: The major upgrade in flight and its rollback window.
- `get_usage`: Organization storage, connection and database counts against plan limits.
- `import_database`: Import an external database into the project (destructive).
- `import_preflight`: Check an external source DB before an import.
- `lint_schema`: Missing primary keys, unindexed foreign keys, duplicate/redundant/unused indexes, bloat.
- `list_alerts`: Open + recently resolved project alerts.
- `list_audit_events`: Organization audit trail, newest first.
- `list_backups`: List backups including verification state.
- `list_exports`: List a project's exports, newest first.
- `list_extensions`: List available Postgres extensions with enablement + update state.
- `list_jobs`: List a project's async jobs.
- `list_kv_stores`: K/V stores across the organization.
- `list_postgres_versions`: List Postgres majors open for new databases.
- `list_preview_databases`: List previews with state and TTL.
- `list_projects`: List your Postgres projects.
- `list_regions`: List region ids projects can be created in.
- `list_restore_points`: List named restore points plus the PITR window.
- `list_tables`: List tables and views.
- `major_upgrade_preflight`: Check whether the DB can move to a PostgreSQL major without changing anything.
- `query_sql`: Run a read-only SQL statement against the live project DB.
- `reset_preview_database`: Reset a preview back to its base state (destructive).
- `restore`: Restore a backup/restore point/PITR timestamp into a preview.
- `retry_provisioning`: Provision a project again whose provisioning failed.
- `rollback_major_upgrade`: Swap back to the previous DB, discarding writes since cutover.
- `rotate_app_role`: Replace the app_user password (destructive).
- `run_preview_sql`: Run a SQL statement against a preview database.
- `search_logs`: Search archived logs (up to 30 days) by SQLSTATE, severity and text.
- `suggest_indexes`: Index candidates from predicates queries actually ran.
- `sync_integration_env`: Push connection env vars again to a connected integration.
- `update_backup_schedule`: Change the scheduled backup; fields not passed keep values.
- `update_extension`: Update an enabled extension to the platform-provided version.
- `update_notification_preferences`: Change alert emails and recipients; fields not passed keep values.
- `update_project_settings`: Change environment and sleep policy (always_on).
- `upgrade_postgres_major`: Move the DB to a newer PostgreSQL major (destructive).

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
