Berth
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| safety_set_modeB | Switch the safety mode. Accepts: "read-only", "write", or "admin". Returns the current mode after setting. |
| safety_get_modeA | Return the current safety mode without changing it. |
| healthA | Server health check. Returns version and status. |
| db_connectA | Connect to a database. Supported DSN formats:
Returns a connection_id used by all other tools. |
| db_queryA | Execute a SELECT query. Auto-adds LIMIT 1000 if no LIMIT clause present. |
| db_executeA | Execute INSERT/UPDATE/DELETE statements. Respects the current safety mode:
|
| db_schemaB | List tables, views, and indexes in the database. |
| db_describeB | Column details for a table: name, type, nullable, default, constraints. |
| db_relationshipsB | Foreign key relationships. Omit table to show all. |
| db_sizeC | Database and table sizes. |
| db_active_queriesC | Currently running queries (PostgreSQL only — pg_stat_activity). |
| db_explainB | Run EXPLAIN ANALYZE on a query and return the plan. |
| db_backupA | Create a database backup.
Paths are sandboxed to BERTH_BACKUP_DIR (default: cwd). |
| db_restoreA | Restore a database from a backup file. Requires admin mode and a confirmation token (destructive operation). Paths are sandboxed to BERTH_BACKUP_DIR (default: cwd). |
| generate_migrationA | Generate migration SQL by comparing two schemas. Two modes of operation: Mode 1 — Compare live database against target DDL:
Mode 2 — Compare two live databases:
Returns dialect-aware ALTER statements to migrate source -> target. Destructive operations (DROP TABLE, DROP COLUMN) are commented out for safety. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seayniclabs/berth'
If you have feedback or need assistance with the MCP directory API, please join our Discord server