Berth
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BERTH_BACKUP_DIR | No | Sandbox directory for backup and restore paths. All paths are validated to stay within this directory. | Current working directory |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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