# @capydb/mcp

Source: https://glimind.com/server/npm%2F-capydb%2Fmcp
Registry id: `npm/-capydb/mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "capydb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@capydb/mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add capydb-mcp -- npx -y @capydb/mcp
```

## Tools (72)

- `acknowledge_alert`: Mark an alert as seen.
- `claim_ephemeral_database`: Attach an ephemeral database to your organization.
- `confirm_major_upgrade`: End the rollback window early, destroying the previous DB.
- `create_backup`: Create an on-demand backup of the project database.
- `create_ephemeral_database`: Create a throwaway database with no account or login.
- `create_kv_store`: Provision the project's K/V store.
- `create_preview_database`: Create a disposable preview or branch database.
- `create_project`: Create a Postgres project and wait for provisioning.
- `create_restore_point`: Pin a backup key or PITR timestamp before a risky change.
- `delete_preview_database`: Delete a preview and its role.
- `delete_restore_point`: Delete a restore point after verification.
- `destroy_ephemeral_database`: Destroy an unclaimed ephemeral database early.
- `disable_extension`: Disable a Postgres extension.
- `enable_app_role`: Issue app_user login for row-level security.
- `enable_extension`: Enable a Postgres extension.
- `execute_sql`: Run a SQL statement that changes data or schema.
- `explain_query`: Get the planner's plan for a SQL statement.
- `export_database`: Export the project database as pg_dump archive.
- `extend_preview_ttl`: Extend a preview's TTL.
- `generate_types`: Generate TypeScript/Zod/Drizzle/Go/Python code from schema.
- `get_app_role`: Check if the project has the split-role app_user login.
- `get_backup_schedule`: Get the scheduled backup time, active flag, and retention.
- `get_connection_strings`: Get pooled and direct connection URLs for a project.
- `get_ephemeral_database`: Get state and connection strings of an ephemeral database.
- `get_export_download`: Get a short-lived download URL for a completed export.
- `get_index_hygiene`: Get unused and redundant indexes with DROP statements.
- `get_job`: Poll an async job until completed or failed.
- `get_kv_credentials`: Get K/V REST and RESP endpoints.
- `get_kv_store`: Get one project's K/V store state and capacity.
- `get_logs`: Get recent database log entries with severity filter.
- `get_notification_preferences`: Get which notification emails the organization receives.
- `get_observability`: Get live metrics: connections, size, queries, alerts.
- `get_preview_connection_strings`: Get pooled and direct URLs for a preview.
- `get_project`: Get one project's state, plan, limits, and settings.
- `get_recent_errors`: Get recent ERROR/FATAL/PANIC log lines grouped by SQLSTATE.
- `get_schema`: Get complete schema document of the database.
- `get_status_history`: Get public per-region daily uptime and incidents.
- `get_table_rows`: Read rows from a table.
- `get_upgrade_status`: Get the major upgrade in flight and rollback window.
- `get_usage`: Get organization storage, connection and database counts.
- `import_database`: Import an external database into the project.
- `import_preflight`: Check an external source database before import.
- `lint_schema`: Lint schema for missing keys, indexes, and bloat.
- `list_alerts`: List open and recently resolved project alerts.
- `list_audit_events`: List the organization's 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 state.
- `list_jobs`: List a project's async jobs.
- `list_kv_stores`: List 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 and the PITR window.
- `list_tables`: List tables and views in the database.
- `major_upgrade_preflight`: Check if the database can upgrade to a PostgreSQL major.
- `query_sql`: Run a read-only SQL statement against the live database.
- `reset_preview_database`: Reset a preview back to its base state.
- `restore`: Restore a backup or PITR timestamp into a preview.
- `retry_provisioning`: Retry provisioning a failed project.
- `rollback_major_upgrade`: Swap back to the previous database after upgrade.
- `rotate_app_role`: Replace the app_user password.
- `run_preview_sql`: Run a SQL statement against a preview database.
- `search_logs`: Search archived logs by SQLSTATE, severity, and text.
- `suggest_indexes`: Suggest index candidates from query predicates.
- `sync_integration_env`: Push connection env vars to a connected integration.
- `update_backup_schedule`: Change the scheduled backup settings.
- `update_extension`: Update an enabled extension to the platform version.
- `update_notification_preferences`: Change alert emails and recipients.
- `update_project_settings`: Change environment and sleep policy of a project.
- `upgrade_postgres_major`: Upgrade the database to a newer PostgreSQL major.

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